sensible-cinema 0.24.6 → 0.24.7

Sign up to get free protection for your applications and to get access to all the features.
data/TODO CHANGED
@@ -25,19 +25,10 @@
25
25
  VLC "insert foreign missing scene" demo, overlay section with image (mplayer?)
26
26
 
27
27
  == yes do ordered in conjunction with the above probably ==
28
- XBMC mode doesn't mind the 600 starting offset...
29
- oh wait we weren't even using it right to begin with LOL
30
28
  m4m:
31
29
  the play button, "regenerate" admin button, "click here x other arrangements of this hymn"
32
- mac court jester upconvert: without -nocache, with aggressive sync....
33
- jester at home...still laggy at end?
34
- unit tests
35
- subs: if at beginning, add extra offset...hmm...why not?
36
- release at some point...Jon? urug?
37
- after check mac coiso...
30
+ release at some point...Jon?
38
31
 
39
- consistency for flight of nav. srt? huh?
40
- consistency of others, also "DVD reported full-time versus ts time" for others...
41
32
  lightning strike from various outlets...
42
33
  try buy edit lists from all x,y,z [?] maybe ask for them for free first? ()
43
34
  http://www.familysafemovies.com
@@ -56,10 +47,25 @@
56
47
  make it load faster! this is cuh-razy! or splash screen! yes!
57
48
 
58
49
  == yes do, un-ordered currently, from the various future release options ==
50
+ research VOB
51
+ research XBMC
52
+ split into various separate windows themselves...
53
+ on mac at home: Constitution: is it 'tresor national'? if yes, submit bug report.
54
+ call out to VLC on DVDNAV_ERROR occurrence? what the... if can reproduce, submit bug report with trace et al.
55
+ consistency for flight of nav. srt? huh?
56
+ consistency of others, also "DVD reported full-time versus ts time" for others...
57
+ XBMC mode doesn't mind the 600 starting offset...
58
+ oh wait we weren't even using it right to begin with LOL
59
+ unit tests
60
+ subs: if at beginning of a line, add extra offset...hmm...why not?
61
+ release urug?
62
+ after check mac coiso...
63
+ say something if the EDL is blank :)
64
+ rename EDL's to clean-as-a-whistle too why not?
59
65
  figure out if an offset of '1's should be accomodated for...
60
66
  0.3 ...
61
67
  some upconvert specs
62
- fix released version work in mac?
68
+ fix released version downloadable and work in mac?
63
69
  distro
64
70
  facebook survey :)
65
71
  "--developer" mode
@@ -195,7 +201,6 @@
195
201
  @mplayer: that one [IQ? hitchhikers'?] fail fail fail until I used -dvd-device [?] huh?
196
202
  try to reproduce...
197
203
  @mplayer: do I need -zoom ?
198
- @smplayer: you don't capture stderr [?] ex -vf scale:1280.0
199
204
  @mplayer: http://www.infognition.com/VideoEnhancer/ can I do that through any means LOL?
200
205
  @mplayer: gl shucks on windows 7!
201
206
  can accept straight ".edl" files too, as my input (?)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.24.6
1
+ 0.24.7
@@ -164,7 +164,7 @@ module SensibleSwing
164
164
 
165
165
  def warn_if_no_upconvert_options_currently_selected
166
166
  if !LocalStorage[UpConvertEnglish]
167
- show_blocking_message_dialog "Warning: upconvert options have not been set yet--set upconvert options first and restart, if desired."
167
+ show_non_blocking_message_dialog "Warning: upconvert options have not been set yet--set upconvert options first and restart, if desired."
168
168
  end
169
169
  end
170
170
 
@@ -308,7 +308,12 @@ module SensibleSwing
308
308
  'pullup,softskip,' + upc
309
309
  else
310
310
  p 'not using any upconversion'
311
- "pullup,softskip"
311
+ # TODO not for straight mplayer [?] tangled fails mac
312
+ if OS.mac?
313
+ '' # avoid odd message try appending the scale filter <sigh> I don't *want* the scale filter with no upconversion gah.
314
+ else
315
+ "pullup,softskip"
316
+ end
312
317
  end
313
318
  end
314
319
 
@@ -544,7 +549,7 @@ module SensibleSwing
544
549
  end
545
550
 
546
551
  def choose_file_and_edl_and_create_sxs_or_play just_create_dot_edl_file_instead_of_play
547
- filename_mpg = new_existing_file_selector_and_select_file( "Pick moviefile (like moviename.mpg or VIDEO_TS/vts_01_0.vob)")
552
+ filename_mpg = new_existing_file_selector_and_select_file( "Pick moviefile (like moviename.mpg or video_ts/anything.ext)")
548
553
  edl_filename = new_existing_file_selector_and_select_file( "Pick an EDL file to use with it", EDL_DIR)
549
554
  assert_ownership_dialog
550
555
  if just_create_dot_edl_file_instead_of_play
@@ -634,11 +639,24 @@ module SensibleSwing
634
639
  }
