I am using a 2015 iMac to import Digital8 videocassettes into digital files using a Sony DCR-TRV320 camcorder. These go cassettes go back to the 1980's. Most of them import fine, but I have a few with sound that is out of sync. I have started using Handbrake to try and correct this, but while I believe there is an improvement, it is not quite fixed.
Steps to reproduce the problem (If Applicable):
HandBrake version (e.g., 1.0.0):
Version 1.5.1
Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
macOS 12.1
HandBrake Activity Log ***required*** (see How-to get an activity log)
Code: Select all
[14:02:38] macgui: Handbrake Version: 1.5.1 (2022011000)
[14:02:38] Compile-time hardening features are enabled
[14:02:38] hb_init: starting libhb thread
[14:19:46] macgui: ScanCore scanning titles with a duration of 10 seconds or more
[14:19:46] CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
[14:19:46] - Intel microarchitecture Skylake
[14:19:46] - logical processor count: 8
[14:19:46] hb_scan: path=/Users/gb/Desktop/Tape 18B - sync.mp4, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:333: failed opening UDF image /Users/gb/Desktop/Tape 18B - sync.mp4
disc.c:437: error opening file BDMV/index.bdmv
disc.c:437: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2646: nav_get_title_list(/Users/gb/Desktop/Tape 18B - sync.mp4/) failed
[14:19:46] bd: not a bd - trying as a stream/file instead
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[14:19:46] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/gb/Desktop/Tape 18B - sync.mp4':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: isommp41mp42
creation_time : 2022-01-29T18:40:00.000000Z
comment : This video is about 2147483647-11-06 06:00:00
author :
title : Tape 18B - sync
Duration: 00:15:27.36, start: 0.000000, bitrate: 3666 kb/s
Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 100 kb/s (default)
Metadata:
creation_time : 2022-01-29T18:40:00.000000Z
handler_name : Core Media Audio
vendor_id : [0][0][0][0]
Stream #0:1(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709, progressive), 640x480 [SAR 1:1 DAR 4:3], 3562 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 60k tbc (default)
Metadata:
creation_time : 2022-01-29T18:40:00.000000Z
handler_name : Core Media Video
vendor_id : [0][0][0][0]
[14:19:46] scan: decoding previews for title 1
[14:19:46] scan: audio 0x0: aac, rate=48000Hz, bitrate=100142 English (AAC LC) (2.0 ch) (100 kbps)
[14:19:46] scan: 10 previews, 640x480, 29.970 fps, autocrop = 2/0/4/2, aspect 4:3, PAR 1:1, color profile: 6-1-6, chroma location: left
[14:19:46] libhb: scan thread found 1 valid title(s)
[14:19:46] macgui: ScanCore scan done
[14:19:46] decomb: deinterlaced 1 | blended 0 | unfiltered 0 | total 1
[14:22:00] decomb: deinterlaced 1 | blended 0 | unfiltered 0 | total 1
[14:22:03] decomb: deinterlaced 1 | blended 0 | unfiltered 0 | total 1
[14:22:03] decomb: deinterlaced 1 | blended 0 | unfiltered 0 | total 1
[14:22:03] decomb: deinterlaced 1 | blended 0 | unfiltered 0 | total 1
[14:22:03] decomb: deinterlaced 1 | blended 0 | unfiltered 0 | total 1
[14:22:03] decomb: deinterlaced 1 | blended 0 | unfiltered 0 | total 1
[14:22:14] Compile-time hardening features are enabled
[14:22:14] hb_init: starting libhb thread
[14:22:14] macgui: fr.handbrake.HandBrakeXPCService scanning specifically for title: 1
[14:22:14] CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
[14:22:14] - Intel microarchitecture Skylake
[14:22:14] - logical processor count: 8
[14:22:14] hb_scan: path=/Users/gb/Desktop/Tape 18B - sync.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:333: failed opening UDF image /Users/gb/Desktop/Tape 18B - sync.mp4
disc.c:437: error opening file BDMV/index.bdmv
disc.c:437: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2646: nav_get_title_list(/Users/gb/Desktop/Tape 18B - sync.mp4/) failed
[14:22:14] bd: not a bd - trying as a stream/file instead
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[14:22:14] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/gb/Desktop/Tape 18B - sync.mp4':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: isommp41mp42
creation_time : 2022-01-29T18:40:00.000000Z
comment : This video is about 2147483647-11-06 06:00:00
author :
title : Tape 18B - sync
Duration: 00:15:27.36, start: 0.000000, bitrate: 3666 kb/s
Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 100 kb/s (default)
Metadata:
creation_time : 2022-01-29T18:40:00.000000Z
handler_name : Core Media Audio
vendor_id : [0][0][0][0]
Stream #0:1(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709, progressive), 640x480 [SAR 1:1 DAR 4:3], 3562 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 60k tbc (default)
Metadata:
creation_time : 2022-01-29T18:40:00.000000Z
handler_name : Core Media Video
vendor_id : [0][0][0][0]
[14:22:14] scan: decoding previews for title 1
[14:22:14] scan: audio 0x0: aac, rate=48000Hz, bitrate=100142 English (AAC LC) (2.0 ch) (100 kbps)
[14:22:14] scan: 10 previews, 640x480, 29.970 fps, autocrop = 2/0/4/2, aspect 4:3, PAR 1:1, color profile: 6-1-6, chroma location: left
[14:22:14] libhb: scan thread found 1 valid title(s)
[14:22:14] macgui: fr.handbrake.HandBrakeXPCService scan done
[14:22:14] macgui: fr.handbrake.HandBrakeXPCService started encoding Tape 18B - sync.mp4
[14:22:14] macgui: fr.handbrake.HandBrakeXPCService with preset Fast 1080p30
[14:22:14] Starting work at: Sat Jan 29 14:22:14 2022
[14:22:14] 1 job(s) to process
[14:22:14] Starting Task: Encoding Pass
[14:22:14] work: only 1 chapter, disabling chapter markers
[14:22:14] job configuration:
[14:22:14] * source
[14:22:14] + /Users/gb/Desktop/Tape 18B - sync.mp4
[14:22:14] + title 1, chapter(s) 1 to 1
[14:22:14] + container: mov,mp4,m4a,3gp,3g2,mj2
[14:22:14] + data rate: 3666 kbps
[14:22:14] * destination
[14:22:14] + /Users/gb/Desktop/iMac Issues/Tape 18B - sync.mp4
[14:22:14] + container: MPEG-4 (libavformat)
[14:22:14] + align initial A/V stream timestamps
[14:22:14] * video track
[14:22:14] + decoder: h264 8-bit (yuv420p)
[14:22:14] + bitrate 3562 kbps
[14:22:14] + filters
[14:22:14] + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[14:22:14] + Decomb (mode=39)
[14:22:14] + Framerate Shaper (mode=2:rate=27000000/900000)
[14:22:14] + frame rate: 29.970 fps -> peak rate limited to 30.000 fps
[14:22:14] + Crop and Scale (width=634:height=478:crop-top=2:crop-bottom=0:crop-left=4:crop-right=2)
[14:22:14] + source: 640 * 480, crop (2/0/4/2): 634 * 478, scale: 634 * 478
[14:22:14] + Output geometry
[14:22:14] + storage dimensions: 634 x 478
[14:22:14] + pixel aspect ratio: 1 : 1
[14:22:14] + display dimensions: 634 x 478
[14:22:14] + encoder: H.264 (libx264)
[14:22:14] + preset: fast
[14:22:14] + profile: main
[14:22:14] + level: 4.0
[14:22:14] + quality: 22.00 (RF)
[14:22:14] + color profile: 6-1-6
[14:22:14] + chroma location: left
[14:22:14] * audio track 1
[14:22:14] + decoder: English (AAC LC) (2.0 ch) (100 kbps) (track 1, id 0x0)
[14:22:14] + bitrate: 100 kbps, samplerate: 48000 Hz
[14:22:14] + mixdown: Stereo
[14:22:14] + encoder: AAC (Apple AudioToolbox)
[14:22:14] + bitrate: 160 kbps, samplerate: 48000 Hz
[14:22:14] sync: expecting 27793 video frames
[14:22:14] encx264: min-keyint: 30, keyint: 300
[14:22:14] encx264: encoding at constant RF 22.000000
[14:22:14] encx264: unparsed options: level=4.0:ref=2:8x8dct=0:weightp=1:subme=6:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=30
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile Main, level 4.0, 4:2:0, 8-bit
[14:22:14] sync: first pts video is 0
[14:22:14] sync: "Chapter 1" (1) at frame 1 time 0
[14:22:14] sync: first pts audio 0x0 is 0
[14:24:48] reader: done. 1 scr changes
[14:24:48] work: average encoding speed for job is 181.056595 fps
[14:24:48] comb detect: heavy 589 | light 5970 | uncombed 21234 | total 27793
[14:24:48] decomb: deinterlaced 589 | blended 5970 | unfiltered 21234 | total 27793
[14:24:48] vfr: 27793 frames output, 0 dropped and 0 duped for CFR/PFR
[14:24:48] vfr: lost time: 0 (0 frames)
[14:24:48] vfr: gained time: 0 (0 frames) (0 not accounted for)
[14:24:48] aac-decoder done: 43471 frames, 0 decoder errors
[14:24:48] h264-decoder done: 27793 frames, 0 decoder errors
[14:24:48] sync: got 27793 frames, 27793 expected
[14:24:48] sync: framerate min 29.970 fps, max 29.970 fps, avg 29.970 fps
x264 [info]: frame I:134 Avg QP:22.68 size: 30837
x264 [info]: frame P:7949 Avg QP:24.85 size: 12525
x264 [info]: frame B:19710 Avg QP:27.20 size: 4329
x264 [info]: consecutive B-frames: 5.2% 0.4% 1.1% 93.3%
x264 [info]: mb I I16..4: 15.3% 0.0% 84.7%
x264 [info]: mb P I16..4: 4.2% 0.0% 9.9% P16..4: 40.5% 23.5% 11.2% 0.0% 0.0% skip:10.7%
x264 [info]: mb B I16..4: 4.4% 0.0% 1.0% B16..8: 32.9% 13.3% 0.9% direct:20.0% skip:27.5% L0:39.6% L1:40.2% BI:20.2%
x264 [info]: coded y,uvDC,uvAC intra: 72.0% 54.1% 10.8% inter: 28.9% 23.0% 1.1%
x264 [info]: i16 v,h,dc,p: 29% 18% 26% 27%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 14% 19% 7% 9% 9% 7% 8% 5%
x264 [info]: i8c dc,h,v,p: 54% 22% 18% 6%
x264 [info]: Weighted P-Frames: Y:12.9% UV:4.1%
x264 [info]: ref P L0: 59.0% 41.0%
x264 [info]: ref B L0: 83.9% 16.1%
x264 [info]: ref B L1: 96.5% 3.5%
x264 [info]: kb/s:1630.48
[14:24:48] mux: track 0, 27793 frames, 189000368 bytes, 1630.32 kbps, fifo 4096
[14:24:48] mux: track 1, 43474 frames, 14592268 bytes, 125.87 kbps, fifo 4096
[14:24:48] Finished work at: Sat Jan 29 14:24:48 2022
[14:24:48] libhb: work result = 0
[14:24:49] macgui: Queue Done, there are no more pending encodes
[14:24:49] macgui: fr.handbrake.HandBrakeXPCService work done