sensible-cinema 0.34.0 → 0.35.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. data/.gitmodules +1 -1
  2. data/README.TXT +19 -20
  3. data/Rakefile +191 -195
  4. data/TODO +122 -149
  5. data/VERSION +1 -1
  6. data/bin/sensible-cinema +52 -52
  7. data/change_log_with_feature_list.txt +532 -481
  8. data/documentation/troubleshooting.txt +3 -9
  9. data/go.bat +2 -2
  10. data/go.sh +1 -0
  11. data/goc.bat +1 -1
  12. data/goc.sh +1 -0
  13. data/lib/check_installed_mac.rb +2 -10
  14. data/lib/edl_parser.rb +40 -16
  15. data/lib/gui/base.rb +85 -27
  16. data/lib/gui/create-file.rb +3 -2
  17. data/lib/gui/create.rb +118 -101
  18. data/lib/gui/dependencies.rb +110 -76
  19. data/lib/gui/normal.rb +32 -81
  20. data/lib/mplayer_edl.rb +7 -1
  21. data/lib/subtitle_profanity_finder.rb +10 -5
  22. data/notes_for_potential_developers.txt +18 -25
  23. data/spec/bad_beginning.srt +3778 -0
  24. data/spec/edl_parser.spec.rb +4 -0
  25. data/spec/notes +327 -167
  26. data/spec/youtube_edl.spec.rb +28 -0
  27. data/template_bats/RUN SENSIBLE CINEMA CLICK HERE WINDOWS.bat +2 -2
  28. data/todo.inventionzy.txt +3 -1
  29. data/vendor/mplayer_patches/how_to_doze.bat +6 -0
  30. data/vendor/mplayer_patches/port_dir/PortIndex.quick +1 -1
  31. data/vendor/mplayer_patches/port_dir/how_to +16 -9
  32. data/vendor/mplayer_patches/port_dir/multimedia/mplayer-edl/Portfile +10 -25
  33. data/vendor/mplayer_patches/port_dir/multimedia/rdp-projects/Portfile +2 -2
  34. data/vendor/mplayer_patches/{configure_from_betterlogic → port_dir_is_for_mac} +0 -0
  35. data/www/content_editor.html +9 -5
  36. data/zamples/edit_decision_lists/dvds/big_buck_bunny_dvd.txt +7 -4
  37. data/zamples/edit_decision_lists/dvds/court_jester.txt +0 -1
  38. data/zamples/edit_decision_lists/dvds/edls_being_edited/father_goose.txt +41 -0
  39. data/zamples/edit_decision_lists/dvds/edls_being_edited/harry_potter_and_the_goblet_of_fire.txt +45 -0
  40. data/zamples/edit_decision_lists/dvds/edls_being_edited/national_treasure.txt +6 -3
  41. data/zamples/edit_decision_lists/dvds/edls_being_edited/percy_jackson_lightening_thief.txt +40 -0
  42. data/zamples/edit_decision_lists/dvds/edls_being_edited/percy_jackson_lightening_thief_mute_scary.txt +23 -0
  43. data/zamples/edit_decision_lists/dvds/edls_being_edited/puss_in_boots.txt +33 -0
  44. data/zamples/edit_decision_lists/dvds/edls_being_edited/ratatouille.txt +5 -5
  45. data/zamples/edit_decision_lists/dvds/edls_being_edited/rio.txt +24 -0
  46. data/zamples/edit_decision_lists/dvds/sintel_open_source_blender_ntsc_dvd.txt +0 -1
  47. metadata +17 -15
  48. data/lib/count_down_timer_jruby_swing.rb +0 -55
  49. data/vendor/mplayer_patches/apply.bat +0 -12
  50. data/vendor/mplayer_patches/libdvdnav/2905259c3b45529b3d8dedba572b6e4f67a2d8f4.diff +0 -19
  51. data/vendor/mplayer_patches/libdvdnav/83f1c9256f500285e46f1e44bcc74ffce90159db.diff +0 -16
  52. data/vendor/mplayer_patches/libdvdnav/eb91fb74680d30322461a1b9e425918ad4e2b2df.diff +0 -21
  53. data/vendor/mplayer_patches/libdvdnav/jump_to_time.diff +0 -654
  54. data/vendor/mplayer_patches/libdvdnav/non_strict.diff +0 -13
  55. data/vendor/mplayer_patches/mplayer_edl.diff +0 -354
  56. data/vendor/mplayer_patches/updated_lib_too +0 -0
@@ -28,6 +28,8 @@ describe EdlParser do
28
28
  E.parse_string('"a" => "3"', nil).should == {"a"=>"3", "mutes"=>[], "blank_outs"=>[]}
29
29
  end
30
30
 
31
+ it "should sort 1:00:00 then 30:00 setting to the right order, though they defy ascii sorting"
32
+
31
33
  it "should get mutes and blank_outs" do
32
34
  string = <<-EOL
33
35
  "mutes" => [
@@ -262,5 +264,7 @@ describe EdlParser do
262
264
  # it should be slightly higher than 1, and slightly less than 3600
263
265
  endy.should == [[1.07655099900099900000, 2.07555199800199830000, :blank], [3596.48114640359600000000, 3597.48014740259760000000, :mute]]
264
266
  end
267
+
268
+ it "should parse out bad beginning/ending subtitle entries"
265
269
 
266
270
  end
data/spec/notes CHANGED
@@ -1,9 +1,169 @@
1
+ =c=
1
2
 
2
- explorers:
3
- apperas that despite being "right on" for two, others within were 0.09 off and 0.18 off.
3
+ last NAV packet was 3006.633301, mpeg at 3010.112549 adding difference 0.291748 adding 0.214000 to pts 3009.931641
4
+ final: 3010.145752
4
5
 
6
+ "within one frame worth" or whatever woot
5
7
 
6
- the christmas list: two deity prof's [TODO]
8
+
9
+ Seeking 10-15
10
+
11
+ last NAV packet was 9.600000, mpeg at 10.082091 adding difference 0.258597 adding 0.000000 to pts 9.868456
12
+ final: 9.868456
13
+ using mpeg ts appears larger, which if true is definitely better 10.082091 > 9.868456 - 1.0
14
+
15
+
16
+ EDL rel seek secs +4.917909 from pts:10.082091 [10.000000,15.000000]
17
+
18
+ last NAV packet was 9.600000, mpeg at 10.082091 adding difference 0.258597
19
+ jumping to 1329885
20
+ [mpeg2video @ 00d2c8e0]ignoring SEQ_START_CODE after 100
21
+ [mpeg2video @ 00d2c8e0]ignoring seq ext after 100
22
+ [mpeg2video @ 00d2c8e0]ignoring GOP_START_CODE after 100
23
+ [mpeg2video @ 00d2c8e0]ignoring pic after 100
24
+ [mpeg2video @ 00d2c8e0]Missing picture start code, guessing missing values
25
+ A: 11.1 V: 15.16 A-V: -4.098 ct: -0.100 3/ 3 ??% ??% ??,?% 0 0
26
+ last NAV packet was 14.833333, mpeg at 15.162167 new NAV packet! 14.833333 at mpeg 15.162167 adding 0.000000 to pts 14.848167
27
+ final: 14.848167
28
+
29
+
30
+ so basically MPEG went from 10.082091 -> 15.162167 which is really close.
31
+
32
+ Also NB it appears to handle skips one frame too late [?]
33
+
34
+ using mpeg ts appears larger, which if true is definitely better 9.956966 > 9.743206 - 1.0
35
+ A: 10.0 V: 10.00 A-V: -0.007 ct: -0.204 104/100 4% 0% 11.6% 0 0
36
+ last NAV packet was 9.600000, mpeg at 9.998675 adding difference 0.175181 adding 0.000000 to pts 9.784956
37
+ final: 9.784956
38
+ using mpeg ts appears larger, which if true is definitely better 9.998675 > 9.784956 - 1.0
39
+ A: 10.0 V: 10.04 A-V: -0.009 ct: -0.205 105/101 4% 0% 11.8% 0 0
40
+ last NAV packet was 9.600000, mpeg at 10.040383 adding difference 0.216889 adding 0.000000 to pts 9.826706
41
+ final: 9.826706
42
+ using mpeg ts appears larger, which if true is definitely better 10.040383 > 9.826706 - 1.0
43
+ A: 10.1 V: 10.08 A-V: -0.011 ct: -0.206 106/102 3% 0% 12.3% 0 0
44
+ last NAV packet was 9.600000, mpeg at 10.082091 adding difference 0.258597 adding 0.000000 to pts 9.868456
45
+ final: 9.868456
46
+ using mpeg ts appears larger, which if true is definitely better 10.082091 > 9.868456 - 1.0
47
+
48
+
49
+
50
+ = Sintel should match up =
51
+
52
+ "dvd_nav_packet_offset" => [0.5, 0.734067],
53
+ "dvd_start_offset" => 0.37,
54
+
55
+ I don't actually match up, 3.5 to 3.8, *because* my current goal is apparently to psycho-match the
56
+ internal MPEG timestamp. Yikes. And it does. Dang :P
57
+
58
+ = for ref =
59
+
60
+ big DVD list: http://www.hometheaterinfo.com/dvdlist.htm
61
+
62
+ = not jumping from right time DVD =
63
+
64
+ == turtles ==
65
+
66
+ VLC seems to fail seeking on it, too. Hmm...
67
+
68
+ =c= to 15.1, from second 13:
69
+
70
+ last NAV packet was 12.833333, mpeg at 13.201875 after -> 29.97 12.846167
71
+ adding difference 0.166841
72
+
73
+ EDL rel seek secs 2.086993 13.013007 [13.000000,15.100000]
74
+
75
+ 11.5 15.2 0 still fails, new mplayer
76
+
77
+ the "old old way" did jump ok, but to second 30 (and they probably had other probs :P)
78
+
79
+ = seeking with new dvdnav =
80
+
81
+ works fine jonah [forward too far?]
82
+ like a full second too far. This is not very precise too...
83
+
84
+ sintel works ok
85
+
86
+ big buck:
87
+ jump 9.5 to 15 goes to 15.68 or so...
88
+ about a second "ahead" at 9 minutes, as well.
89
+ so works ok
90
+
91
+ everything from 15.{0-9} all went forward just right.
92
+
93
+ =c= eureka! fails at second 10
94
+ at 1:10, seeking to 3615
95
+ new NAV packet! 3615.345215
96
+ at 30:00
97
+ new NAV packet! 1805.270142 so within 0.4 ...
98
+ to 15:
99
+ 14.833333
100
+ to 14.5:
101
+ 14.833333
102
+ to 14.3:
103
+ 14.400000 (there is 14.83)
104
+ to 15.6:
105
+ 15.600000
106
+
107
+ 15.0: 14.83
108
+ 15.1: 14.833333
109
+ 15.2: 15.6
110
+ 15.3: 15.6
111
+ 15.4: 15.6
112
+ 15.5: 15.6
113
+ 15.6: 15.6
114
+ 15.7: 15.6
115
+ 15.8: 15.6 but worked
116
+ 16.3: 16.4
117
+
118
+ it has 13.6,14.4,14.83,15.6,16.4,16.83
119
+
120
+
121
+ to 15.7 has to jump twice:
122
+
123
+ A: 13.2 V: 13.20 A-V: -0.002 ct: -0.212 33/ 33 2% 24% 18.7% 0 0
124
+ last NAV packet was 12.833333, mpeg at 13.201875 after -> 29.97 12.846167
125
+ adding difference 0.166841
126
+
127
+ EDL rel seek secs 2.686993 13.013007 [13.000000,15.700000]
128
+
129
+ jumping to 1396829
130
+ DVDNAV_TITLE_IS_MOVIE
131
+ [mpeg2video @ 00c3fa80]ignoring SEQ_START_CODE after 100
132
+ [mpeg2video @ 00c3fa80]ignoring seq ext after 100
133
+ [mpeg2video @ 00c3fa80]ignoring GOP_START_CODE after 100
134
+ [mpeg2video @ 00c3fa80]ignoring pic after 100
135
+ [mpeg2video @ 00c3fa80]Missing picture start code, guessing missing values
136
+ weird fella suddenly we're not a DVD? mpeg at 0.041708 adding 0.214000 to 0.041708
137
+ final: 0.255708
138
+
139
+ last NAV packet was 15.600000, mpeg at 0.083417 after -> 29.97 15.615601
140
+ new NAV packet! 15.615601 [adjusted] at 0.083417 adding 0.214000 to 15.615601
141
+ final: 15.829600
142
+
143
+ last NAV packet was 15.600000, mpeg at 0.125125 after -> 29.97 15.615601
144
+ adding difference 0.041708 adding 0.214000 to 15.657309
145
+ final: 15.871308
146
+
147
+ last NAV packet was 15.600000, mpeg at 15.962967 after -> 29.97 15.615601
148
+ not adding odd diff1? 15.879550adding 0.214000 to 15.615601
149
+ final: 15.829600
150
+ A: 14.0 V: 15.96 A-V: -1.986 ct: -0.100 3/ 3 ??% ??% ??,?% 0 0
151
+ last NAV packet was 15.600000, mpeg at 15.962967 after -> 29.97 15.615601
152
+ not adding odd diff1? 0.000000
153
+
154
+ EDL rel seek secs 0.084399 15.615601 [13.000000,15.700000]
155
+
156
+
157
+ = =
158
+
159
+ = explorers subs =
160
+ apperas that despite being "right on" for two, others within were 0.09 off and 0.18 off. Hmm.
161
+ I think I got some closure on this though...
162
+
163
+ the christmas list: two deity prof's [TODO EDL]
164
+
165
+ = court jester =
166
+ #-> 1:41:11.465, ts 01:41:10.94, mkv 01:41:13.01
7
167
 
8
168
  = hp 2 weird start =
9
169
 
@@ -47,8 +207,8 @@ adding difference 0.212328 adding 0.000000 to 0.212328
47
207
  final: 0.212328
48
208
 
49
209
  = ratatouille weird start, timing=
50
-
51
- "1:26:15.57" , "1:26:18.87", "profanity", "bloo..", "and no one else seems to have it in this [bloo..] town,",
210
+
211
+ "1:26:15.57" , "1:26:18.87", "profanity", "bloo..", "and no one else seems to have it in this [bloo..] town,",
52
212
 
53
213
 
54
214
  # srt:
@@ -83,14 +243,14 @@ final: 0.212328
83
243
 
84
244
  # except now the right code is 1:13:37.30'ish for that LOL 37.29 with and without volume
85
245
  # which aligns with the end perfectly LOL 1:42:31,10 !
86
-
87
- with a second and 3rd srt, which almost exactly matches the first...and is wrong...LOL. Maybe...this DVD is too screwed up to have reliable time signatures after a point?
88
- try with ending timestamps [fails even worse?]
89
-
90
- try writing a synchronized fella, see where it failz
91
-
92
-
93
- 1:42:25.55
246
+
247
+ with a second and 3rd srt, which almost exactly matches the first...and is wrong...LOL. Maybe...this DVD is too screwed up to have reliable time signatures after a point?
248
+ try with ending timestamps [fails even worse?]
249
+
250
+ try writing a synchronized fella, see where it failz
251
+
252
+
253
+ 1:42:25.55
94
254
 
95
255
  last NAV packet was 0.000000, mpeg at 0.000000 after -> 29.97 0.000000
96
256
  not adding odd diff1? 0.000000adding 0.000000 to 0.000000
@@ -173,7 +333,7 @@ last NAV packet was 0.400000, mpeg at 0.347367 after -> 29.97 0.400400
173
333
  adding difference 0.280633 adding 0.000000 to 0.681033
174
334
  final: 0.681033
175
335
 
176
-
336
+
177
337
  zoomplayer max
178
338
  env ALLUSERSPROFILE apparently [?]
179
339
 
@@ -215,52 +375,52 @@ adding difference 0.376465 adding 0.213686 to 6728.564941
215
375
  final: 6728.778809
216
376
 
217
377
  0.035645
218
-
219
- ==prince of egypt==
220
-
221
- mpeg at 0.681033 after -> 29.97 0.400400
222
- new NAV packet! 0.400400 [adjusted] at 0.681033 adding 0.281033 to 0.400400
223
- final: 0.681433
224
-
225
- mpeg at 1.081433 after -> 29.97 0.800800
226
- new NAV packet! 0.800800 [adjusted] at 1.081433 adding 0.281033 to 0.800800
227
- final: 1.081833
228
-
229
- still 0.0004
230
-
231
- 2.233333, mpeg at 2.516194 after -> 29.97 2.235567
232
- new NAV packet! 2.235567 [adjusted] at 2.516194 adding 0.281033 to 2.235567
233
- final: 2.516600
234
-
235
- 0.0006
236
-
237
- all monotonic
238
- 3.000000, mpeg at 3.266944 after -> 29.97 3.003000
239
- new NAV packet! 3.003000 [adjusted] at 3.266944 adding 0.281033 to 3.003000
240
- final: 3.284033
241
-
242
- 0.017
243
-
244
-
245
- was 5.000000, mpeg at 5.268946 after -> 29.97 5.005000
246
- new NAV packet! 5.005000 [adjusted] at 5.268946 adding 0.281033 to 5.005000
247
- final: 5.286033
248
-
249
- 0.017 off [?]
250
-
251
- mpeg at 6.937278 after -> 29.97 6.506500
252
- adding difference 0.166832 adding 0.281033 to 6.673332
253
- final: 6.954365
254
-
255
- mpeg at 13.777442 after -> 29.97 13.513500
256
- new NAV packet! 13.513500 [adjusted] at 13.777442 adding 0.281033 to 13.513500
257
- final: 13.794533
258
-
259
- mpeg at 1819.873779 after -> 29.97 1819.484253
260
- adding difference 0.125244 adding 0.281033 to 1819.609497
261
- final: 1819.890503
262
-
263
- still 0.017 off ...
378
+
379
+ ==prince of egypt==
380
+
381
+ mpeg at 0.681033 after -> 29.97 0.400400
382
+ new NAV packet! 0.400400 [adjusted] at 0.681033 adding 0.281033 to 0.400400
383
+ final: 0.681433
384
+
385
+ mpeg at 1.081433 after -> 29.97 0.800800
386
+ new NAV packet! 0.800800 [adjusted] at 1.081433 adding 0.281033 to 0.800800
387
+ final: 1.081833
388
+
389
+ still 0.0004
390
+
391
+ 2.233333, mpeg at 2.516194 after -> 29.97 2.235567
392
+ new NAV packet! 2.235567 [adjusted] at 2.516194 adding 0.281033 to 2.235567
393
+ final: 2.516600
394
+
395
+ 0.0006
396
+
397
+ all monotonic
398
+ 3.000000, mpeg at 3.266944 after -> 29.97 3.003000
399
+ new NAV packet! 3.003000 [adjusted] at 3.266944 adding 0.281033 to 3.003000
400
+ final: 3.284033
401
+
402
+ 0.017
403
+
404
+
405
+ was 5.000000, mpeg at 5.268946 after -> 29.97 5.005000
406
+ new NAV packet! 5.005000 [adjusted] at 5.268946 adding 0.281033 to 5.005000
407
+ final: 5.286033
408
+
409
+ 0.017 off [?]
410
+
411
+ mpeg at 6.937278 after -> 29.97 6.506500
412
+ adding difference 0.166832 adding 0.281033 to 6.673332
413
+ final: 6.954365
414
+
415
+ mpeg at 13.777442 after -> 29.97 13.513500
416
+ new NAV packet! 13.513500 [adjusted] at 13.777442 adding 0.281033 to 13.513500
417
+ final: 13.794533
418
+
419
+ mpeg at 1819.873779 after -> 29.97 1819.484253
420
+ adding difference 0.125244 adding 0.281033 to 1819.609497
421
+ final: 1819.890503
422
+
423
+ still 0.017 off ...
264
424
 
265
425
  50:
266
426
  mpeg at 3020.189209 after -> 29.97 3019.616699
@@ -271,20 +431,20 @@ LOL
271
431
  0.000
272
432
 
273
433
  near end:
274
-
275
- mpeg at 4244.576660 after -> 29.97 4244.172852
276
- adding difference 0.124512 adding 0.281033 to 4244.297363
277
- final: 4244.578613
278
-
279
- 0.002 ok now I am weirded out...
280
-
281
- packet was 5622.200195, mpeg at 5628.225586 after -> 29.97 5627.822266
282
- adding difference 0.124512 adding 0.281033 to 5627.946777
283
- final: 5628.228027
284
-
285
- 0.003
286
-
287
- can't complain about this stuff uh guess...umm...uh...hmm...
434
+
435
+ mpeg at 4244.576660 after -> 29.97 4244.172852
436
+ adding difference 0.124512 adding 0.281033 to 4244.297363
437
+ final: 4244.578613
438
+
439
+ 0.002 ok now I am weirded out...
440
+
441
+ packet was 5622.200195, mpeg at 5628.225586 after -> 29.97 5627.822266
442
+ adding difference 0.124512 adding 0.281033 to 5627.946777
443
+ final: 5628.228027
444
+
445
+ 0.003
446
+
447
+ can't complain about this stuff uh guess...umm...uh...hmm...
288
448
  integer arithmetic is losing some precision perhaps? seems all right tho...
289
449
 
290
450
 
@@ -441,7 +601,7 @@ the reality is her hair looks "good but out of focus" with 2x as well.
441
601
 
442
602
  I must concede LOL
443
603
 
444
- does -sws 9 make a difference without any "real" upscaling...it seems to not do...
604
+ does -sws 9 make a difference without any "real" upscaling...it seems to not do...
445
605
 
446
606
  ===emperor's new groove: ===
447
607
  pauses in mplayer, seems...great in vlc...didn't check vlc logs though.
@@ -474,29 +634,29 @@ veggie tales where's g: fails css, fine vlc
474
634
  vlc paused a tidge at the beginnning
475
635
 
476
636
  = xbmc timings =
477
-
478
- xbmc seems to use "straight" dvdnav time.
479
-
480
- ====
481
- 1.0rc4 seeks fine dvd://, fails dvdnav:// apparently
482
- trunk seeks fine dvdnav://
483
- MPlayerX 1.0.9's mplayer seeks fine dvdnav://
484
- mplayer.here seeks fine dvdnav:// (with 1.0rc4 installed)
485
-
637
+
638
+ xbmc seems to use "straight" dvdnav time.
639
+
640
+ ====
641
+ 1.0rc4 seeks fine dvd://, fails dvdnav:// apparently
642
+ trunk seeks fine dvdnav://
643
+ MPlayerX 1.0.9's mplayer seeks fine dvdnav://
644
+ mplayer.here seeks fine dvdnav:// (with 1.0rc4 installed)
645
+
486
646
  theirs loops with their vendored libdvdnav
487
647
  theirs works with real DVD paths LOL ignore that then
488
648
 
489
649
  To increase the maximum volume to 400%, use softvol=yes and softvol-max=400
490
650
  @smplayer: use the right time sig!
491
-
492
- OS X Extended possibly lacks the lib, though it "has" dvdnav apparently, seems too useless
493
-
494
- mplayer 1.0rc4 suddenly cannot seek
495
- dvd:// does tho
496
-
497
- mplayer.here still can tho
498
-
499
- mplayer-devel old can seek fine dvd://
651
+
652
+ OS X Extended possibly lacks the lib, though it "has" dvdnav apparently, seems too useless
653
+
654
+ mplayer 1.0rc4 suddenly cannot seek
655
+ dvd:// does tho
656
+
657
+ mplayer.here still can tho
658
+
659
+ mplayer-devel old can seek fine dvd://
500
660
 
501
661
  = dvdnav arrow keys =
502
662
 
@@ -519,21 +679,21 @@ http://lists.mplayerhq.hu/pipermail/mplayer-users/2010-June/080476.html
519
679
  SVN-r34269-4.5.2 linux works
520
680
 
521
681
  = macports mpkg extraneous =
522
-
523
- perl seems to be the only extra...
524
- #depends_fetch-append bin:git:git-core
525
-
526
- gettext might come from subversion, as well fetch.type svn, pkgconfig
527
-
528
- cannot have multiple mpkg's easily
529
-
682
+
683
+ perl seems to be the only extra...
684
+ #depends_fetch-append bin:git:git-core
685
+
686
+ gettext might come from subversion, as well fetch.type svn, pkgconfig
687
+
688
+ cannot have multiple mpkg's easily
689
+
530
690
  = NAV to MPEG =
531
691
 
532
692
  negative NAV offset: mpeg - "0.21" - nav_converted
533
-
534
- NAV packets must be "messed up" for the 0.0s versus 0.4s, relative to
535
- the start of the MPEG, but if they'are always about 0.2 (they're not though... but typically quite close...hmm...)
536
- I guess the problem is I don't have the 0.28 time for all EDL's?
693
+
694
+ NAV packets must be "messed up" for the 0.0s versus 0.4s, relative to
695
+ the start of the MPEG, but if they'are always about 0.2 (they're not though... but typically quite close...hmm...)
696
+ I guess the problem is I don't have the 0.28 time for all EDL's?
537
697
 
538
698
  tangled:
539
699
  "dvd_start_offset" => "0.21", # for title 1
@@ -595,23 +755,23 @@ NAV packets must be "messed up" for the 0.0s versus 0.4s, relative to
595
755
  => -0.09959999999955471
596
756
  creeping? but that's after like 2 hours...hmm...
597
757
 
598
- prince o' egypt: 0.68-0.35-0.4
599
- => -0.07
758
+ prince o' egypt: 0.68-0.35-0.4
759
+ => -0.07
600
760
  = dying/crashing dvdnav =
601
-
761
+
602
762
  linux VLC:
603
763
  libdvdnav: Invalid angle block
604
764
  linux mplayer pristine, no libdvd:
605
765
  libdvdnav: Invalid angle block
606
766
  linux 34118:
607
767
  libdvdnav: Invalid angle block
608
-
768
+
609
769
  tangled loops VLC blackey
610
770
  tangled loops VLC work desktop
611
771
 
612
772
  all disney say "no VTS" (only from within virtualbox?).
613
773
  works fine VLC mac [with nav] doesn't loop at all [?]
614
-
774
+
615
775
  mplayer blackey:
616
776
  Assertion failed: (vm->state).pgc->cell_playback[(vm->state).cellN - 1].block_mode != 0, file libdvdnav/vm/vm.c, line 1134
617
777
  This application has requested the Runtime to terminate it in an unusual way.
@@ -621,16 +781,16 @@ MPlayer interrupted by signal 22 in module: decode_audio
621
781
  dies new lappy same spot, same DVD, but clean :P
622
782
 
623
783
  dies with mplayer Sherpya-SVN-r30369-4.2.5m libdvdnav: Using dvdnav version MPlayer-custom same way
624
-
625
- mac:
626
- libdvdnav: Invalid angle block mplayer.here UNKNOWN-4.2.1 libdvdnav: Using dvdnav version MPlayer-custom
627
- same with MPlayer SVN-r34269-4.2.1 (C) 2000-2011 MPlayer Team
628
- didn't include the latest dvdnav patches though...though mplayer_edl does :P
784
+
785
+ mac:
786
+ libdvdnav: Invalid angle block mplayer.here UNKNOWN-4.2.1 libdvdnav: Using dvdnav version MPlayer-custom
787
+ same with MPlayer SVN-r34269-4.2.1 (C) 2000-2011 MPlayer Team
788
+ didn't include the latest dvdnav patches though...though mplayer_edl does :P
629
789
 
630
790
  report different DVD: http://lists.mplayerhq.hu/pipermail/mplayer-users/2008-December/075458.html
631
791
  https://trac.handbrake.fr/ticket/125