635
640
  end
636
641
 
637
- def run_smplayer_blocking play_this, title_track_maybe_nil, extra_options, force_use_mplayer
642
+ def run_smplayer_blocking play_this, title_track_maybe_nil, extra_options, force_use_mplayer, show_subs = false
638
643
  unless File.exist?(File.expand_path(play_this))
639
644
  _dbg
640
645
  raise play_this
641
646
  end
647
+
648
+ # -framedrop is for slow CPU's
649
+ # same with -autosync to try and help it stay in sync... -mc 0.03 is to A/V correct 1s audio per 2s video
650
+ # -hardframedrop might help but hurts just too much
651
+ extra_options << " -framedrop "
652
+ # ?? extra_mplayer_commands << "-mc 0.016" ??
653
+ extra_options << " -autosync 15 "
654
+
655
+ unless show_subs
656
+ # disable subtitles
657
+ extra_options << " -alang en -nosub -noautosub -forcedsubsonly -sid 1000 "
658
+ end
659
+
642
660
  parent_parent = File.basename(File.dirname(play_this))
643
661
  force_use_mplayer ||= OS.mac?
644
662
  if parent_parent == 'VIDEO_TS'
@@ -665,28 +683,30 @@ module SensibleSwing
665
683
  extra_options << " -msglevel identify=4 " # prevent smplayer from using *forever* to look up info on DVD's 4
666
684
  end
667
685
 
668
- extra_options += " -alang en " # for those that put french first...though this doesn't help...
669
686
  extra_options += " -mouse-movements #{get_upconvert_secondary_settings} " # just in case smplayer also needs -mouse-movements... :) LODO
670
687
  extra_options += " -lavdopts threads=#{OS.cpu_count} " # just in case this helps [supposed to with h.264] # fast *crashes* doze...
671
688
  if force_use_mplayer
672
689
  show_mplayer_instructions_once
673
690
  conf_file = File.expand_path './mplayer_input_conf'
674
- File.write conf_file, "MOUSE_BTN0_DBL vo_fullscreen\nMOUSE_BTN2 vo_fullscreen\nKP_ENTER dvdnav select\n" # dvdnav doesn't work here...
691
+
692
+ File.write conf_file, "ENTER {dvdnav} dvdnav select\nMOUSE_BTN0_DBL vo_fullscreen\nMOUSE_BTN2 vo_fullscreen\nKP_ENTER dvdnav select\n" # dvdnav doesn't work here...
675
693
  extra_options += " -font #{File.expand_path('subfont.ttf')} "
676
694
  extra_options += " -volume 100 " # why start low? mplayer why oh why
695
+ extra_options += " -slang en "
677
696
  if OS.windows?
678
697
  # direct3d for windows 7 old nvidia cards' sake [yipes] and also dvdnav sake
679
698
  extra_options += " -vo direct3d "
680
- extra_options += " -slang en "
681
699
  conf_file = conf_file[2..-1] # strip off drive letter, which it doesn't seem to like no sir
682
700
  end
683
701
  extra_options += " -fs " # full screen
684
- c = "mplayer #{extra_options} -vf #{get_upconvert_vf_settings} -input conf=\"#{conf_file}\" \"#{play_this}\" "
702
+ upconv = get_upconvert_vf_settings
703
+ upconv = "-vf #{upconv}" if upconv.present?
704
+ c = "mplayer #{extra_options} #{upconv} -input conf=\"#{conf_file}\" \"#{play_this}\" "
685
705
  else
686
706
  if OS.windows?
687
707
  extra_options += " -vo direct3d " # more light nvidia...should be ok...
688
708
  end
689
- config_path = set_smplayer_opts extra_options
709
+ config_path = set_smplayer_opts extra_options, show_subs
690
710
  c = "smplayer_portable \"#{play_this}\" -fullscreen -config-path \"#{File.dirname config_path}\" "
