Audio synchronization (lip sync) with interlaced sources

HandBrake for Mac support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
tallyho
Posts: 14
Joined: Tue May 06, 2008 7:55 am

Audio synchronization (lip sync) with interlaced sources

Post by tallyho » Thu Jan 29, 2009 8:02 pm

Hi
I am having great success with Handbrake 0.9.3 and the Universal preset, apart from a couple of encodings from interlaced sources (my DVD of Series 1 of The Sopranos and just now my copy of Wonderboys). A quick look at the stills in picture settings shows clear interlacing artefacts so I enabled the decomb filter (the default setting as accessed in the Mac GUI). The resulting encodes have very variable lip sync - sometimes the video is in time with the dialogue but the next second it looks like a poorly dubbed movie. Watching the DVD source does not reveal these issues at all - the discs play back fine on both my home DVD players and the Video TS folder (ripped with MTR) plays fine using the OSX DVD Player on my computer.

Given that this issue has only shown itself on interlaced materiaI, I had thought that the decomb filter might be a problem, however it seems that even if I turn it off and encode with no deinterlacing, the lip sync is still variable. Do you think there is anything I can do to get more watchable encodes of these discs?

I have included the ativity log for a sample chapter of Wonderboys, using the Universal preset and enabling the decomb filter.

Code: Select all

[19:48:37] macgui: Handbrake Version: 0.9.3 (2008112300)
[19:48:37] hb_init: checking cpu count
[19:48:37] hb_init: starting libhb thread
[19:48:37] hb_init: checking cpu count
[19:48:37] hb_init: starting libhb thread
[19:48:44] macgui: trying to open video_ts folder (parent directory chosen)
[19:48:44] hb_scan: path=/Volumes/Freecom HDD 80/WONDER_BOYS, title_index=0
[19:48:44] scan: trying to open with libdvdread
[19:48:45] scan: DVD has 20 title(s)
[19:48:45] scan: scanning title 1
[19:48:45] scan: opening IFO for VTS 1
[19:48:45] pgc_id: 1, pgn: 1: pgc: 0x170c1aa0
[19:48:45] scan: vts=1, ttn=1, cells=0->26, blocks=0->3094913, 3094914 blocks
[19:48:45] scan: duration is 01:51:24 (6684050 ms)
[19:48:45] scan: checking audio 1
[19:48:45] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[19:48:45] scan: checking audio 2
[19:48:45] scan: id=81bd, lang=English (AC3) (Director's Commentary 1), 3cc=eng ext=3
[19:48:45] scan: checking subtitle 1
[19:48:45] scan: id=20bd, lang=English, 3cc=eng
[19:48:45] scan: title 1 has 16 chapters
[19:48:45] scan: chap 1 c=0->0, b=0->104160 (104161), 279620 ms
[19:48:45] scan: chap 2 c=1->1, b=104161->299079 (194919), 382813 ms
[19:48:45] scan: chap 3 c=2->2, b=299080->457482 (158403), 324691 ms
[19:48:45] scan: chap 4 c=3->3, b=457483->600085 (142603), 327576 ms
[19:48:45] scan: chap 5 c=4->4, b=600086->892086 (292001), 598302 ms
[19:48:45] scan: chap 6 c=5->7, b=892087->1138918 (246832), 499286 ms
[19:48:45] scan: chap 7 c=8->8, b=1138919->1454130 (315212), 635210 ms
[19:48:45] scan: chap 8 c=9->11, b=1454131->1639908 (185778), 354097 ms
[19:48:45] scan: chap 9 c=12->13, b=1639909->1838439 (198531), 394010 ms
[19:48:45] scan: chap 10 c=14->16, b=1838440->2053138 (214699), 499176 ms
[19:48:45] scan: chap 11 c=17->21, b=2053139->2272787 (219649), 454566 ms
[19:48:45] scan: chap 12 c=22->22, b=2272788->2542277 (269490), 611062 ms
[19:48:45] scan: chap 13 c=23->23, b=2542278->2844083 (301806), 590219 ms
[19:48:45] scan: chap 14 c=24->24, b=2844084->3036825 (192742), 415664 ms
[19:48:45] scan: chap 15 c=25->25, b=3036826->3094907 (58082), 316748 ms
[19:48:45] scan: chap 16 c=26->26, b=3094908->3094913 (6), 1001 ms
[19:48:45] scan: aspect = 0
[19:48:45] scan: scanning title 2
[19:48:45] scan: opening IFO for VTS 1
[19:48:45] pgc_id: 2, pgn: 1: pgc: 0x170c14f0
[19:48:45] scan: vts=1, ttn=2, cells=0->1, blocks=1098719->3094913, 35279 blocks
[19:48:45] scan: duration is 00:01:09 (69160 ms)
[19:48:45] scan: checking audio 1
[19:48:45] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[19:48:45] scan: checking audio 2
[19:48:45] scan: id=81bd, lang=English (AC3) (Director's Commentary 1), 3cc=eng ext=3
[19:48:45] scan: checking subtitle 1
[19:48:45] scan: id=20bd, lang=English, 3cc=eng
[19:48:45] scan: title 2 has 2 chapters
[19:48:45] scan: chap 1 c=0->0, b=1098719->1133991 (35273), 68160 ms
[19:48:45] scan: chap 2 c=1->1, b=3094908->3094913 (6), 1000 ms
[19:48:45] scan: aspect = 0
[19:48:45] scan: scanning title 3
[19:48:45] scan: opening IFO for VTS 1
[19:48:45] pgc_id: 3, pgn: 1: pgc: 0x170f2df0
[19:48:45] scan: vts=1, ttn=3, cells=0->1, blocks=1606939->3094913, 32180 blocks
[19:48:45] scan: duration is 00:01:01 (61170 ms)
[19:48:45] scan: checking audio 1
[19:48:45] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[19:48:45] scan: checking audio 2
[19:48:45] scan: id=81bd, lang=English (AC3) (Director's Commentary 1), 3cc=eng ext=3
[19:48:45] scan: checking subtitle 1
[19:48:45] scan: id=20bd, lang=English, 3cc=eng
[19:48:45] scan: title 3 has 2 chapters
[19:48:45] scan: chap 1 c=0->0, b=1606939->1639112 (32174), 60170 ms
[19:48:45] scan: chap 2 c=1->1, b=3094908->3094913 (6), 1000 ms
[19:48:45] scan: aspect = 0
[19:48:45] scan: scanning title 4
[19:48:45] scan: opening IFO for VTS 1
[19:48:45] pgc_id: 4, pgn: 1: pgc: 0x170f76c0
[19:48:45] scan: vts=1, ttn=4, cells=0->1, blocks=2010405->3094913, 29749 blocks
[19:48:45] scan: duration is 00:01:04 (64060 ms)
[19:48:45] scan: checking audio 1
[19:48:45] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[19:48:45] scan: checking audio 2
[19:48:45] scan: id=81bd, lang=English (AC3) (Director's Commentary 1), 3cc=eng ext=3
[19:48:45] scan: checking subtitle 1
[19:48:45] scan: id=20bd, lang=English, 3cc=eng
[19:48:45] scan: title 4 has 2 chapters
[19:48:45] scan: chap 1 c=0->0, b=2010405->2040147 (29743), 63060 ms
[19:48:45] scan: chap 2 c=1->1, b=3094908->3094913 (6), 1000 ms
[19:48:45] scan: aspect = 0
[19:48:45] scan: scanning title 5
[19:48:45] scan: opening IFO for VTS 1
[19:48:45] pgc_id: 5, pgn: 1: pgc: 0x170283d0
[19:48:45] scan: vts=1, ttn=5, cells=0->1, blocks=2139840->3094913, 23611 blocks
[19:48:45] scan: duration is 00:00:49 (49180 ms)
[19:48:45] scan: checking audio 1
[19:48:45] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[19:48:45] scan: checking audio 2
[19:48:45] scan: id=81bd, lang=English (AC3) (Director's Commentary 1), 3cc=eng ext=3
[19:48:45] scan: checking subtitle 1
[19:48:45] scan: id=20bd, lang=English, 3cc=eng
[19:48:45] scan: title 5 has 2 chapters
[19:48:45] scan: chap 1 c=0->0, b=2139840->2163444 (23605), 48180 ms
[19:48:45] scan: chap 2 c=1->1, b=3094908->3094913 (6), 1000 ms
[19:48:45] scan: aspect = 0
[19:48:45] scan: scanning title 6
[19:48:45] scan: opening IFO for VTS 1
[19:48:45] pgc_id: 6, pgn: 1: pgc: 0x170f76c0
[19:48:45] scan: vts=1, ttn=6, cells=0->1, blocks=2182033->3094913, 21560 blocks
[19:48:45] scan: duration is 00:00:47 (47080 ms)
[19:48:45] scan: checking audio 1
[19:48:45] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[19:48:45] scan: checking audio 2
[19:48:45] scan: id=81bd, lang=English (AC3) (Director's Commentary 1), 3cc=eng ext=3
[19:48:45] scan: checking subtitle 1
[19:48:45] scan: id=20bd, lang=English, 3cc=eng
[19:48:45] scan: title 6 has 2 chapters
[19:48:45] scan: chap 1 c=0->0, b=2182033->2203586 (21554), 46080 ms
[19:48:45] scan: chap 2 c=1->1, b=3094908->3094913 (6), 1000 ms
[19:48:45] scan: aspect = 0
[19:48:45] scan: scanning title 7
[19:48:45] scan: opening IFO for VTS 2
[19:48:45] pgc_id: 1, pgn: 1: pgc: 0x170c1190
[19:48:45] scan: vts=2, ttn=1, cells=0->1, blocks=0->628378, 234271 blocks
[19:48:45] scan: duration is 00:12:06 (726200 ms)
[19:48:45] scan: checking audio 1
[19:48:45] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[19:48:45] scan: title 7 has 2 chapters
[19:48:45] scan: chap 1 c=0->0, b=0->234264 (234265), 725200 ms
[19:48:45] scan: chap 2 c=1->1, b=628373->628378 (6), 1000 ms
[19:48:45] scan: aspect = 0
[19:48:45] scan: scanning title 8
[19:48:45] scan: opening IFO for VTS 2
[19:48:45] pgc_id: 2, pgn: 1: pgc: 0x170c8e90
[19:48:45] scan: vts=2, ttn=2, cells=0->1, blocks=234265->628378, 38924 blocks
[19:48:45] scan: duration is 00:02:03 (123320 ms)
[19:48:45] scan: checking audio 1
[19:48:45] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[19:48:45] scan: title 8 has 2 chapters
[19:48:45] scan: chap 1 c=0->0, b=234265->273182 (38918), 122320 ms
[19:48:45] scan: chap 2 c=1->1, b=628373->628378 (6), 1000 ms
[19:48:45] scan: aspect = 0
[19:48:45] scan: scanning title 9
[19:48:45] scan: opening IFO for VTS 2
[19:48:45] pgc_id: 3, pgn: 1: pgc: 0x170c8e90
[19:48:45] scan: vts=2, ttn=3, cells=0->1, blocks=273183->628378, 9061 blocks
[19:48:45] scan: duration is 00:00:30 (30200 ms)
[19:48:45] scan: checking audio 1
[19:48:45] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[19:48:45] scan: title 9 has 2 chapters
[19:48:45] scan: chap 1 c=0->0, b=273183->282237 (9055), 29200 ms
[19:48:45] scan: chap 2 c=1->1, b=628373->628378 (6), 1000 ms
[19:48:45] scan: aspect = 0
[19:48:45] scan: scanning title 10
[19:48:45] scan: opening IFO for VTS 2
[19:48:45] pgc_id: 4, pgn: 1: pgc: 0x170f27a0
[19:48:45] scan: vts=2, ttn=4, cells=0->1, blocks=282238->628378, 18696 blocks
[19:48:45] scan: duration is 00:01:00 (60120 ms)
[19:48:45] scan: checking audio 1
[19:48:45] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[19:48:45] scan: title 10 has 2 chapters
[19:48:45] scan: chap 1 c=0->0, b=282238->300927 (18690), 59120 ms
[19:48:45] scan: chap 2 c=1->1, b=628373->628378 (6), 1000 ms
[19:48:45] scan: aspect = 0
[19:48:45] scan: scanning title 11
[19:48:45] scan: opening IFO for VTS 2
[19:48:45] pgc_id: 5, pgn: 1: pgc: 0x170f76c0
[19:48:45] scan: vts=2, ttn=5, cells=0->1, blocks=300928->628378, 14225 blocks
[19:48:45] scan: duration is 00:00:46 (46140 ms)
[19:48:45] scan: checking audio 1
[19:48:45] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[19:48:45] scan: title 11 has 2 chapters
[19:48:45] scan: chap 1 c=0->0, b=300928->315146 (14219), 45140 ms
[19:48:45] scan: chap 2 c=1->1, b=628373->628378 (6), 1000 ms
[19:48:45] scan: aspect = 0
[19:48:45] scan: scanning title 12
[19:48:45] scan: opening IFO for VTS 2
[19:48:45] pgc_id: 6, pgn: 1: pgc: 0x170283d0
[19:48:45] scan: vts=2, ttn=6, cells=0->1, blocks=315147->628378, 45089 blocks
[19:48:45] scan: duration is 00:01:30 (90120 ms)
[19:48:45] scan: checking audio 1
[19:48:45] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[19:48:45] scan: title 12 has 2 chapters
[19:48:45] scan: chap 1 c=0->0, b=315147->360229 (45083), 89120 ms
[19:48:45] scan: chap 2 c=1->1, b=628373->628378 (6), 1000 ms
[19:48:45] scan: aspect = 0
[19:48:45] scan: scanning title 13
[19:48:45] scan: opening IFO for VTS 2
[19:48:45] pgc_id: 7, pgn: 1: pgc: 0x170f6d70
[19:48:45] scan: vts=2, ttn=7, cells=0->1, blocks=360230->628378, 25654 blocks
[19:48:45] scan: duration is 00:01:21 (81240 ms)
[19:48:45] scan: checking audio 1
[19:48:45] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[19:48:45] scan: title 13 has 2 chapters
[19:48:45] scan: chap 1 c=0->0, b=360230->385877 (25648), 80240 ms
[19:48:45] scan: chap 2 c=1->1, b=628373->628378 (6), 1000 ms
[19:48:45] scan: aspect = 0
[19:48:45] scan: scanning title 14
[19:48:45] scan: opening IFO for VTS 2
[19:48:45] pgc_id: 8, pgn: 1: pgc: 0x170f6ae0
[19:48:45] scan: vts=2, ttn=8, cells=0->1, blocks=385878->628378, 24492 blocks
[19:48:45] scan: duration is 00:01:18 (78120 ms)
[19:48:45] scan: checking audio 1
[19:48:45] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[19:48:45] scan: title 14 has 2 chapters
[19:48:45] scan: chap 1 c=0->0, b=385878->410363 (24486), 77120 ms
[19:48:45] scan: chap 2 c=1->1, b=628373->628378 (6), 1000 ms
[19:48:45] scan: aspect = 0
[19:48:45] scan: scanning title 15
[19:48:45] scan: opening IFO for VTS 2
[19:48:45] pgc_id: 9, pgn: 1: pgc: 0x170f6d70
[19:48:45] scan: vts=2, ttn=9, cells=0->1, blocks=410364->628378, 16880 blocks
[19:48:45] scan: duration is 00:00:54 (54060 ms)
[19:48:45] scan: checking audio 1
[19:48:45] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[19:48:45] scan: title 15 has 2 chapters
[19:48:45] scan: chap 1 c=0->0, b=410364->427237 (16874), 53060 ms
[19:48:45] scan: chap 2 c=1->1, b=628373->628378 (6), 1000 ms
[19:48:45] scan: aspect = 0
[19:48:45] scan: scanning title 16
[19:48:45] scan: opening IFO for VTS 2
[19:48:45] pgc_id: 10, pgn: 1: pgc: 0x170f6ae0
[19:48:45] scan: vts=2, ttn=10, cells=0->1, blocks=427238->628378, 21739 blocks
[19:48:45] scan: duration is 00:01:09 (69100 ms)
[19:48:45] scan: checking audio 1
[19:48:45] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[19:48:45] scan: title 16 has 2 chapters
[19:48:45] scan: chap 1 c=0->0, b=427238->448970 (21733), 68100 ms
[19:48:45] scan: chap 2 c=1->1, b=628373->628378 (6), 1000 ms
[19:48:45] scan: aspect = 0
[19:48:45] scan: scanning title 17
[19:48:45] scan: opening IFO for VTS 2
[19:48:45] pgc_id: 11, pgn: 1: pgc: 0x170f6f70
[19:48:45] scan: vts=2, ttn=11, cells=0->1, blocks=448971->628378, 100622 blocks
[19:48:45] scan: duration is 00:05:13 (313050 ms)
[19:48:45] scan: checking audio 1
[19:48:45] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[19:48:45] scan: title 17 has 2 chapters
[19:48:45] scan: chap 1 c=0->0, b=448971->549586 (100616), 312050 ms
[19:48:45] scan: chap 2 c=1->1, b=628373->628378 (6), 1000 ms
[19:48:45] scan: aspect = 0
[19:48:45] scan: scanning title 18
[19:48:45] scan: opening IFO for VTS 2
[19:48:45] pgc_id: 12, pgn: 1: pgc: 0x170f6f70
[19:48:45] scan: vts=2, ttn=12, cells=0->1, blocks=549587->628378, 78792 blocks
[19:48:45] scan: duration is 00:05:16 (316040 ms)
[19:48:45] scan: checking audio 1
[19:48:45] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[19:48:45] scan: title 18 has 2 chapters
[19:48:45] scan: chap 1 c=0->0, b=549587->628372 (78786), 315040 ms
[19:48:45] scan: chap 2 c=1->1, b=628373->628378 (6), 1000 ms
[19:48:45] scan: aspect = 0
[19:48:45] scan: scanning title 19
[19:48:45] scan: opening IFO for VTS 3
[19:48:45] pgc_id: 1, pgn: 1: pgc: 0x170f2df0
[19:48:45] scan: vts=3, ttn=1, cells=0->1, blocks=0->9849, 9850 blocks
[19:48:45] scan: duration is 00:00:24 (24000 ms)
[19:48:45] scan: checking audio 1
[19:48:45] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[19:48:45] scan: title 19 has 2 chapters
[19:48:45] scan: chap 1 c=0->0, b=0->9843 (9844), 23000 ms
[19:48:45] scan: chap 2 c=1->1, b=9844->9849 (6), 1000 ms
[19:48:45] scan: aspect = 0
[19:48:45] scan: scanning title 20
[19:48:45] scan: opening IFO for VTS 4
[19:48:45] pgc_id: 1, pgn: 1: pgc: 0x170c1190
[19:48:45] scan: vts=4, ttn=1, cells=0->1, blocks=0->4207, 4208 blocks
[19:48:45] scan: duration is 00:00:14 (14000 ms)
[19:48:45] scan: checking audio 1
[19:48:45] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[19:48:45] scan: title 20 has 2 chapters
[19:48:45] scan: chap 1 c=0->0, b=0->4201 (4202), 13000 ms
[19:48:45] scan: chap 2 c=1->1, b=4202->4207 (6), 1000 ms
[19:48:45] scan: aspect = 0
[19:48:45] scan: decoding previews for title 1
[19:48:45] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=384000 English (AC3) (5.1 ch)
[19:48:45] scan: audio 0x81bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (Director's Commentary 1) (2.0 ch)
[19:48:46] scan: content PAR gives wrong aspect 1.78; using container aspect 1.78
[19:48:46] scan: 10 previews, 720x576, 25.000 fps, autocrop = 74/74/6/6, aspect 16:9, PAR 64:45
[19:48:46] scan: decoding previews for title 2
[19:48:46] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=384000 English (AC3) (5.1 ch)
[19:48:46] scan: audio 0x81bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (Director's Commentary 1) (2.0 ch)
[19:48:46] scan: content PAR gives wrong aspect 1.78; using container aspect 1.78
[19:48:46] scan: 10 previews, 720x576, 25.000 fps, autocrop = 74/74/6/6, aspect 16:9, PAR 64:45
[19:48:46] scan: decoding previews for title 3
[19:48:46] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=384000 English (AC3) (5.1 ch)
[19:48:46] scan: audio 0x81bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (Director's Commentary 1) (2.0 ch)
[19:48:47] scan: content PAR gives wrong aspect 1.78; using container aspect 1.78
[19:48:47] scan: 10 previews, 720x576, 25.000 fps, autocrop = 74/74/6/6, aspect 16:9, PAR 64:45
[19:48:47] scan: decoding previews for title 4
[19:48:47] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=384000 English (AC3) (5.1 ch)
[19:48:47] scan: audio 0x81bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (Director's Commentary 1) (2.0 ch)
[19:48:47] scan: content PAR gives wrong aspect 1.78; using container aspect 1.78
[19:48:47] scan: 10 previews, 720x576, 25.000 fps, autocrop = 74/74/6/6, aspect 16:9, PAR 64:45
[19:48:47] scan: decoding previews for title 5
[19:48:47] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=384000 English (AC3) (5.1 ch)
[19:48:47] scan: audio 0x81bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (Director's Commentary 1) (2.0 ch)
[19:48:48] scan: content PAR gives wrong aspect 1.78; using container aspect 1.78
[19:48:48] scan: 10 previews, 720x576, 25.000 fps, autocrop = 78/74/8/6, aspect 16:9, PAR 64:45
[19:48:48] scan: decoding previews for title 6
[19:48:48] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=384000 English (AC3) (5.1 ch)
[19:48:48] scan: audio 0x81bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (Director's Commentary 1) (2.0 ch)
[19:48:50] scan: content PAR gives wrong aspect 1.78; using container aspect 1.78
[19:48:50] scan: 10 previews, 720x576, 25.000 fps, autocrop = 74/74/36/6, aspect 16:9, PAR 64:45
[19:48:50] scan: decoding previews for title 7
[19:48:50] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[19:48:51] scan: 10 previews, 720x576, 25.000 fps, autocrop = 4/8/12/10, aspect 4:3, PAR 16:15
[19:48:51] scan: decoding previews for title 8
[19:48:51] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[19:48:51] scan: 10 previews, 720x576, 25.000 fps, autocrop = 68/68/4/6, aspect 4:3, PAR 16:15
[19:48:51] scan: decoding previews for title 9
[19:48:51] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[19:48:52] scan: 10 previews, 720x576, 25.000 fps, autocrop = 122/124/12/8, aspect 4:3, PAR 16:15
[19:48:52] scan: decoding previews for title 10
[19:48:52] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[19:48:52] scan: 10 previews, 720x576, 25.000 fps, autocrop = 4/8/12/10, aspect 4:3, PAR 16:15
[19:48:52] scan: decoding previews for title 11
[19:48:52] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[19:48:53] scan: 10 previews, 720x576, 25.000 fps, autocrop = 122/124/10/10, aspect 4:3, PAR 16:15
[19:48:53] scan: decoding previews for title 12
[19:48:53] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[19:48:53] scan: 10 previews, 720x576, 25.000 fps, autocrop = 4/8/12/10, aspect 4:3, PAR 16:15
[19:48:53] scan: decoding previews for title 13
[19:48:53] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[19:48:54] scan: 10 previews, 720x576, 25.000 fps, autocrop = 4/8/14/8, aspect 4:3, PAR 16:15
[19:48:54] scan: decoding previews for title 14
[19:48:54] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[19:48:55] scan: 10 previews, 720x576, 25.000 fps, autocrop = 122/124/12/10, aspect 4:3, PAR 16:15
[19:48:55] scan: decoding previews for title 15
[19:48:55] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[19:48:55] scan: 10 previews, 720x576, 25.000 fps, autocrop = 122/122/12/10, aspect 4:3, PAR 16:15
[19:48:55] scan: decoding previews for title 16
[19:48:55] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (Dolby Surround)
[19:48:56] scan: 10 previews, 720x576, 25.000 fps, autocrop = 122/124/12/10, aspect 4:3, PAR 16:15
[19:48:56] scan: decoding previews for title 17
[19:48:56] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (Dolby Surround)
[19:48:56] scan: 10 previews, 720x576, 25.000 fps, autocrop = 122/124/12/10, aspect 4:3, PAR 16:15
[19:48:56] scan: decoding previews for title 18
[19:48:56] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (Dolby Surround)
[19:48:57] scan: 10 previews, 720x576, 25.000 fps, autocrop = 130/126/16/10, aspect 4:3, PAR 16:15
[19:48:57] scan: decoding previews for title 19
[19:48:57] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=384000 English (AC3) (5.1 ch)
[19:48:57] 2.767267s: Video -> Film
[19:48:57] scan: content PAR gives wrong aspect 1.78; using container aspect 1.78
[19:48:57] scan: 10 previews, 720x576, 25.000 fps, autocrop = 2/2/10/10, aspect 16:9, PAR 64:45
[19:48:57] scan: decoding previews for title 20
[19:48:57] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[19:48:57] 3.247267s: Film -> Video
[19:48:57] scan: 10 previews, 720x576, 25.000 fps, autocrop = 0/0/2/6, aspect 4:3, PAR 16:15
[19:48:57] scan: title (0) job->width:704, job->height:304
[19:48:57] scan: title (1) job->width:704, job->height:304
[19:48:57] scan: title (2) job->width:704, job->height:304
[19:48:57] scan: title (3) job->width:704, job->height:304
[19:48:57] scan: title (4) job->width:704, job->height:304
[19:48:57] scan: title (5) job->width:672, job->height:304
[19:48:57] scan: title (6) job->width:704, job->height:528
[19:48:57] scan: title (7) job->width:704, job->height:416
[19:48:57] scan: title (8) job->width:704, job->height:304
[19:48:57] scan: title (9) job->width:704, job->height:528
[19:48:57] scan: title (10) job->width:704, job->height:304
[19:48:57] scan: title (11) job->width:704, job->height:528
[19:48:57] scan: title (12) job->width:704, job->height:528
[19:48:57] scan: title (13) job->width:704, job->height:320
[19:48:57] scan: title (14) job->width:704, job->height:320
[19:48:57] scan: title (15) job->width:704, job->height:320
[19:48:57] scan: title (16) job->width:704, job->height:320
[19:48:57] scan: title (17) job->width:688, job->height:304
[19:48:57] scan: title (18) job->width:704, job->height:400
[19:48:57] scan: title (19) job->width:720, job->height:544
[19:48:58] libhb: scan thread found 20 valid title(s)
[19:48:58] macgui: ScanDone state received from fHandle
[19:50:29] macgui: Rip: Pending queue count is 0
[19:50:29] macgui: Rip: No pending jobs, so sending this one to doAddToQueue
[19:50:29] macgui: Rip: Going right to performNewQueueScan
[19:50:29] macgui: scanning specifically for title: 1
[19:50:29] macgui: performNewQueueScan currentQueueEncodeIndex is: 0
[19:50:29] hb_scan: path=/Volumes/Freecom HDD 80/WONDER_BOYS, title_index=1
[19:50:29] scan: trying to open with libdvdread
[19:50:29] scan: DVD has 20 title(s)
[19:50:29] scan: scanning title 1
[19:50:29] scan: opening IFO for VTS 1
[19:50:29] pgc_id: 1, pgn: 1: pgc: 0x1880eba0
[19:50:29] scan: vts=1, ttn=1, cells=0->26, blocks=0->3094913, 3094914 blocks
[19:50:29] scan: duration is 01:51:24 (6684050 ms)
[19:50:29] scan: checking audio 1
[19:50:29] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[19:50:29] scan: checking audio 2
[19:50:29] scan: id=81bd, lang=English (AC3) (Director's Commentary 1), 3cc=eng ext=3
[19:50:29] scan: checking subtitle 1
[19:50:29] scan: id=20bd, lang=English, 3cc=eng
[19:50:29] scan: title 1 has 16 chapters
[19:50:29] scan: chap 1 c=0->0, b=0->104160 (104161), 279620 ms
[19:50:29] scan: chap 2 c=1->1, b=104161->299079 (194919), 382813 ms
[19:50:29] scan: chap 3 c=2->2, b=299080->457482 (158403), 324691 ms
[19:50:29] scan: chap 4 c=3->3, b=457483->600085 (142603), 327576 ms
[19:50:29] scan: chap 5 c=4->4, b=600086->892086 (292001), 598302 ms
[19:50:29] scan: chap 6 c=5->7, b=892087->1138918 (246832), 499286 ms
[19:50:29] scan: chap 7 c=8->8, b=1138919->1454130 (315212), 635210 ms
[19:50:29] scan: chap 8 c=9->11, b=1454131->1639908 (185778), 354097 ms
[19:50:29] scan: chap 9 c=12->13, b=1639909->1838439 (198531), 394010 ms
[19:50:29] scan: chap 10 c=14->16, b=1838440->2053138 (214699), 499176 ms
[19:50:29] scan: chap 11 c=17->21, b=2053139->2272787 (219649), 454566 ms
[19:50:29] scan: chap 12 c=22->22, b=2272788->2542277 (269490), 611062 ms
[19:50:29] scan: chap 13 c=23->23, b=2542278->2844083 (301806), 590219 ms
[19:50:29] scan: chap 14 c=24->24, b=2844084->3036825 (192742), 415664 ms
[19:50:29] scan: chap 15 c=25->25, b=3036826->3094907 (58082), 316748 ms
[19:50:29] scan: chap 16 c=26->26, b=3094908->3094913 (6), 1001 ms
[19:50:29] scan: aspect = 0
[19:50:29] scan: decoding previews for title 1
[19:50:30] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=384000 English (AC3) (5.1 ch)
[19:50:30] scan: audio 0x81bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (Director's Commentary 1) (2.0 ch)
[19:50:30] scan: content PAR gives wrong aspect 1.78; using container aspect 1.78
[19:50:30] scan: 10 previews, 720x576, 25.000 fps, autocrop = 74/74/6/6, aspect 16:9, PAR 64:45
[19:50:30] scan: title (0) job->width:704, job->height:304
[19:50:30] libhb: scan thread found 1 valid title(s)
[19:50:30] macgui: ScanDone state received from fQueueEncodeLibhb
[19:50:30] macgui: processNewQueueEncode title list is: 1
[19:50:30] macgui: Preset: Universal
[19:50:30] macgui: processNewQueueEncode number of passes expected is: 1
[19:50:30] macgui: prepareJob audiotrack 2 is: 0
[19:50:30] macgui: prepareJob exiting
[19:50:30] 1 job(s) to process
[19:50:30] starting job
[19:50:30] job configuration:
[19:50:30]  * source
[19:50:30]    + /Volumes/Freecom HDD 80/WONDER_BOYS
[19:50:30]    + title 1, chapter(s) 3 to 3
[19:50:30]  * destination
[19:50:30]    + /Users/will/Desktop/WONDER_BOYS_test.m4v
[19:50:30]    + container: MPEG-4 (.mp4 and .m4v)
[19:50:30]      + chapter markers
[19:50:30]  * video track
[19:50:30]    + decoder: mpeg2
[19:50:30]      + bitrate 9800 kbps
[19:50:30]    + frame rate: same as source (around 25.000 fps)
[19:50:30]    + loose anamorphic
[19:50:30]      + storage dimensions: 720 * 576 -> 720 * 432, crop 74/74/6/6
[19:50:30]      + pixel aspect ratio: 203 / 144
[19:50:30]      + display dimensions: 1015 * 432
[19:50:30]    + filter
[19:50:30]      + Deinterlaces selectively with yadif/mcdeint and lowpass5 blending (1:2:6:9:80:16:16)
[19:50:30]    + encoder: x264
[19:50:30]      + options: level=30:cabac=0:ref=3:mixed-refs=1:analyse=all:me=umh:no-fast-pskip=1
[19:50:30]      + quality: 0.59
[19:50:30]  * audio track 0
[19:50:30]    + decoder: English (AC3) (5.1 ch) (track 1, id 80bd)
[19:50:30]      + bitrate: 384 kbps, samplerate: 48000 Hz
[19:50:30]    + mixdown: Dolby Pro Logic II
[19:50:30]    + encoder: faac
[19:50:30]      + bitrate: 160 kbps, samplerate: 48000 Hz
[19:50:30]  * audio track 1
[19:50:30]    + decoder: English (AC3) (5.1 ch) (track 1, id 80bd)
[19:50:30]      + bitrate: 384 kbps, samplerate: 48000 Hz
[19:50:30]    + AC3 passthrough
[19:50:30] yadif thread started for segment 0
[19:50:30] yadif thread started for segment 1
[19:50:30] decomb thread started for segment 0
[19:50:30] decomb thread started for segment 1
[19:50:30] encx264: encoding with stored aspect 203/144
[19:50:30] encx264: Encoding at constant RF 20.910002
x264 [info]: using SAR=203/144
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: profile Baseline, level 3.0
No accelerated IMDCT transform found
[19:50:30] reader: first SCR 59633170
No accelerated IMDCT transform found
[19:50:31] sync: expecting 8142 video frames
[19:50:31] mpeg2: "Chapter  3" (3) at frame 0 time 10800
[19:50:31] sync: first pts is 10800
[19:57:23] reader: end of chapter 3 (media 3) reached at media chapter 4
[19:57:23] reader: done. 1 scr changes
[19:57:25] sync: got 8119 frames, 8142 expected
[19:57:25] work: average encoding speed for job is 19.610498 fps
[19:57:26] mpeg2 done: 8120 frames
[19:57:26] render: lost time: 0 (0 frames)
[19:57:26] render: gained time: 0 (0 frames) (0 not accounted for)
x264 [info]: slice I:87    Avg QP:15.42  size: 35308  PSNR Mean Y:47.60 U:49.73 V:50.61 Avg:48.28 Global:47.99
x264 [info]: slice P:8031  Avg QP:18.25  size:  6806  PSNR Mean Y:44.81 U:47.40 V:48.68 Avg:45.60 Global:45.16
x264 [info]: mb I  I16..4: 20.1%  0.0% 79.9%
x264 [info]: mb P  I16..4:  1.8%  0.0%  1.0%  P16..4: 63.2% 17.5%  8.3%  0.1%  0.2%    skip: 7.9%
x264 [info]: ref P L0  71.1% 18.0% 11.0%
x264 [info]: SSIM Mean Y:0.9825070
x264 [info]: PSNR Mean Y:44.841 U:47.425 V:48.699 Avg:45.624 Global:45.181 kb/s:1422.36
[19:57:26] decomb: yadif deinterlaced 1960 | blend deinterlaced 824 | unfiltered 5334 | total 8118
[19:57:26] libhb: work result = 0
[19:57:27] macgui: incrementQueueItemDone currentQueueEncodeIndex is incremented to: 1
[19:57:27] macgui: incrementQueueItemDone the 0 item queue is complete

jbrjake
Veteran User
Posts: 4805
Joined: Wed Dec 13, 2006 1:38 am

Re: Audio synchronization (lip sync) when using decomb filter

Post by jbrjake » Fri Jan 30, 2009 3:49 pm

Err, what?

Post title: "Audio synchronization (lip sync) when using decomb filter"
vs.
Post contents: "I had thought that the decomb filter might be a problem, however it seems that even if I turn it off and encode with no deinterlacing, the lip sync is still variable"

tallyho
Posts: 14
Joined: Tue May 06, 2008 7:55 am

Re: Audio synchronization (lip sync) when using decomb filter

Post by tallyho » Fri Jan 30, 2009 4:36 pm

Do you have anything constructive to add, beyond making a schoolboy debating point which relies on a false dichotomy in your reading of my post? My title does not state or imply a causal link between the decomb filter and the lip sync problem; it is simply a fact that the issue only manifests itself on source material where I even consider applying the decomb filter because it is interlaced. Your software is very good: I have encoded quite a few of my DVDs with no lip sync issues at all. However, as my post clearly states, I have encountered a problem when dealing with interlaced material.

Given that I complied with your forum rules, I suppose I had hoped for some constructive suggestions. As it is, the encodes I mention, including the one for which I supplied the activity log, look like badly dubbed movies. If there is anything I can do to improve the encodes, I would be very grateful to learn what to do.

jbrjake
Veteran User
Posts: 4805
Joined: Wed Dec 13, 2006 1:38 am

Re: Audio synchronization (lip sync) when using decomb filter

Post by jbrjake » Fri Jan 30, 2009 5:07 pm

i can't help you if you insist on issuing contradictory statements.

Is the problem related to decomb or not? Why are you drawing my attention to it by saying in the topic that it happens "when using decomb" if, in fact, the problem also happens when not using decomb? Or is the body of the post in error, and the problem is, as the topic implies, associated with the filter? Which of your utterances am I supposed to believe?

dynaflash
Veteran User
Posts: 3820
Joined: Thu Nov 02, 2006 8:19 pm

Re: Audio synchronization (lip sync) when using decomb filter

Post by dynaflash » Fri Jan 30, 2009 11:12 pm

to cut through the bs. Sounds like a crappy source to me.

Lostless
Posts: 53
Joined: Thu May 24, 2007 7:55 pm

Re: Audio synchronization (lip sync) when using decomb filter

Post by Lostless » Sat Jan 31, 2009 6:44 am

i have a similar issue with some dvds. One is interlaced, the other is not. Ive also gone back to 9.2 and its still not working properly. It's doing what the other guy said that the audio will be fine and perfectly in sync. In a cut, you'll hear a slight hiccup in the audio and then, out of sync. The audio arrives before the video. Itll gradually sync back, and do it all over again in 10-20 minutes. Looking at the logs, it seems to do it in the areas where HB is trying resync audio, but gets it wrong somehow. beats me. So far most my dvds work fine, just this one (region one version of true lies), will not sync properly. Tried both the 5.1 and 2.0 audio tracks. The 5.1 track doesn't even try to resysnc. Heres the encode with the 5.1 track

Code: Select all

[18:39:27] macgui: Handbrake Version: 0.9.3 (2008112300)
[18:39:27] hb_init: checking cpu count
[18:39:27] hb_init: starting libhb thread
[18:39:27] hb_init: checking cpu count
[18:39:27] hb_init: starting libhb thread
[18:39:32] macgui: trying to open video_ts folder (parent directory chosen)
[18:39:32] macgui: trying to open a physical dvd at: /Volumes/TRUELIES
[18:39:32] macgui: VLC app found for decrypting physical dvd
[18:39:32] hb_scan: path=/dev/disk3, title_index=0
[18:39:32] scan: trying to open with libdvdread
[18:39:34] scan: DVD has 4 title(s)
[18:39:34] scan: scanning title 1
[18:39:34] scan: opening IFO for VTS 3
[18:39:34] pgc_id: 1, pgn: 1: pgc: 0x169d0260
[18:39:34] scan: vts=3, ttn=1, cells=0->62, blocks=0->3744091, 3744092 blocks
[18:39:34] scan: duration is 02:20:40 (8440043 ms)
[18:39:34] scan: checking audio 1
[18:39:34] scan: id=80bd, lang=English (AC3), 3cc=eng ext=1
[18:39:34] scan: checking audio 2
[18:39:34] scan: id=81bd, lang=English (AC3), 3cc=eng ext=1
[18:39:34] scan: checking audio 3
[18:39:34] scan: id=82bd, lang=Francais (AC3), 3cc=fra ext=1
[18:39:34] scan: checking subtitle 1
[18:39:34] scan: id=20bd, lang=English (Closed Caption), 3cc=eng
[18:39:34] scan: checking subtitle 2
[18:39:34] scan: id=21bd, lang=Espanol, 3cc=spa
[18:39:34] scan: checking subtitle 3
[18:39:34] scan: id=22bd, lang=Francais, 3cc=fra
[18:39:34] scan: title 1 has 45 chapters
[18:39:34] scan: chap 1 c=0->1, b=0->25349 (25350), 74521 ms
[18:39:34] scan: chap 2 c=2->3, b=25350->225266 (199917), 469058 ms
[18:39:34] scan: chap 3 c=4->4, b=225267->287896 (62630), 141308 ms
[18:39:34] scan: chap 4 c=5->5, b=287897->368355 (80459), 185548 ms
[18:39:34] scan: chap 5 c=6->6, b=368356->411770 (43415), 107352 ms
[18:39:34] scan: chap 6 c=7->8, b=411771->488011 (76241), 162326 ms
[18:39:34] scan: chap 7 c=9->9, b=488012->526454 (38443), 86354 ms
[18:39:34] scan: chap 8 c=10->10, b=526455->610704 (84250), 183357 ms
[18:39:34] scan: chap 9 c=11->11, b=610705->707604 (96900), 220596 ms
[18:39:34] scan: chap 10 c=12->12, b=707605->769011 (61407), 144334 ms
[18:39:34] scan: chap 11 c=13->13, b=769012->835365 (66354), 146596 ms
[18:39:34] scan: chap 12 c=14->15, b=835366->1075972 (240607), 525545 ms
[18:39:34] scan: chap 13 c=16->17, b=1075973->1121507 (45535), 109386 ms
[18:39:34] scan: chap 14 c=18->18, b=1121508->1205937 (84430), 193387 ms
[18:39:34] scan: chap 15 c=19->20, b=1205938->1320289 (114352), 255017 ms
[18:39:34] scan: chap 16 c=21->22, b=1320290->1384058 (63769), 150623 ms
[18:39:34] scan: chap 17 c=23->23, b=1384059->1501118 (117060), 245512 ms
[18:39:34] scan: chap 18 c=24->24, b=1501119->1550201 (49083), 127248 ms
[18:39:34] scan: chap 19 c=25->25, b=1550202->1588935 (38734), 89474 ms
[18:39:34] scan: chap 20 c=26->26, b=1588936->1715116 (126181), 280848 ms
[18:39:34] scan: chap 21 c=27->28, b=1715117->1926718 (211602), 493115 ms
[18:39:34] scan: chap 22 c=29->29, b=1926719->1974641 (47923), 114399 ms
[18:39:34] scan: chap 23 c=30->31, b=1974642->2088039 (113398), 241647 ms
[18:39:34] scan: chap 24 c=32->33, b=2088040->2301138 (213099), 480079 ms
[18:39:34] scan: chap 25 c=34->34, b=2301139->2350220 (49082), 109379 ms
[18:39:34] scan: chap 26 c=35->37, b=2350221->2512253 (162033), 361077 ms
[18:39:34] scan: chap 27 c=38->38, b=2512254->2646365 (134112), 320792 ms
[18:39:34] scan: chap 28 c=39->40, b=2646366->2700880 (54515), 113417 ms
[18:39:34] scan: chap 29 c=41->41, b=2700881->2755787 (54907), 125264 ms
[18:39:34] scan: chap 30 c=42->43, b=2755788->2916967 (161180), 359066 ms
[18:39:34] scan: chap 31 c=44->44, b=2916968->2944046 (27079), 65427 ms
[18:39:34] scan: chap 32 c=45->45, b=2944047->3011637 (67591), 145293 ms
[18:39:34] scan: chap 33 c=46->46, b=3011638->3047770 (36133), 83162 ms
[18:39:34] scan: chap 34 c=47->48, b=3047771->3168084 (120314), 266606 ms
[18:39:34] scan: chap 35 c=49->49, b=3168085->3201499 (33415), 79475 ms
[18:39:34] scan: chap 36 c=50->50, b=3201500->3269867 (68368), 143455 ms
[18:39:34] scan: chap 37 c=51->51, b=3269868->3302371 (32504), 75322 ms
[18:39:34] scan: chap 38 c=52->52, b=3302372->3353029 (50658), 112419 ms
[18:39:34] scan: chap 39 c=53->53, b=3353030->3376351 (23322), 53404 ms
[18:39:34] scan: chap 40 c=54->54, b=3376352->3397847 (21496), 44086 ms
[18:39:34] scan: chap 41 c=55->56, b=3397848->3489345 (91498), 185758 ms
[18:39:34] scan: chap 42 c=57->57, b=3489346->3564178 (74833), 165475 ms
[18:39:34] scan: chap 43 c=58->59, b=3564179->3633875 (69697), 161514 ms
[18:39:34] scan: chap 44 c=60->61, b=3633876->3744086 (110211), 241824 ms
[18:39:34] scan: chap 45 c=62->62, b=3744087->3744091 (5), 176 ms
[18:39:34] scan: aspect = 0
[18:39:34] scan: scanning title 2
[18:39:34] scan: opening IFO for VTS 2
[18:39:34] pgc_id: 1, pgn: 1: pgc: 0x169d0260
[18:39:34] scan: vts=2, ttn=1, cells=0->0, blocks=0->70523, 70524 blocks
[18:39:34] scan: duration is 00:02:20 (140020 ms)
[18:39:34] scan: checking audio 1
[18:39:34] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[18:39:34] scan: title 2 has 1 chapters
[18:39:34] scan: chap 1 c=0->0, b=0->70523 (70524), 140020 ms
[18:39:34] scan: aspect = 0
[18:39:34] scan: scanning title 3
[18:39:34] scan: opening IFO for VTS 4
[18:39:35] pgc_id: 1, pgn: 1: pgc: 0x1712a6d0
[18:39:35] scan: vts=4, ttn=1, cells=0->1, blocks=0->6256, 6257 blocks
[18:39:35] scan: duration is 00:00:29 (29176 ms)
[18:39:35] scan: checking audio 1
[18:39:35] scan: id=80bd, lang=Unknown (AC3), 3cc=und ext=0
[18:39:35] scan: title 3 has 3 chapters
[18:39:35] scan: chap 2 c=0->0, b=6257->6261 (3868), 7176 ms
[18:39:35] scan: chap 3 c=1->1, b=3868->6256 (2389), 22000 ms
[18:39:35] scan: aspect = 0
[18:39:35] scan: scanning title 4
[18:39:35] scan: opening IFO for VTS 1
[18:39:35] pgc_id: 1, pgn: 1: pgc: 0x1712a6d0
[18:39:35] scan: vts=1, ttn=1, cells=0->0, blocks=0->4, 5 blocks
[18:39:35] scan: duration is 00:00:00 (176 ms)
[18:39:35] scan: ignoring title (too short)
[18:39:35] scan: decoding previews for title 1
[18:39:35] scan: audio 0x81bd: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[18:39:35] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (Dolby Surround)
[18:39:35] scan: audio 0x82bd: AC-3, rate=48000Hz, bitrate=192000 Francais (AC3) (Dolby Surround)
[18:39:37] scan: 10 previews, 720x480, 23.976 fps, autocrop = 100/104/0/2, aspect 4:3, PAR 8:9
[18:39:37] scan: decoding previews for title 2
[18:39:37] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[18:39:39] scan: 10 previews, 720x480, 23.976 fps, autocrop = 0/0/2/12, aspect 4:3, PAR 8:9
[18:39:39] scan: decoding previews for title 3
[18:39:42] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=384000 Unknown (AC3) (5.1 ch)
[18:39:42] 2.687411s: Film -> Video
[18:39:43] scan: 10 previews, 720x480, 29.970 fps, autocrop = 94/94/56/54, aspect 4:3, PAR 8:9
[18:39:43] scan: title (0) job->width:624, job->height:272
[18:39:43] scan: title (1) job->width:624, job->height:480
[18:39:43] scan: title (2) job->width:528, job->height:288
[18:39:43] libhb: scan thread found 3 valid title(s)
[18:39:44] macgui: ScanDone state received from fHandle
[18:40:31] macgui: Rip: Pending queue count is 0
[18:40:31] macgui: Rip: No pending jobs, so sending this one to doAddToQueue
[18:40:31] macgui: Rip: Going right to performNewQueueScan
[18:40:31] macgui: scanning specifically for title: 1
[18:40:31] macgui: performNewQueueScan currentQueueEncodeIndex is: 0
[18:40:31] hb_scan: path=/dev/disk3, title_index=1
[18:40:31] scan: trying to open with libdvdread
[18:40:31] scan: DVD has 4 title(s)
[18:40:31] scan: scanning title 1
[18:40:31] scan: opening IFO for VTS 3
[18:40:32] pgc_id: 1, pgn: 1: pgc: 0x1715a4a0
[18:40:32] scan: vts=3, ttn=1, cells=0->62, blocks=0->3744091, 3744092 blocks
[18:40:32] scan: duration is 02:20:40 (8440043 ms)
[18:40:32] scan: checking audio 1
[18:40:32] scan: id=80bd, lang=English (AC3), 3cc=eng ext=1
[18:40:32] scan: checking audio 2
[18:40:32] scan: id=81bd, lang=English (AC3), 3cc=eng ext=1
[18:40:32] scan: checking audio 3
[18:40:32] scan: id=82bd, lang=Francais (AC3), 3cc=fra ext=1
[18:40:32] scan: checking subtitle 1
[18:40:32] scan: id=20bd, lang=English (Closed Caption), 3cc=eng
[18:40:32] scan: checking subtitle 2
[18:40:32] scan: id=21bd, lang=Espanol, 3cc=spa
[18:40:32] scan: checking subtitle 3
[18:40:32] scan: id=22bd, lang=Francais, 3cc=fra
[18:40:32] scan: title 1 has 45 chapters
[18:40:32] scan: chap 1 c=0->1, b=0->25349 (25350), 74521 ms
[18:40:32] scan: chap 2 c=2->3, b=25350->225266 (199917), 469058 ms
[18:40:32] scan: chap 3 c=4->4, b=225267->287896 (62630), 141308 ms
[18:40:32] scan: chap 4 c=5->5, b=287897->368355 (80459), 185548 ms
[18:40:32] scan: chap 5 c=6->6, b=368356->411770 (43415), 107352 ms
[18:40:32] scan: chap 6 c=7->8, b=411771->488011 (76241), 162326 ms
[18:40:32] scan: chap 7 c=9->9, b=488012->526454 (38443), 86354 ms
[18:40:32] scan: chap 8 c=10->10, b=526455->610704 (84250), 183357 ms
[18:40:32] scan: chap 9 c=11->11, b=610705->707604 (96900), 220596 ms
[18:40:32] scan: chap 10 c=12->12, b=707605->769011 (61407), 144334 ms
[18:40:32] scan: chap 11 c=13->13, b=769012->835365 (66354), 146596 ms
[18:40:32] scan: chap 12 c=14->15, b=835366->1075972 (240607), 525545 ms
[18:40:32] scan: chap 13 c=16->17, b=1075973->1121507 (45535), 109386 ms
[18:40:32] scan: chap 14 c=18->18, b=1121508->1205937 (84430), 193387 ms
[18:40:32] scan: chap 15 c=19->20, b=1205938->1320289 (114352), 255017 ms
[18:40:32] scan: chap 16 c=21->22, b=1320290->1384058 (63769), 150623 ms
[18:40:32] scan: chap 17 c=23->23, b=1384059->1501118 (117060), 245512 ms
[18:40:32] scan: chap 18 c=24->24, b=1501119->1550201 (49083), 127248 ms
[18:40:32] scan: chap 19 c=25->25, b=1550202->1588935 (38734), 89474 ms
[18:40:32] scan: chap 20 c=26->26, b=1588936->1715116 (126181), 280848 ms
[18:40:32] scan: chap 21 c=27->28, b=1715117->1926718 (211602), 493115 ms
[18:40:32] scan: chap 22 c=29->29, b=1926719->1974641 (47923), 114399 ms
[18:40:32] scan: chap 23 c=30->31, b=1974642->2088039 (113398), 241647 ms
[18:40:32] scan: chap 24 c=32->33, b=2088040->2301138 (213099), 480079 ms
[18:40:32] scan: chap 25 c=34->34, b=2301139->2350220 (49082), 109379 ms
[18:40:32] scan: chap 26 c=35->37, b=2350221->2512253 (162033), 361077 ms
[18:40:32] scan: chap 27 c=38->38, b=2512254->2646365 (134112), 320792 ms
[18:40:32] scan: chap 28 c=39->40, b=2646366->2700880 (54515), 113417 ms
[18:40:32] scan: chap 29 c=41->41, b=2700881->2755787 (54907), 125264 ms
[18:40:32] scan: chap 30 c=42->43, b=2755788->2916967 (161180), 359066 ms
[18:40:32] scan: chap 31 c=44->44, b=2916968->2944046 (27079), 65427 ms
[18:40:32] scan: chap 32 c=45->45, b=2944047->3011637 (67591), 145293 ms
[18:40:32] scan: chap 33 c=46->46, b=3011638->3047770 (36133), 83162 ms
[18:40:32] scan: chap 34 c=47->48, b=3047771->3168084 (120314), 266606 ms
[18:40:32] scan: chap 35 c=49->49, b=3168085->3201499 (33415), 79475 ms
[18:40:32] scan: chap 36 c=50->50, b=3201500->3269867 (68368), 143455 ms
[18:40:32] scan: chap 37 c=51->51, b=3269868->3302371 (32504), 75322 ms
[18:40:32] scan: chap 38 c=52->52, b=3302372->3353029 (50658), 112419 ms
[18:40:32] scan: chap 39 c=53->53, b=3353030->3376351 (23322), 53404 ms
[18:40:32] scan: chap 40 c=54->54, b=3376352->3397847 (21496), 44086 ms
[18:40:32] scan: chap 41 c=55->56, b=3397848->3489345 (91498), 185758 ms
[18:40:32] scan: chap 42 c=57->57, b=3489346->3564178 (74833), 165475 ms
[18:40:32] scan: chap 43 c=58->59, b=3564179->3633875 (69697), 161514 ms
[18:40:32] scan: chap 44 c=60->61, b=3633876->3744086 (110211), 241824 ms
[18:40:32] scan: chap 45 c=62->62, b=3744087->3744091 (5), 176 ms
[18:40:32] scan: aspect = 0
[18:40:32] scan: decoding previews for title 1
[18:40:32] scan: audio 0x81bd: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[18:40:32] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (Dolby Surround)
[18:40:32] scan: audio 0x82bd: AC-3, rate=48000Hz, bitrate=192000 Francais (AC3) (Dolby Surround)
[18:40:32] 120.309776s: Video -> Film
[18:40:34] scan: 10 previews, 720x480, 23.976 fps, autocrop = 100/104/0/2, aspect 4:3, PAR 8:9
[18:40:34] scan: title (0) job->width:624, job->height:272
[18:40:34] libhb: scan thread found 1 valid title(s)
[18:40:34] macgui: ScanDone state received from fQueueEncodeLibhb
[18:40:34] macgui: processNewQueueEncode title list is: 1
[18:40:34] macgui: Preset: Custom
[18:40:34] macgui: processNewQueueEncode number of passes expected is: 1
[18:40:34] macgui: prepareJob exiting
[18:40:34] 1 job(s) to process
[18:40:34] starting job
[18:40:34] job configuration:
[18:40:34]  * source
[18:40:34]    + /dev/disk3
[18:40:34]    + title 1, chapter(s) 1 to 45
[18:40:34]  * destination
[18:40:34]    + /Users/Ryan/Desktop/TRUELIES.m4v
[18:40:34]    + container: MPEG-4 (.mp4 and .m4v)
[18:40:34]      + compatibility atom for iPod 5G
[18:40:34]      + chapter markers
[18:40:34]  * video track
[18:40:34]    + decoder: mpeg2
[18:40:34]      + bitrate 9800 kbps
[18:40:34]    + frame rate: same as source (around 23.976 fps)
[18:40:34]    + strict anamorphic
[18:40:34]      + storage dimensions: 720 * 480 -> 712 * 270, crop 104/106/6/2
[18:40:34]      + pixel aspect ratio: 8 / 9
[18:40:34]      + display dimensions: 632 * 270
[18:40:34]    + encoder: x264
[18:40:34]      + options: level=30:cabac=0:ref=3:mixed-refs=1:analyse=all:me=umh:no-fast-pskip=1
[18:40:34]      + quality: 0.59
[18:40:34]  * audio track 0
[18:40:34]    + decoder: English (AC3) (5.1 ch) (track 2, id 81bd)
[18:40:34]      + bitrate: 448 kbps, samplerate: 48000 Hz
[18:40:34]    + mixdown: Dolby Pro Logic II
[18:40:34]    + encoder: faac
[18:40:34]      + bitrate: 128 kbps, samplerate: 48000 Hz
[18:40:34] encx264: keyint-min: 24, keyint-max: 240
[18:40:34] encx264: encoding with stored aspect 8/9
[18:40:34] encx264: Encoding at constant RF 20.910002
x264 [warning]: width or height not divisible by 16 (712x270), compression will suffer.
x264 [info]: using SAR=8/9
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 PHADD SSE4.1 Cache64
x264 [info]: profile Baseline, level 3.0
No accelerated IMDCT transform found
[18:40:34] sync: expecting 202382 video frames
[18:40:35] reader: first SCR 146
[18:40:35] mpeg2: "Chapter  1" (1) at frame 0 time 3003
[18:40:35] sync: first pts is 3003
[18:40:35] a52_syncinfo failed
[18:40:35] a52_syncinfo ok
[18:40:35] sync: video time didn't advance - dropped 10 frames (delta 396 ms, current 88586, next 90392, dur 1806)
[18:40:57] mpeg2: "Chapter  2" (2) at frame 1793 time 6692843
[18:43:39] sync: audio 0 time went backwards 0 ms, dropped 5 frames (next 43896960, current 43896960)
[18:44:01] mpeg2: "Chapter  3" (3) at frame 13036 time 48894446
[18:44:58] mpeg2: "Chapter  4" (4) at frame 16421 time 61601638
[18:46:20] mpeg2: "Chapter  5" (5) at frame 20881 time 78342240
[18:46:59] mpeg2: "Chapter  6" (6) at frame 23460 time 88023912
[18:48:05] mpeg2: "Chapter  7" (7) at frame 27356 time 102648853
[18:48:41] mpeg2: "Chapter  8" (8) at frame 29440 time 110471668
[18:49:50] mpeg2: "Chapter  9" (9) at frame 33832 time 126958137
[18:51:17] mpeg2: "Chapter 10" (10) at frame 39116 time 146793329
[18:52:16] mpeg2: "Chapter 11" (11) at frame 42589 time 159830851
[18:53:22] mpeg2: "Chapter 12" (12) at frame 46108 time 173039870
[18:57:14] mpeg2: "Chapter 13" (13) at frame 58712 time 220352536
[18:57:54] mpeg2: "Chapter 14" (14) at frame 61363 time 230304831
[18:59:08] mpeg2: "Chapter 15" (15) at frame 66003 time 247722231
[19:00:51] mpeg2: "Chapter 16" (16) at frame 72127 time 270710560
[19:01:48] mpeg2: "Chapter 17" (17) at frame 75758 time 284341578
[19:03:34] mpeg2: "Chapter 18" (18) at frame 81639 time 306416631
[19:04:25] mpeg2: "Chapter 19" (19) at frame 84687 time 317858059
[19:05:02] mpeg2: "Chapter 20" (20) at frame 86830 time 325903462
[19:06:55] mpeg2: "Chapter 21" (21) at frame 93557 time 351154186
[19:10:12] mpeg2: "Chapter 22" (22) at frame 105384 time 395552683
[19:10:58] mpeg2: "Chapter 23" (23) at frame 108132 time 405867988
[19:12:37] mpeg2: "Chapter 24" (24) at frame 113928 time 427625044
[19:15:53] mpeg2: "Chapter 25" (25) at frame 125435 time 470820527
[19:16:35] mpeg2: "Chapter 26" (26) at frame 128074 time 480655352
[19:18:55] mpeg2: "Chapter 27" (27) at frame 136754 time 513238691
[19:20:54] mpeg2: "Chapter 28" (28) at frame 144438 time 542082506
[19:21:43] mpeg2: "Chapter 29" (29) at frame 147178 time 552368134
[19:22:31] mpeg2: "Chapter 30" (30) at frame 150194 time 563689444
[19:25:06] mpeg2: "Chapter 31" (31) at frame 158795 time 595972137
[19:25:36] mpeg2: "Chapter 32" (32) at frame 160362 time 601855391
[19:26:41] mpeg2: "Chapter 33" (33) at frame 163850 time 614948471
[19:27:16] mpeg2: "Chapter 34" (34) at frame 165842 time 622425941
[19:29:16] mpeg2: "Chapter 35" (35) at frame 172244 time 646456289
[19:29:46] mpeg2: "Chapter 36" (36) at frame 174163 time 653660486
[19:30:45] mpeg2: "Chapter 37" (37) at frame 177607 time 666588398
[19:31:17] mpeg2: "Chapter 38" (38) at frame 179419 time 673390584
[19:32:04] mpeg2: "Chapter 39" (39) at frame 182112 time 683498682
[19:32:27] mpeg2: "Chapter 40" (40) at frame 183391 time 688300479
[19:32:47] mpeg2: "Chapter 41" (41) at frame 184447 time 692264439
[19:34:13] mpeg2: "Chapter 42" (42) at frame 188920 time 709054543
[19:35:23] mpeg2: "Chapter 43" (43) at frame 192908 time 723991465
[19:36:26] mpeg2: "Chapter 44" (44) at frame 196777 time 738514304
[19:37:48] dvd: end of cell 62 at block 3744087
[19:37:48] reader: done. 27 scr changes
[19:37:49] mpeg2: "Chapter 45" (45) at frame 202590 time 760314901
[19:37:49] sync: got 202580 frames, 202382 expected
[19:37:49] work: average encoding speed for job is 58.956165 fps
[19:37:49] mpeg2 done: 202591 frames
[19:37:49] render: lost time: 0 (0 frames)
[19:37:49] render: gained time: 0 (0 frames) (0 not accounted for)
x264 [info]: slice I:2548  Avg QP:21.43  size: 24313  PSNR Mean Y:41.65 U:46.63 V:46.76 Avg:42.65 Global:41.66
x264 [info]: slice P:200032 Avg QP:24.62  size:  5986  PSNR Mean Y:38.68 U:45.12 V:45.03 Avg:39.76 Global:38.58
x264 [info]: mb I  I16..4: 12.3%  0.0% 87.7%
x264 [info]: mb P  I16..4:  1.0%  0.0%  4.6%  P16..4: 56.5% 19.8%  9.4%  0.6%  0.7%    skip: 7.6%
x264 [info]: ref P L0  77.7% 13.8%  8.5%
x264 [info]: SSIM Mean Y:0.9636726
x264 [info]: PSNR Mean Y:38.719 U:45.142 V:45.054 Avg:39.791 Global:38.605 kb/s:1192.39
[19:37:49] libhb: work result = 0
[19:37:49] macgui: incrementQueueItemDone currentQueueEncodeIndex is incremented to: 1
[19:37:49] macgui: incrementQueueItemDone the 0 item queue is complete
now the 2.0 track

Code: Select all

[21:41:26] macgui: Handbrake Version: 0.9.3 (2008112300)
[21:41:27] hb_init: checking cpu count
[21:41:27] hb_init: starting libhb thread
[21:41:27] hb_init: checking cpu count
[21:41:27] hb_init: starting libhb thread
[21:41:31] macgui: trying to open video_ts folder (parent directory chosen)
[21:41:31] macgui: trying to open a physical dvd at: /Volumes/TRUELIES
[21:41:31] macgui: VLC app found for decrypting physical dvd
[21:41:31] hb_scan: path=/dev/disk2, title_index=0
[21:41:31] scan: trying to open with libdvdread
[21:41:32] scan: DVD has 4 title(s)
[21:41:32] scan: scanning title 1
[21:41:32] scan: opening IFO for VTS 3
[21:41:32] pgc_id: 1, pgn: 1: pgc: 0x16a93ac0
[21:41:32] scan: vts=3, ttn=1, cells=0->62, blocks=0->3744091, 3744092 blocks
[21:41:32] scan: duration is 02:20:40 (8440043 ms)
[21:41:32] scan: checking audio 1
[21:41:32] scan: id=80bd, lang=English (AC3), 3cc=eng ext=1
[21:41:32] scan: checking audio 2
[21:41:32] scan: id=81bd, lang=English (AC3), 3cc=eng ext=1
[21:41:32] scan: checking audio 3
[21:41:32] scan: id=82bd, lang=Francais (AC3), 3cc=fra ext=1
[21:41:32] scan: checking subtitle 1
[21:41:32] scan: id=20bd, lang=English (Closed Caption), 3cc=eng
[21:41:32] scan: checking subtitle 2
[21:41:32] scan: id=21bd, lang=Espanol, 3cc=spa
[21:41:32] scan: checking subtitle 3
[21:41:32] scan: id=22bd, lang=Francais, 3cc=fra
[21:41:32] scan: title 1 has 45 chapters
[21:41:32] scan: chap 1 c=0->1, b=0->25349 (25350), 74521 ms
[21:41:32] scan: chap 2 c=2->3, b=25350->225266 (199917), 469058 ms
[21:41:32] scan: chap 3 c=4->4, b=225267->287896 (62630), 141308 ms
[21:41:32] scan: chap 4 c=5->5, b=287897->368355 (80459), 185548 ms
[21:41:32] scan: chap 5 c=6->6, b=368356->411770 (43415), 107352 ms
[21:41:32] scan: chap 6 c=7->8, b=411771->488011 (76241), 162326 ms
[21:41:32] scan: chap 7 c=9->9, b=488012->526454 (38443), 86354 ms
[21:41:32] scan: chap 8 c=10->10, b=526455->610704 (84250), 183357 ms
[21:41:32] scan: chap 9 c=11->11, b=610705->707604 (96900), 220596 ms
[21:41:32] scan: chap 10 c=12->12, b=707605->769011 (61407), 144334 ms
[21:41:32] scan: chap 11 c=13->13, b=769012->835365 (66354), 146596 ms
[21:41:32] scan: chap 12 c=14->15, b=835366->1075972 (240607), 525545 ms
[21:41:32] scan: chap 13 c=16->17, b=1075973->1121507 (45535), 109386 ms
[21:41:32] scan: chap 14 c=18->18, b=1121508->1205937 (84430), 193387 ms
[21:41:32] scan: chap 15 c=19->20, b=1205938->1320289 (114352), 255017 ms
[21:41:32] scan: chap 16 c=21->22, b=1320290->1384058 (63769), 150623 ms
[21:41:32] scan: chap 17 c=23->23, b=1384059->1501118 (117060), 245512 ms
[21:41:32] scan: chap 18 c=24->24, b=1501119->1550201 (49083), 127248 ms
[21:41:32] scan: chap 19 c=25->25, b=1550202->1588935 (38734), 89474 ms
[21:41:32] scan: chap 20 c=26->26, b=1588936->1715116 (126181), 280848 ms
[21:41:32] scan: chap 21 c=27->28, b=1715117->1926718 (211602), 493115 ms
[21:41:32] scan: chap 22 c=29->29, b=1926719->1974641 (47923), 114399 ms
[21:41:32] scan: chap 23 c=30->31, b=1974642->2088039 (113398), 241647 ms
[21:41:32] scan: chap 24 c=32->33, b=2088040->2301138 (213099), 480079 ms
[21:41:32] scan: chap 25 c=34->34, b=2301139->2350220 (49082), 109379 ms
[21:41:32] scan: chap 26 c=35->37, b=2350221->2512253 (162033), 361077 ms
[21:41:32] scan: chap 27 c=38->38, b=2512254->2646365 (134112), 320792 ms
[21:41:32] scan: chap 28 c=39->40, b=2646366->2700880 (54515), 113417 ms
[21:41:32] scan: chap 29 c=41->41, b=2700881->2755787 (54907), 125264 ms
[21:41:32] scan: chap 30 c=42->43, b=2755788->2916967 (161180), 359066 ms
[21:41:32] scan: chap 31 c=44->44, b=2916968->2944046 (27079), 65427 ms
[21:41:32] scan: chap 32 c=45->45, b=2944047->3011637 (67591), 145293 ms
[21:41:32] scan: chap 33 c=46->46, b=3011638->3047770 (36133), 83162 ms
[21:41:32] scan: chap 34 c=47->48, b=3047771->3168084 (120314), 266606 ms
[21:41:32] scan: chap 35 c=49->49, b=3168085->3201499 (33415), 79475 ms
[21:41:32] scan: chap 36 c=50->50, b=3201500->3269867 (68368), 143455 ms
[21:41:32] scan: chap 37 c=51->51, b=3269868->3302371 (32504), 75322 ms
[21:41:32] scan: chap 38 c=52->52, b=3302372->3353029 (50658), 112419 ms
[21:41:32] scan: chap 39 c=53->53, b=3353030->3376351 (23322), 53404 ms
[21:41:32] scan: chap 40 c=54->54, b=3376352->3397847 (21496), 44086 ms
[21:41:32] scan: chap 41 c=55->56, b=3397848->3489345 (91498), 185758 ms
[21:41:32] scan: chap 42 c=57->57, b=3489346->3564178 (74833), 165475 ms
[21:41:32] scan: chap 43 c=58->59, b=3564179->3633875 (69697), 161514 ms
[21:41:32] scan: chap 44 c=60->61, b=3633876->3744086 (110211), 241824 ms
[21:41:32] scan: chap 45 c=62->62, b=3744087->3744091 (5), 176 ms
[21:41:32] scan: aspect = 0
[21:41:32] scan: scanning title 2
[21:41:32] scan: opening IFO for VTS 2
[21:41:32] pgc_id: 1, pgn: 1: pgc: 0x16abd370
[21:41:32] scan: vts=2, ttn=1, cells=0->0, blocks=0->70523, 70524 blocks
[21:41:32] scan: duration is 00:02:20 (140020 ms)
[21:41:32] scan: checking audio 1
[21:41:32] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[21:41:32] scan: title 2 has 1 chapters
[21:41:32] scan: chap 1 c=0->0, b=0->70523 (70524), 140020 ms
[21:41:32] scan: aspect = 0
[21:41:32] scan: scanning title 3
[21:41:32] scan: opening IFO for VTS 4
[21:41:32] pgc_id: 1, pgn: 1: pgc: 0x16aa3c70
[21:41:32] scan: vts=4, ttn=1, cells=0->1, blocks=0->6256, 6257 blocks
[21:41:32] scan: duration is 00:00:29 (29176 ms)
[21:41:32] scan: checking audio 1
[21:41:32] scan: id=80bd, lang=Unknown (AC3), 3cc=und ext=0
[21:41:32] scan: title 3 has 3 chapters
[21:41:32] scan: chap 2 c=0->0, b=6257->6261 (3868), 7176 ms
[21:41:32] scan: chap 3 c=1->1, b=3868->6256 (2389), 22000 ms
[21:41:32] scan: aspect = 0
[21:41:32] scan: scanning title 4
[21:41:32] scan: opening IFO for VTS 1
[21:41:32] pgc_id: 1, pgn: 1: pgc: 0x16abd370
[21:41:32] scan: vts=1, ttn=1, cells=0->0, blocks=0->4, 5 blocks
[21:41:32] scan: duration is 00:00:00 (176 ms)
[21:41:32] scan: ignoring title (too short)
[21:41:32] scan: decoding previews for title 1
[21:41:33] scan: audio 0x81bd: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[21:41:33] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (Dolby Surround)
[21:41:33] scan: audio 0x82bd: AC-3, rate=48000Hz, bitrate=192000 Francais (AC3) (Dolby Surround)
[21:41:34] scan: 10 previews, 720x480, 23.976 fps, autocrop = 100/104/0/2, aspect 4:3, PAR 8:9
[21:41:34] scan: decoding previews for title 2
[21:41:35] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[21:41:36] scan: 10 previews, 720x480, 23.976 fps, autocrop = 0/0/2/12, aspect 4:3, PAR 8:9
[21:41:36] scan: decoding previews for title 3
[21:41:39] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=384000 Unknown (AC3) (5.1 ch)
[21:41:39] 2.687411s: Film -> Video
[21:41:40] scan: 10 previews, 720x480, 29.970 fps, autocrop = 94/94/56/54, aspect 4:3, PAR 8:9
[21:41:40] scan: title (0) job->width:624, job->height:272
[21:41:40] scan: title (1) job->width:624, job->height:480
[21:41:40] scan: title (2) job->width:528, job->height:288
[21:41:41] libhb: scan thread found 3 valid title(s)
[21:41:41] macgui: ScanDone state received from fHandle
[21:45:58] macgui: Rip: Pending queue count is 0
[21:45:58] macgui: Rip: No pending jobs, so sending this one to doAddToQueue
[21:45:58] macgui: Rip: Going right to performNewQueueScan
[21:45:58] macgui: scanning specifically for title: 1
[21:45:58] macgui: performNewQueueScan currentQueueEncodeIndex is: 0
[21:45:58] hb_scan: path=/dev/disk2, title_index=1
[21:45:58] scan: trying to open with libdvdread
[21:45:58] scan: DVD has 4 title(s)
[21:45:58] scan: scanning title 1
[21:45:58] scan: opening IFO for VTS 3
[21:45:59] pgc_id: 1, pgn: 1: pgc: 0x172c51f0
[21:45:59] scan: vts=3, ttn=1, cells=0->62, blocks=0->3744091, 3744092 blocks
[21:45:59] scan: duration is 02:20:40 (8440043 ms)
[21:45:59] scan: checking audio 1
[21:45:59] scan: id=80bd, lang=English (AC3), 3cc=eng ext=1
[21:45:59] scan: checking audio 2
[21:45:59] scan: id=81bd, lang=English (AC3), 3cc=eng ext=1
[21:45:59] scan: checking audio 3
[21:45:59] scan: id=82bd, lang=Francais (AC3), 3cc=fra ext=1
[21:45:59] scan: checking subtitle 1
[21:45:59] scan: id=20bd, lang=English (Closed Caption), 3cc=eng
[21:45:59] scan: checking subtitle 2
[21:45:59] scan: id=21bd, lang=Espanol, 3cc=spa
[21:45:59] scan: checking subtitle 3
[21:45:59] scan: id=22bd, lang=Francais, 3cc=fra
[21:45:59] scan: title 1 has 45 chapters
[21:45:59] scan: chap 1 c=0->1, b=0->25349 (25350), 74521 ms
[21:45:59] scan: chap 2 c=2->3, b=25350->225266 (199917), 469058 ms
[21:45:59] scan: chap 3 c=4->4, b=225267->287896 (62630), 141308 ms
[21:45:59] scan: chap 4 c=5->5, b=287897->368355 (80459), 185548 ms
[21:45:59] scan: chap 5 c=6->6, b=368356->411770 (43415), 107352 ms
[21:45:59] scan: chap 6 c=7->8, b=411771->488011 (76241), 162326 ms
[21:45:59] scan: chap 7 c=9->9, b=488012->526454 (38443), 86354 ms
[21:45:59] scan: chap 8 c=10->10, b=526455->610704 (84250), 183357 ms
[21:45:59] scan: chap 9 c=11->11, b=610705->707604 (96900), 220596 ms
[21:45:59] scan: chap 10 c=12->12, b=707605->769011 (61407), 144334 ms
[21:45:59] scan: chap 11 c=13->13, b=769012->835365 (66354), 146596 ms
[21:45:59] scan: chap 12 c=14->15, b=835366->1075972 (240607), 525545 ms
[21:45:59] scan: chap 13 c=16->17, b=1075973->1121507 (45535), 109386 ms
[21:45:59] scan: chap 14 c=18->18, b=1121508->1205937 (84430), 193387 ms
[21:45:59] scan: chap 15 c=19->20, b=1205938->1320289 (114352), 255017 ms
[21:45:59] scan: chap 16 c=21->22, b=1320290->1384058 (63769), 150623 ms
[21:45:59] scan: chap 17 c=23->23, b=1384059->1501118 (117060), 245512 ms
[21:45:59] scan: chap 18 c=24->24, b=1501119->1550201 (49083), 127248 ms
[21:45:59] scan: chap 19 c=25->25, b=1550202->1588935 (38734), 89474 ms
[21:45:59] scan: chap 20 c=26->26, b=1588936->1715116 (126181), 280848 ms
[21:45:59] scan: chap 21 c=27->28, b=1715117->1926718 (211602), 493115 ms
[21:45:59] scan: chap 22 c=29->29, b=1926719->1974641 (47923), 114399 ms
[21:45:59] scan: chap 23 c=30->31, b=1974642->2088039 (113398), 241647 ms
[21:45:59] scan: chap 24 c=32->33, b=2088040->2301138 (213099), 480079 ms
[21:45:59] scan: chap 25 c=34->34, b=2301139->2350220 (49082), 109379 ms
[21:45:59] scan: chap 26 c=35->37, b=2350221->2512253 (162033), 361077 ms
[21:45:59] scan: chap 27 c=38->38, b=2512254->2646365 (134112), 320792 ms
[21:45:59] scan: chap 28 c=39->40, b=2646366->2700880 (54515), 113417 ms
[21:45:59] scan: chap 29 c=41->41, b=2700881->2755787 (54907), 125264 ms
[21:45:59] scan: chap 30 c=42->43, b=2755788->2916967 (161180), 359066 ms
[21:45:59] scan: chap 31 c=44->44, b=2916968->2944046 (27079), 65427 ms
[21:45:59] scan: chap 32 c=45->45, b=2944047->3011637 (67591), 145293 ms
[21:45:59] scan: chap 33 c=46->46, b=3011638->3047770 (36133), 83162 ms
[21:45:59] scan: chap 34 c=47->48, b=3047771->3168084 (120314), 266606 ms
[21:45:59] scan: chap 35 c=49->49, b=3168085->3201499 (33415), 79475 ms
[21:45:59] scan: chap 36 c=50->50, b=3201500->3269867 (68368), 143455 ms
[21:45:59] scan: chap 37 c=51->51, b=3269868->3302371 (32504), 75322 ms
[21:45:59] scan: chap 38 c=52->52, b=3302372->3353029 (50658), 112419 ms
[21:45:59] scan: chap 39 c=53->53, b=3353030->3376351 (23322), 53404 ms
[21:45:59] scan: chap 40 c=54->54, b=3376352->3397847 (21496), 44086 ms
[21:45:59] scan: chap 41 c=55->56, b=3397848->3489345 (91498), 185758 ms
[21:45:59] scan: chap 42 c=57->57, b=3489346->3564178 (74833), 165475 ms
[21:45:59] scan: chap 43 c=58->59, b=3564179->3633875 (69697), 161514 ms
[21:45:59] scan: chap 44 c=60->61, b=3633876->3744086 (110211), 241824 ms
[21:45:59] scan: chap 45 c=62->62, b=3744087->3744091 (5), 176 ms
[21:45:59] scan: aspect = 0
[21:45:59] scan: decoding previews for title 1
[21:45:59] scan: audio 0x81bd: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[21:45:59] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (Dolby Surround)
[21:45:59] scan: audio 0x82bd: AC-3, rate=48000Hz, bitrate=192000 Francais (AC3) (Dolby Surround)
[21:45:59] 120.309776s: Video -> Film
[21:46:01] scan: 10 previews, 720x480, 23.976 fps, autocrop = 100/104/0/2, aspect 4:3, PAR 8:9
[21:46:01] scan: title (0) job->width:624, job->height:272
[21:46:01] libhb: scan thread found 1 valid title(s)
[21:46:01] macgui: ScanDone state received from fQueueEncodeLibhb
[21:46:01] macgui: processNewQueueEncode title list is: 1
[21:46:01] macgui: Preset: Custom
[21:46:01] macgui: processNewQueueEncode number of passes expected is: 1
[21:46:01] macgui: prepareJob exiting
[21:46:01] 1 job(s) to process
[21:46:01] starting job
[21:46:01] job configuration:
[21:46:01]  * source
[21:46:01]    + /dev/disk2
[21:46:01]    + title 1, chapter(s) 1 to 45
[21:46:01]  * destination
[21:46:01]    + /Users/**/Desktop/True Lies.mp4
[21:46:01]    + container: MPEG-4 (.mp4 and .m4v)
[21:46:01]      + compatibility atom for iPod 5G
[21:46:01]      + chapter markers
[21:46:01]  * video track
[21:46:01]    + decoder: mpeg2
[21:46:01]      + bitrate 9800 kbps
[21:46:01]    + frame rate: same as source (around 23.976 fps)
[21:46:01]    + dimensions: 720 * 480 -> 640 * 272, crop 102/106/6/2
[21:46:01]    + filter
[21:46:01]      + Deinterlaces selectively with yadif/mcdeint and lowpass5 blending (1:2:6:9:80:16:16)
[21:46:01]    + encoder: x264
[21:46:01]      + options: level=30:cabac=0:ref=3:mixed-refs=1:analyse=all:me=umh:no-fast-pskip=1
[21:46:01]      + quality: 0.59
[21:46:01]  * audio track 0
[21:46:01]    + decoder: English (AC3) (Dolby Surround) (track 1, id 80bd)
[21:46:01]      + bitrate: 192 kbps, samplerate: 48000 Hz
[21:46:01]    + mixdown: Dolby Surround
[21:46:01]    + encoder: faac
[21:46:01]      + bitrate: 128 kbps, samplerate: 48000 Hz
[21:46:01] yadif thread started for segment 0
[21:46:01] yadif thread started for segment 1
[21:46:01] yadif thread started for segment 2
[21:46:01] yadif thread started for segment 3
[21:46:01] decomb thread started for segment 0
[21:46:01] decomb thread started for segment 1
[21:46:01] decomb thread started for segment 2
[21:46:01] decomb thread started for segment 3
[21:46:01] encx264: keyint-min: 24, keyint-max: 240
[21:46:01] encx264: Encoding at constant RF 20.910002
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 PHADD SSE4.1 Cache64
x264 [info]: profile Baseline, level 3.0
No accelerated IMDCT transform found
[21:46:01] sync: expecting 202382 video frames
[21:46:02] reader: first SCR 146
[21:46:02] mpeg2: "Chapter  1" (1) at frame 0 time 3003
[21:46:02] sync: first pts is 3003
[21:46:02] a52_syncinfo failed
[21:46:02] a52_syncinfo ok
[21:46:02] sync: video time didn't advance - dropped 10 frames (delta 396 ms, current 88586, next 90392, dur 1806)
[21:46:25] mpeg2: "Chapter  2" (2) at frame 1793 time 6697164
[21:49:09] sync: adding 78 ms of silence to audio 0  start 43903995, next 43896960
[21:49:32] mpeg2: "Chapter  3" (3) at frame 13036 time 48903120
[21:50:33] mpeg2: "Chapter  4" (4) at frame 16421 time 61610312
[21:51:59] mpeg2: "Chapter  5" (5) at frame 20881 time 78349429
[21:52:41] mpeg2: "Chapter  6" (6) at frame 23460 time 88031101
[21:53:52] mpeg2: "Chapter  7" (7) at frame 27356 time 102660430
[21:54:32] mpeg2: "Chapter  8" (8) at frame 29440 time 110483245
[21:55:46] sync: adding 106 ms of silence to audio 0  start 126962861, next 126953280
[21:55:46] mpeg2: "Chapter  9" (9) at frame 33832 time 126969714
[21:57:19] mpeg2: "Chapter 10" (10) at frame 39116 time 146809226
[21:58:24] mpeg2: "Chapter 11" (11) at frame 42589 time 159846748
[21:59:34] mpeg2: "Chapter 12" (12) at frame 46108 time 173057217
[22:01:20] sync: adding 81 ms of silence to audio 0  start 192765763, next 192758400
[22:03:39] mpeg2: "Chapter 13" (13) at frame 58712 time 220374133
[22:04:21] mpeg2: "Chapter 14" (14) at frame 61363 time 230330749
[22:05:40] mpeg2: "Chapter 15" (15) at frame 66003 time 247748149
[22:07:30] mpeg2: "Chapter 16" (16) at frame 72127 time 270735028
[22:08:27] sync: adding 92 ms of silence to audio 0  start 283747510, next 283739203
[22:08:27] sync: audio 0 time went backwards 0 ms, dropped 3 frames (next 283747843, current 283747843)
[22:08:29] mpeg2: "Chapter 17" (17) at frame 75758 time 284370364
[22:10:18] mpeg2: "Chapter 18" (18) at frame 81639 time 306445417
[22:11:09] mpeg2: "Chapter 19" (19) at frame 84687 time 317886845
[22:11:46] mpeg2: "Chapter 20" (20) at frame 86830 time 325930798
[22:13:41] mpeg2: "Chapter 21" (21) at frame 93557 time 351181522
[22:16:58] mpeg2: "Chapter 22" (22) at frame 105384 time 395583055
[22:17:44] mpeg2: "Chapter 23" (23) at frame 108132 time 405898360
[22:19:19] mpeg2: "Chapter 24" (24) at frame 113928 time 427656934
[22:22:33] mpeg2: "Chapter 25" (25) at frame 125435 time 470851000
[22:23:17] mpeg2: "Chapter 26" (26) at frame 128074 time 480685825
[22:25:38] mpeg2: "Chapter 27" (27) at frame 136754 time 513269093
[22:27:43] mpeg2: "Chapter 28" (28) at frame 144438 time 542112908
[22:28:01] sync: adding 108 ms of silence to audio 0  start 545381172, next 545371384
[22:28:39] mpeg2: "Chapter 29" (29) at frame 147178 time 552402822
[22:29:35] mpeg2: "Chapter 30" (30) at frame 150194 time 563724132
[22:32:16] mpeg2: "Chapter 31" (31) at frame 158795 time 596008275
[22:32:47] mpeg2: "Chapter 32" (32) at frame 160362 time 601892981
[22:33:53] mpeg2: "Chapter 33" (33) at frame 163850 time 614986061
[22:34:28] mpeg2: "Chapter 34" (34) at frame 165842 time 622463531
[22:36:29] mpeg2: "Chapter 35" (35) at frame 172244 time 646495296
[22:36:59] mpeg2: "Chapter 36" (36) at frame 174163 time 653699493
[22:37:59] mpeg2: "Chapter 37" (37) at frame 177607 time 666627405
[22:38:31] mpeg2: "Chapter 38" (38) at frame 179419 time 673430974
[22:39:19] mpeg2: "Chapter 39" (39) at frame 182112 time 683539072
[22:39:42] mpeg2: "Chapter 40" (40) at frame 183391 time 688340869
[22:40:02] mpeg2: "Chapter 41" (41) at frame 184447 time 692304829
[22:41:29] mpeg2: "Chapter 42" (42) at frame 188920 time 709093516
[22:42:40] mpeg2: "Chapter 43" (43) at frame 192908 time 724030438
[22:43:22] sync: adding 99 ms of silence to audio 0  start 733856186, next 733847224
[22:43:43] mpeg2: "Chapter 44" (44) at frame 196777 time 738557597
[22:45:06] dvd: end of cell 62 at block 3744087
[22:45:06] reader: done. 27 scr changes
[22:45:06] mpeg2: "Chapter 45" (45) at frame 202590 time 760362547
[22:45:06] sync: got 202580 frames, 202382 expected
[22:45:06] work: average encoding speed for job is 57.127934 fps
[22:45:06] mpeg2 done: 202591 frames
[22:45:06] render: lost time: 0 (0 frames)
[22:45:06] render: gained time: 0 (0 frames) (0 not accounted for)
x264 [info]: slice I:2529  Avg QP:21.58  size: 22143  PSNR Mean Y:41.46 U:46.42 V:46.53 Avg:42.46 Global:41.48
x264 [info]: slice P:200050 Avg QP:24.82  size:  5286  PSNR Mean Y:38.50 U:44.91 V:44.80 Avg:39.57 Global:38.39
x264 [info]: mb I  I16..4: 11.8%  0.0% 88.2%
x264 [info]: mb P  I16..4:  1.0%  0.0%  4.4%  P16..4: 56.7% 19.1%  9.4%  0.7%  0.7%    skip: 8.1%
x264 [info]: ref P L0  77.8% 13.7%  8.5%
x264 [info]: SSIM Mean Y:0.9632856
x264 [info]: PSNR Mean Y:38.535 U:44.927 V:44.819 Avg:39.603 Global:38.418 kb/s:1054.20
[22:45:06] decomb: yadif deinterlaced 0 | blend deinterlaced 2852 | unfiltered 199727 | total 202579
[22:45:06] libhb: work result = 0
[22:45:07] macgui: incrementQueueItemDone currentQueueEncodeIndex is incremented to: 1
[22:45:07] macgui: incrementQueueItemDone the 0 item queue is complete

tallyho
Posts: 14
Joined: Tue May 06, 2008 7:55 am

Re: Audio synchronization (lip sync) *on interlaced material*

Post by tallyho » Sat Jan 31, 2009 9:59 am

To clarify, I have seen this issue manifest itself only on interlaced material. It could be caused by substandard sources, but it is apparent to a greater or lesser degree on all interlaced material I have encoded (all of these encodes had the decomb filter on using the default setting).

I don't think it's quite the same issue as Lostless mentions. I don't hear glitches on the audio track and it's not a sudden movement followed by a gradual sync back. It is a noticeable non-synchronization between actors' lip movements and the audio of their dialogue which varies second by second: a given utterance will be tightly in sync, but the next line of dialogue will look way off. The following utterance will be back in sync again. Assuming it was a bad source, I watched the DVD and the ripped (MTR) Video_TS folder, neither of which show the issue. On my computer I can line up the same scene in OSX's DVD Player (using the ripped Video_TS folder) and the Handbrake encode and there is a marked difference in lip-sync. I have re-watched various scenes over and over again doing A-B comparisons and the issue is definitely there.

Again to clarify, my initial reaction was that the only difference in my actions compared to all my successful encodes was to enable the decomb filter (because having checked the picture settings window, there were noticeable interlacing artefacts). Although this didn't seem a very convincing idea, I wondered whether the element of interpolation involved in deinterlacing might be causing the apparent lack of synchronization. So, I tried the same chapter of a DVD from Series 1 of The Sopranos (encoding from a Video_TS folder ripped using MTR) using each of the interlacing options in turn (slower, slow, fast, none) and then using the decomb filter. All of them had the same lack of consistent lip-sync. Again, opening this DVD rip in OSX's DVD Player app gave a playback with consistent lip-sync.

Again to clarify, there is a marked correlation (100%) between interlaced material and this variable lip-sync, within the set of encodes I have done (32 successful encodes on non-interlaced source material, 12 poor encodes from interlaced sources). Clearly, correlation does not imply causation, and if other people are using the Universal preset on interlaced sources (and enabling the decomb filter) with successful outcomes, then it must be the DVDs I have tried. Given that I have so far had 0% success rate with interlaced material though, I was just curious as to whether the activity log would reveal (to experts) something going wrong.

Winmann
Posts: 4
Joined: Wed Feb 04, 2009 6:27 pm

Re: Audio synchronization (lip sync) when using decomb filter

Post by Winmann » Wed Feb 04, 2009 6:44 pm

Hi there,
I am experiencing the exact same issues on interlaced material as tallyho does. But a cross check showed that these issues are not present while playing via vlc. Only Quicktime playback on my Macs and on AppleTV are affected. So maybe it´s not handbrake related. tallyho, can you confirm this?
Cheers
Winmann

jbrjake
Veteran User
Posts: 4805
Joined: Wed Dec 13, 2006 1:38 am

Re: Audio synchronization (lip sync) when using decomb filter

Post by jbrjake » Thu Feb 05, 2009 4:17 pm

Since the original poster seemingly refuses to do so, I've edited the thread title so it isn't blatantly inaccurate.

tallyho
Posts: 14
Joined: Tue May 06, 2008 7:55 am

Re: Audio synchronization (lip sync) with interlaced sources

Post by tallyho » Wed Mar 11, 2009 9:12 am

Well in the interest of accuracy, audio sync is proving to be a real problem even on material that isn't interlaced, and for which I have therefore had no need to alter anything from the Universal preset. I don't have an AppleTV yet, but have an iPhone, 3rd gen iPod nano and several Macs. For some of the encodes I've done, the lip sync is much better in VLC than in Quicktime, but not for all of them. I suppose it looks like this could be something that's happened with a Quicktime update from Apple or something.

I can encode a chapter in Handbrake and the same file in VisualHub, and when played in Quicktime, the VH encode is tightly synchronized but the Handbrake encode is off. However, many Handbrake encodes play back fine in Quicktime player, so it's not a consistent problem. I've read of potential AppleTV sync problems with AC3 audio from the AppleTV but I'm discussing playback on computers and iPhones/iPods. I'd be very happy to provide logs for specific encodes, and for testing purposes even send developers the resulting encodes of a sample video from both HB and VH, so you can verify the problem. However, if it's a Quicktime player issue, the Handbrake log might not be useful. On the other hand it's strange that VisualHub always seems to produce files that play back fine in QT, given that HB beats it hands down in every other respect (range of options, handling of multiple audio tracks, chapters etc etc)

Maybe instead of worrying about faulty encodes now, I should just accept it and wait for some future QT update to suddenly make them all play correctly. That would certainly save me a lot of re-encoding time...

rhester
Veteran User
Posts: 2888
Joined: Tue Apr 18, 2006 10:24 pm

Re: Audio synchronization (lip sync) with interlaced sources

Post by rhester » Wed Mar 11, 2009 2:28 pm

There's probably a very simple answer here. HandBrake produces VFR output. VisualHub is CFR.

If QT is having issues with VFR sync, there you go.

Rodney

tallyho
Posts: 14
Joined: Tue May 06, 2008 7:55 am

Re: Audio synchronization (lip sync) with interlaced sources

Post by tallyho » Wed Mar 11, 2009 4:34 pm

It really is so noticeable on my encodes that I'm surprised other people aren't commenting on it. Would the fact that all my DVDs are PAL, and the problematic ones are usually TV shows rather than movies be a contributing factor to my problem? Perhaps it doesn't arise on NTSC DVDs?

rhester
Veteran User
Posts: 2888
Joined: Tue Apr 18, 2006 10:24 pm

Re: Audio synchronization (lip sync) with interlaced sources

Post by rhester » Wed Mar 11, 2009 8:57 pm

Actually, if anything, it should be the opposite...PAL is CFR by definition.

Rodney

lone_tree
Posts: 75
Joined: Mon May 05, 2008 10:23 pm

Re: Audio synchronization (lip sync) with interlaced sources

Post by lone_tree » Sat Mar 28, 2009 12:51 am

tallyho wrote:It really is so noticeable on my encodes that I'm surprised other people aren't commenting on it. Would the fact that all my DVDs are PAL, and the problematic ones are usually TV shows rather than movies be a contributing factor to my problem? Perhaps it doesn't arise on NTSC DVDs?
I have noticed inconsistent sync issues as well. As Rodney points out, I think it may be VFR related. War is the latest film I've been looking at, and on my Mac in VLC the audio seems to be maybe 1/4 of a second late. When I view the same encode in QT, however, the audio is on. The audio is also OK in the source; the only reason I questioned this is because I ripped movie only in MTR. I have yet to view it on the ATV, but I plan on trying it tonight.

I have found one thing consistent, however. It seems that many interlaced, full-screen sources have serious sync issues. I don't fault HB, because the sources are crap for the most part.

Note, that on my encodes I use the Universal preset with Quality at 61%, DRC 1.5, Detelecine ON, and Decomb default. The sync issue is present in AAC and AC3 tracks.

tallyho
Posts: 14
Joined: Tue May 06, 2008 7:55 am

Re: Audio synchronization (lip sync) with interlaced sources

Post by tallyho » Sun Apr 05, 2009 1:59 pm

lone_tree wrote: I have found one thing consistent, however. It seems that many interlaced, full-screen sources have serious sync issues. I don't fault HB, because the sources are crap for the most part.
I quite agree that there are some bad sources, but the DVDs I have had problems with play back fine either in a DVD player or on a mac using the DVD player app.

One thing that may be of interest: 0.9.2 can produce properly lip-synced encodes of the DVDs I'm having trouble with. So my workaround is that for discs where 0.9.3 Universal preset produces out of sync encodes, I use 0.9.2 and am experimenting with starting with the old iPod hi-rez preset and enabling anamorphic and perhaps upping the data rate (I may try with "Constant quality" from the 0.9.2 GUI too). No doubt this information will be met with a withering put-down from some contributors to the HB project, but *something* must have changed with regard to sync from 0.9.2 to 0.9.3. For info I usually rip first with MTR then encode.

jbrjake
Veteran User
Posts: 4805
Joined: Wed Dec 13, 2006 1:38 am

Re: Audio synchronization (lip sync) with interlaced sources

Post by jbrjake » Mon Apr 06, 2009 2:55 pm

tallyho wrote:No doubt this information will be met with a withering put-down from some contributors to the HB project, but *something* must have changed with regard to sync from 0.9.2 to 0.9.3. For info I usually rip first with MTR then encode.
And as noted in the 0.9.3 changeset, what changed is that now HandBrake syncs *properly*.

jptelthorst
Posts: 7
Joined: Tue Jun 17, 2008 4:59 pm

Re: Audio synchronization (lip sync) with interlaced sources

Post by jptelthorst » Sat Apr 11, 2009 9:11 pm

I'm running 0.9.3 and have sync issues as well. Not all DVDs are affected, but some are quite noticeable even though the ripped .vob files play fine in VLC.

[Update]

As pointed out by Van here: http://forum.handbrake.fr/viewtopic.php ... 242#p54148, this is a bug. I built svn2318 and re-encoded the trouble-making DVD and the audio was synced. Again, not all of the DVDs I encoded with 0.9.3 had this problem, in fact of the 5-6 DVDs I encoded with 0.9.3, only one DVD ("An Ideal Husband") had an audio syncing issue.

lone_tree
Posts: 75
Joined: Mon May 05, 2008 10:23 pm

Re: Audio synchronization (lip sync) with interlaced sources

Post by lone_tree » Mon Apr 13, 2009 5:34 pm

Sweet, I'm content with it being a known issue. At least then there will be a fix in the next release. I'd like to compile the SVN but I haven't been able to do that for a few months. I keep getting build errors.

Luckily I still have most of my source DVDs on the HDD so I can re-encode these with 0.9.4 or the SVN (if I ever get it built).

[UPDATE] -- I re-encoded War (Jet Li, Jason Statham) using the latest SVN build and it appeared to correct the problem (as view in QT). I'll have to test it on the Apple TV where it was more noticeable. What I did was pull up both versions of the encode in QT side by side, set them to the same chapter so they were perfectly time-synced. Then I hit command + Enter to play them at the same time. The audio was EXACTLY in sync between the videos (I didn't hear any echo effect whatsoever), but the video on the left (the newer encode) was a split second, maybe 2-5 frames ahead of the older encode. Doesn't really make sense to me, seeing as the audio was behind, but it looks better now.

tallyho
Posts: 14
Joined: Tue May 06, 2008 7:55 am

Re: Audio synchronization (lip sync) with interlaced sources

Post by tallyho » Sat Apr 18, 2009 8:56 pm

jbrjake wrote:
tallyho wrote:No doubt this information will be met with a withering put-down from some contributors to the HB project, but *something* must have changed with regard to sync from 0.9.2 to 0.9.3. For info I usually rip first with MTR then encode.
And as noted in the 0.9.3 changeset, what changed is that now HandBrake syncs *properly*.
I'm just confused about why some of my DVDs, which play back in sync in a set-top DVD player, or the OSX DVD Player app, produce such noticeably out of sync encodes with HB, no matter which preset I choose, or whether or not I enable features such as deinterlace or decomb. The fact that an old piece of software, no longer developed (Visual Hub) can take the same DVDs and produce encodes where the sound and video are in sync just adds to my confusion. Clearly though, VH has nowhere near the video quality and features of HB (I don't think the version I bought can even add chapter markers).

Still, given that I'm no software developer, and it doesn't seem like there's going to be any progress here, I guess the only option is to look around for software which can produce encodes where the sound matches the picture. :|

Lostless
Posts: 53
Joined: Thu May 24, 2007 7:55 pm

Re: Audio synchronization (lip sync) with interlaced sources

Post by Lostless » Tue Apr 21, 2009 4:46 pm

after experimenting,ive come to this conclusion. When doing a video that has to rely on VFR like a movie copied off TV which has to detelcined, is where the problem really arises. QT plays back perfectly in sync, VLC has sync issues, MY ipods play back perfectly, My xbox360 is way out of sync and plays back choppy, my Wester digital TV also has major sync issues. I dont know where the problem lies, but seems any QT based decoder will sync up properly, but anything else just doesnt know how to handle the audio sync. Also I notice progressive encodes have the audio delayed a fraction of a second which varies which decoder im using. Im using the Universal defualt setting. Just adding decomb and detelcined and removing the ac3 track

lone_tree
Posts: 75
Joined: Mon May 05, 2008 10:23 pm

Re: Audio synchronization (lip sync) with interlaced sources

Post by lone_tree » Wed Apr 22, 2009 4:05 pm

Lostless wrote:seems any QT based decoder will sync up properly, but anything else just doesnt know how to handle the audio sync.
I have to disagree with you there. I have a couple of encodes that I played on my ATV and QuickTime on my Mac and on both devices are not in sync.

I share the same frustration with many users. Some say they have not experienced the problems, but there's enough of us that have to conclude that there is a problem (at least with some source DVDs). I think if we could all decide on a common source (or a couple sources) that various people could test to see if they get the same results, we could get some kind of conclusive results, and rule out people's different settings, etc.

Post Reply