632
792
  https://forum.handbrake.fr/viewtopic.php?f=11&t=14189
633
-
793
+
634
794
  = VLC patch =
635
795
 
636
796
  dvdnav:// actually has "times" that match its "seek tos"
@@ -678,13 +838,13 @@ get length 1718232704
678
838
 
679
839
  3M for 2seconds, end of sounds
680
840
 
681
-
682
- VLC has the right timestamps now, appears.
841
+
842
+ VLC has the right timestamps now, appears.
683
843
  guess it's actually consistent (but with wrong times) currently.
684
844
  some of them are way off though, right? But at least it always goes forward...
685
845
  LODO find more that are off in VLC...
686
846
  seems mostly consistent, so hold off I suppose :P
687
-
847
+
688
848
  = ffplay no white's =
689
849
 
690
850
  241,241 with VLC displaying mostly-white.bmp
@@ -1248,10 +1408,10 @@ mpeg stream seems to...lag behind DVDNAV seeks by a bit...at least one old frame
1248
1408
 
1249
1409
  stream_pts is "supposed" to be always from dvdnav_get_current_time
1250
1410
  which can't be anything but a NAV packet can it? Maybe I was messing the numbers up...
1251
-
1252
- case STREAM_CTRL_GET_CURRENT_TIME:
1253
- {
1254
- double tm;
1411
+
1412
+ case STREAM_CTRL_GET_CURRENT_TIME:
1413
+ {
1414
+ double tm;
1255
1415
  tm = dvdnav_get_current_time(priv->dvdnav)/90000.0f;
1256
1416
 
1257
1417
  last NAV packet was 35.500000, mpeg at 0.133467 after -> 29.97 35.535500
@@ -1345,7 +1505,7 @@ wow that is bad LOL (and explains it too)
1345
1505
  maybe seek_rel is saving me, and seeking +5 within the DVD's sphere?
1346
1506
 
1347
1507
  accurate "edl seek to" clue:
1348
- libmpdemux\demux_mpg.c static void demux_seek_mpg(demuxer_t *demuxer, float rel_seek_secs,
1508
+ libmpdemux\demux_mpg.c static void demux_seek_mpg(demuxer_t *demuxer, float rel_seek_secs,
1349
1509
  float audio_delay, int flags)
1350
1510
 
1351
1511
 
@@ -1420,13 +1580,13 @@ A:4506.3 V:4506.28 A-V: -0.009 ct: 0.092 6/ 6 ??% ??% ??,?% 1 0
1420
1580
  the other is *right* on with the OSD. like perfeito :P
1421
1581
 
1422
1582
 
1423
- I guess I'd need to add "accurate where you are" to dvdnav, before being able to add "super accurate seek"...
1424
-
1425
- "we're here, right where you paid me to bring you" is after cut
1426
- VLC "normal" OS X skipped a tidge
1427
- mplayer with cache did, and with nocache too, it seems like it has to flit through video to catch up with audio or some odd.
1583
+ I guess I'd need to add "accurate where you are" to dvdnav, before being able to add "super accurate seek"...
1428
1584
 
1429
- mpctx->time_frame += frame_time / playback_speed; // for nosound maybe esplain that weirdness. Very weird, as in whoa!
1585
+ "we're here, right where you paid me to bring you" is after cut
1586
+ VLC "normal" OS X skipped a tidge
1587
+ mplayer with cache did, and with nocache too, it seems like it has to flit through video to catch up with audio or some odd.
1588
+
1589
+ mpctx->time_frame += frame_time / playback_speed; // for nosound maybe esplain that weirdness. Very weird, as in whoa!
1430
1590
  A: 2.6 V: 2.32 A-V: 0.237 ct: 0.084 64/ 64 19% 81% 4.9% 56 0
1431
1591
  updating edl...
1432
1592
  A: 2.6 V: 2.35 A-V: 0.225 ct: 0.084 65/ 65 19% 80% 4.8% 56 0
@@ -1436,8 +1596,8 @@ updating edl...
1436
1596
 
1437
1597
  it seems to update the EDL with each and every frame...possibly just every video frame, but that's prolly ok :P
1438
1598
 
1439
- conc: only .0005 off per 0.5seconds, so...straight add could be reasonable...yes!
1440
- and more upstreamable :P
1599
+ conc: only .0005 off per 0.5seconds, so...straight add could be reasonable...yes!
1600
+ and more upstreamable :P
1441
1601
 
1442
1602
  == OSOH highlight ==
1443
1603
 
@@ -1594,19 +1754,19 @@ I'm guessing mplayer "relative seeks" are totally bworked
1594
1754
  but they're not! they seek to past the break...but that's an absolute seek :P
1595
1755
  so they must be using NAV packets'ish for seeking, so relative seeks on long DVD's are probably bworked
1596
1756
 
1597
-
1598
- * DVDNAV_NAV_PACKET
1599
- *
1600
- * NAV packets are useful for various purposes. They define the button
1601
- * highlight areas and VM commands of DVD menus, so they should in any
1602
- * case be sent to the SPU decoder/overlaying engine for the menus to work.
1603
- * NAV packets also provide a way to detect PTS discontinuities, because
1604
- * they carry the start and end PTS values for the current VOBU.
1605
- * (pci.vobu_s_ptm and pci.vobu_e_ptm) Whenever the start PTS of the
1606
- * current NAV does not match the end PTS of the previous NAV, a PTS
1607
- * discontinuity has occured.
1608
- * NAV packets can also be used for time display, because they are
1609
- * timestamped relatively to the current Cell.
1757
+
1758
+ * DVDNAV_NAV_PACKET
1759
+ *
1760
+ * NAV packets are useful for various purposes. They define the button
1761
+ * highlight areas and VM commands of DVD menus, so they should in any
1762
+ * case be sent to the SPU decoder/overlaying engine for the menus to work.
1763
+ * NAV packets also provide a way to detect PTS discontinuities, because
1764
+ * they carry the start and end PTS values for the current VOBU.
1765
+ * (pci.vobu_s_ptm and pci.vobu_e_ptm) Whenever the start PTS of the
1766
+ * current NAV does not match the end PTS of the previous NAV, a PTS
1767
+ * discontinuity has occured.
1768
+ * NAV packets can also be used for time display, because they are
1769
+ * timestamped relatively to the current Cell.
1610
1770
 
1611
1771
  Fascinating. I guess the "PTS values" are the mpeg PTS values themselves...fascinating.
1612
1772
  this seems to imply that XBMC's extra additions aren't necessary though, since they already use the NAV packets...hmm...
@@ -1785,7 +1945,7 @@ updated gcc with yasm, TRUNK:
1785
1945
  though maybe they might could still with a patch to mingw, or updated svn mplayer might could...
1786
1946
 
1787
1947
  mplayer_34118_my_gcc_old_sherpya_diffs_some_patches mplayer_34118_sherpya_patches_my_gcc
1788
- A:3498.9 V:3498.9 A-V: -0.017 ct: 2.580 5564/5564 89% 77% 336.9% 71 0
1948
+ A:3498.9 V:3498.9 A-V: -0.017 ct: 2.580 5564/5564 89% 77% 336.9% 71 0
1789
1949
  maybe a winner...hmm...
1790
1950
  alloc-win maybe...
1791
1951
 
@@ -1897,7 +2057,7 @@ mine 34118 eternal loops, and has the freakiness LOL
1897
2057
  A: 0.9 V:3223.7 A-V:-3222.728 ct: 2.289 14/ 14 36329% 33029% 123406.7% 317
1898
2058
 
1899
2059
  demux_mpg: 30000/1001fps NTSC content detected, switching framerate.
1900
- A: 1.3 V: 0.5 A-V: 0.720 ct: 2.314 22/ 22 23694% 21542% 80484.4% 3177 0
2060
+ A: 1.3 V: 0.5 A-V: 0.720 ct: 2.314 22/ 22 23694% 21542% 80484.4% 3177 0
1901
2061
 
1902
2062
  demux_mpg: 24000/1001fps progressive NTSC content detected, switching framerate.
1903
2063
  A: 2.2 V: 1.5 A-V: 0.696 ct: 2.409 53/ 50 11451% 10411% 38892.0% 3177 0
@@ -1911,13 +2071,13 @@ shoot.
1911
2071
  mplayer_me -nocache dvdnav://1
1912
2072
 
1913
2073
  osd_level 1 osd_fractions 0
1914
- A:3223.0 V:3222.99 A-V: 0.009 ct: 8.135 11233/11233 100% 3% 438.7% 532 0
2074
+ A:3223.0 V:3222.99 A-V: 0.009 ct: 8.135 11233/11233 100% 3% 438.7% 532 0
1915
2075
  osd_level 1 osd_fractions 0
1916
- A:3223.0 V:3223.03 A-V: -0.012 ct: 8.134 11234/11234 100% 3% 438.7% 532 0
2076
+ A:3223.0 V:3223.03 A-V: -0.012 ct: 8.134 11234/11234 100% 3% 438.7% 532 0
1917
2077
  osd_level 1 osd_fractions 0
1918
- A:3223.0 V:3223.08 A-V: -0.043 ct: 8.130 11235/11235 100% 3% 438.7% 532 0
2078
+ A:3223.0 V:3223.08 A-V: -0.043 ct: 8.130 11235/11235 100% 3% 438.7% 532 0
1919
2079
  osd_level 1 osd_fractions 0
1920
- A:3223.4 V: 0.00 A-V:3223.363 ct: 8.130 0/ 0 ??% ??% ??,?% 532 0
2080
+ A:3223.4 V: 0.00 A-V:3223.363 ct: 8.130 0/ 0 ??% ??% ??,?% 532 0
1921
2081
  off, looping.
1922
2082
  Ok I am so confused now LOL.
1923
2083
 
@@ -1930,11 +2090,11 @@ pristine loops, too (gcc 4.5.1)
1930
2090
  next one:
1931
2091
 
1932
2092
  osd_level 1 osd_fractions 0
1933
- A:3223.1 V:3223.08 A-V: -0.021 ct: 14.090 11235/11235 165% 3% 717.6% 546 0
2093
+ A:3223.1 V:3223.08 A-V: -0.021 ct: 14.090 11235/11235 165% 3% 717.6% 546 0
1934
2094
  osd_level 1 osd_fractions 0
1935
- A:3223.4 V: 0.00 A-V:3223.363 ct: 14.090 0/ 0 ??% ??% ??,?% 546 0
2095
+ A:3223.4 V: 0.00 A-V:3223.363 ct: 14.090 0/ 0 ??% ??% ??,?% 546 0
1936
2096
  osd_level 1 osd_fractions 0
1937
- A: 0.4 V: 0.04 A-V: 0.356 ct: 14.099 1/ 1 ??% ??% ??,?% 546 0
2097
+ A: 0.4 V: 0.04 A-V: 0.356 ct: 14.099 1/ 1 ??% ??% ??,?% 546 0
1938
2098
  maybe it's really restarting for some reason? and that's causing the looping?
1939
2099
 
1940
2100
 
@@ -1948,24 +2108,24 @@ mplayer -volume 0 -nocache dvdnav://1 2>&1 >me_c_volume0_nocache_dvdnav_full.txt
1948
2108
  weird restarting?
1949
2109
 
1950
2110
  osd_level 1 osd_fractions 0
1951
- A:3223.0 V:3223.03 A-V: 0.010 ct: 2.258 11234/11234 34% 2% 150.4% 659 0
2111
+ A:3223.0 V:3223.03 A-V: 0.010 ct: 2.258 11234/11234 34% 2% 150.4% 659 0
1952
2112
  osd_level 1 osd_fractions 0
1953
- A:3223.4 V: 0.00 A-V:3223.363 ct: 2.258 0/ 0 ??% ??% ??,?% 659 0
2113
+ A:3223.4 V: 0.00 A-V:3223.363 ct: 2.258 0/ 0 ??% ??% ??,?% 659 0
1954
2114
  osd_level 1 osd_fractions 0
1955
- A: 0.4 V: 0.04 A-V: 0.356 ct: 2.266 1/ 1 ??% ??% ??,?% 659 0
2115
+ A: 0.4 V: 0.04 A-V: 0.356 ct: 2.266 1/ 1 ??% ??% ??,?% 659 0
1956
2116
  osd_level 1 osd_fractions 0
1957
2117
 
1958
2118
 
1959
2119
  >mplayer -volume 0 -nocache dvdnav://1 -vo null 2>&1 >me_c_dvdnav_full_vo_null.txt
1960
2120
 
1961
2121
  osd_level 1 osd_fractions 0
1962
- A:3223.0 V:3222.99 A-V: 0.009 ct: 2.210 11233/11233 34% 0% 148.6% 68 0
2122
+ A:3223.0 V:3222.99 A-V: 0.009 ct: 2.210 11233/11233 34% 0% 148.6% 68 0
1963
2123
  osd_level 1 osd_fractions 0
1964
- A:3223.0 V:3223.03 A-V: 0.010 ct: 2.211 11234/11234 34% 0% 148.6% 68 0
2124
+ A:3223.0 V:3223.03 A-V: 0.010 ct: 2.211 11234/11234 34% 0% 148.6% 68 0
1965
2125
  osd_level 1 osd_fractions 0
1966
- A:3223.4 V: 0.00 A-V:3223.363 ct: 2.211 0/ 0 ??% ??% ??,?% 68 0
2126
+ A:3223.4 V: 0.00 A-V:3223.363 ct: 2.211 0/ 0 ??% ??% ??,?% 68 0
1967
2127
  osd_level 1 osd_fractions 0
1968
- A: 0.4 V: 0.04 A-V: 0.356 ct: 2.219 1/ 1 ??% ??% ??,?% 68 0
2128
+ A: 0.4 V: 0.04 A-V: 0.356 ct: 2.219 1/ 1 ??% ??% ??,?% 68 0
1969
2129
  wow I don't know how to desribe this.
1970
2130
 
1971
2131
  my_mplayer -autosync 30 -nocache -ss 3450 dvdnav://1
@@ -2332,7 +2492,7 @@ Input #0, mpeg, from 'dvdout.minemplayer.dvd.mpg':
2332
2492
  dvd:
2333
2493
  V:3499.48 1095/1092 4% 0% 0.0% 0 0
2334
2494
  V: 0.25 1096/1093 4% 0% 0.0% 0 0
2335
2495
 
2336
- V:3499.48 1095/1092 4% 0% 0.0% 0 0
2337
2496
  V: 0.25 1096/1093 4% 0% 0.0% 0 0
2497
+ V:3499.48 1095/1092 4% 0% 0.0% 0 0
2338
2498
  V: 0.25 1096/1093 4% 0% 0.0% 0 0
2339
2499
 
2340
2500
  dvd split time for -=c= with full play length, with audio (mine) dvd no cache, mine
2341
2501
  A:3222.0 V:3221.99 A-V: -0.003 ct: 0.289 77266/77256 4% 0% 32.1% 255 0
2342
2502
  time 3218.801000 time 3218.801000 time 3218.801000 time 3218.801000 time 3218.801000 time 3218.801000 time 3218.801000 time 3218.801000 time 3218.801000 time 3218.801000 time 3218.801000 time 3218.801000 time 3218.801000 time 3218.801000 time 3218.801000 time 3218.801000 time 3218.801000 time 3218.801000 time 3218.801000 time 3218.801000 time 3218.801000
@@ -2341,7 +2501,7 @@ dvd split time for -=c= with full play length, with audio (mine) dvd no cache, m
2341
2501
  osd_level 1 osd_fractions 0
2342
2502
  A: 0.2 V:3222.07 A-V:-3221.900 ct: 0.287 77268/77258 4% 0% 32.1% 256 0
2343
2503
  time 0.400000 time 0.400000 time 0.400000 time 0.400000 time 0.400000 time 0.400000
2344
2504
  osd_level 1 osd_fractions 0
2345
- A: 0.2 V:3222.12 A-V:-3221.920 ct: 0.283 77269/77259 4% 0% 32.1% 256 0
2505
+ A: 0.2 V:3222.12 A-V:-3221.920 ct: 0.283 77269/77259 4% 0% 32.1% 256 0
2346
2506
  maybe this is a disney thing? assume this is expected?
2347
2507
  maybe just mine?
2348
2508
  ??
@@ -2372,8 +2532,8 @@ old ones used to work? huh?
2372
2532
 
2373
2533
  dvdnav:
2374
2534
 
2375
- V:3499.40 1057/1054 4% 0% 0.0% 0 0
2376
- V:3499.40 1055/1052 4% 0% 0.0% 0 0
2535
+ V:3499.40 1057/1054 4% 0% 0.0% 0 0
2536
+ V:3499.40 1055/1052 4% 0% 0.0% 0 0
2377
2537
 
2378
2538
  when actually playing it though...
2379
2539
  V:3498.98
@@ -2452,7 +2612,7 @@ you can infer from that that it's 3498.36 + 7 frames, which is close'ish-er...
2452
2612
 
2453
2613
  ooh checkout the audio...thankfully don't have to worry about this:
2454
2614
 
2455
- without audio: V:3499.40 1057/1054 5% 17% 0.0% 0 0
2615
+ without audio: V:3499.40 1057/1054 5% 17% 0.0% 0 0
2456
2616
  A:3499.3 V: 0.00 A-V:3499.299 ct: -0.262 0/ 0 ??% ??% ??,?% 0 0
2457
2617
  A: 0.1 V: 0.00 A-V: 0.115 ct: -0.257 0/ 0 ??% ??% ??,?% 0 0
2458
2618
 
@@ -4214,7 +4374,7 @@ handbrake -> ffmpeg I think sameq -> mencoder split
4214
4374
 
4215
4375
  == blu subtitles versus dvd ==
4216
4376
 
4217
- National Treasure [2004] {English} [XviD].srt doesn't seem to match up with mplayer OSD, like 6 seconds off per hour?
4377
+ =c= [2004] {English} [XviD].srt doesn't seem to match up with mplayer OSD, like 6 seconds off per hour?
4218
4378
  mplayer OSD seems way off...or actually match normal players whoa!?
4219
4379
  865
4220
4380
  01:28:47,322 --> 01:28:48,864