691
711
  if !we_are_in_create_mode
692
712
  #c += " -close-at-end "
@@ -706,7 +726,6 @@ module SensibleSwing
706
726
  raise to_this if to_this =~ /"/ # unexpected, unfortunately... <smplayer bug>
707
727
  new_prefs = old_prefs.gsub(/mplayer_additional_options=.*/, "mplayer_additional_options=#{to_this}")
708
728
  new_prefs.gsub!(/autoload_sub=.*$/, "autoload_sub=#{show_subs.to_s}")
709
- upconvert_settings =
710
729
  new_prefs.gsub!(/mplayer_additional_video_filters=.*$/, "mplayer_additional_video_filters=\"#{get_upconvert_vf_settings}\"")
711
730
  new_prefs.gsub!(/priority=.*$/, "priority=3") # normal priority...scary otherwise! lodo tell smplayer...
712
731
 
@@ -871,15 +890,8 @@ module SensibleSwing
871
890
  edl_contents = MplayerEdl.convert_to_edl descriptors, add_secs_end = MplayerEndBuffer, MplayerBeginingBuffer, splits, start_add_this_to_all_ts # add a sec to mutes to accomodate for mplayer's oddness..
872
891
  File.write(EdlTempFile, edl_contents)
873
892
 
874
- # -framedrop is for slow CPU's
875
- # same with -autosync to try and help it stay in sync... -mc 0.03 is to A/V correct 1s audio per 2s video
876
- # -hardframedrop might help but hurts just too much
877
- extra_mplayer_commands << "-framedrop"
878
- # ?? extra_mplayer_commands << "-mc 0.016" ??
879
- extra_mplayer_commands << "-autosync 15"
880
-
881
893
  # prefer english, attempt to disable subtitles, pass in edl...
882
- extra_mplayer_commands << "-alang en -nosub -noautosub -forcedsubsonly -sid 1000 -edl #{File.expand_path EdlTempFile}"
894
+ extra_mplayer_commands << "-edl #{File.expand_path EdlTempFile}"
883
895
 
884
896
  run_smplayer_non_blocking drive_or_file, title_track, extra_mplayer_commands.join(' '), false
885
897
  end
@@ -1,3 +1,8 @@
1
+ == 0.24.7 ==
2
+
3
+ Tweak upconvert for when it has nothing set, and to not show subtitles.
4
+ Tooltip down down from infinity.
5
+
1
6
  == 0.24.6 ==
2
7
 
3
8
  Make it so it can load VIDEO_TS style directories, too.
@@ -65,7 +65,7 @@ module SensibleSwing
65
65
 
66
66
  end
67
67
 
68
- ToolTipManager.sharedInstance().setDismissDelay(java.lang.Integer::MAX_VALUE) # don't timeout tooltips...
68
+ ToolTipManager.sharedInstance().setDismissDelay(10000)
69
69
 
70
70
  class JFrame
71
71
  def close
@@ -384,7 +384,7 @@ module SensibleSwing
384
384
 
385
385
  it "should create an edl and pass it through to mplayer" do
386
386
  smplayer_opts = nil
387
- @subject.stub(:set_smplayer_opts) { |to_this|
387
+ @subject.stub(:set_smplayer_opts) { |to_this, show_subs|
388
388
  smplayer_opts = to_this
389
389
  }
390
390
  click_button(:@mplayer_edl).join
@@ -20,8 +20,10 @@
20
20
 
21
21
  <body>
22
22
  <html>
23
- <img src="monkey.png"/>
24
- <div style="float:left; margin-right: 50px; margin-left: 20px;"><h1>Sensible Cinema</h1></div>
23
+ <div style="float:right; margin-right: 50px; margin-left: 20px;">
24
+ <img src="source/vendor/profs.png" width=150 />
25
+
26
+ <h1>Sensible Cinema</h1></div>
25
27
  <pre>
26
28
  Welcome to the (work in progress) home page of Sensible Cinema, the free video scene skipper/muter.
27
29
  Sensible Cinema allows you watch edited movies by applying edit lists (EDL's)
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: sensible-cinema
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.24.6
5
+ version: 0.24.7
6
6
  platform: ruby
7
7
  authors:
8
8
  - Roger Pack
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-07-21 00:00:00 -06:00
13
+ date: 2011-07-22 00:00:00 -06:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency