I downloaded Handbrake to sync video and audio. I followed the instructions on the tutorial (setting fps to 30 and choose "constant framerate"), but the audio still isn't syncing. What am I missing?
Steps to reproduce the problem (If Applicable):
HandBrake version (e.g., 1.0.0):
1.3.3
Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Windows 10
HandBrake Activity Log ***required*** (see How-to get an activity log)
Code: Select all
HandBrake 1.3.3 (2020061300)
OS: Microsoft Windows NT 10.0.19041.0
CPU: AMD Ryzen 5 1400 Quad-Core Processor
Ram: 8085 MB,
GPU Information:
AMD Radeon (TM) RX 570 - 25.20.15026.2
Screen: 1440x900
Temp Dir: C:\Users\STARLA\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\STARLA\AppData\Roaming\HandBrake
-------------------------------------------
# Starting Encode ...
[08:26:57] base preset: Fast 1080p30 (Modified)
[20:26:57] hb_init: starting libhb thread
[20:26:57] Starting work at: Mon May 24 20:26:57 2021
[20:26:57] 1 job(s) to process
[20:26:57] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0.0,
"Encoder": "av_aac",
"Gain": 0.0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
"copy:aac",
"copy:ac3",
"copy:dtshd",
"copy:dts",
"copy:eac3",
"copy:flac",
"copy:mp3",
"copy:truehd"
],
"FallbackEncoder": "ac3"
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
}
],
"ChapterMarkers": true,
"AlignAVStart": true,
"File": "I:\\Debbie Videos May 2021\\Fav G-1.m4v",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": "av_mp4"
},
"Filters": {
"FilterList": [
{
"ID": 4,
"Settings": {
"mode": "7"
}
},
{
"ID": 3,
"Settings": {
"block-height": "16",
"block-thresh": "40",
"block-width": "16",
"filter-mode": "2",
"mode": "3",
"motion-thresh": "1",
"spatial-metric": "2",
"spatial-thresh": "1"
}
},
{
"ID": 12,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "360",
"width": "640"
}
},
{
"ID": 6,
"Settings": {
"mode": "1",
"rate": "27000000/900000"
}
}
]
},
"PAR": {
"Num": 1,
"Den": 1
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 1
},
"Title": 1,
"Path": "I:\\Debbie Videos May 2021\\fav g.mpg"
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": true,
"Forced": true
},
"SubtitleList": []
},
"Video": {
"Encoder": "x264",
"Level": "4.0",
"TwoPass": true,
"Turbo": true,
"ColorMatrixCode": 0,
"Options": "",
"Preset": "fast",
"Profile": "main",
"QSV": {
"Decode": false,
"AsyncDepth": 0
}
}
}
[20:26:57] CPU:
[20:26:57] - logical processor count: 8
[20:26:57] Intel Quick Sync Video support: no
[20:26:57] hb_scan: path=I:\Debbie Videos May 2021\fav g.mpg, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image I:\Debbie Videos May 2021\fav g.mpg
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2585: nav_get_title_list(I:\Debbie Videos May 2021\fav g.mpg\) failed
[20:26:57] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[20:26:57] dvd: not a dvd - trying as a stream/file instead
[20:26:57] file is MPEG Program Stream
[20:26:58] Probing 1 unknown stream
[20:26:58] Probe: Found stream mpegvideo. stream id 0xe0-0x0
[20:26:58] Found the following streams
[20:26:58] Video Streams :
[20:26:58] 0xe0-0x0 type MPEG2 (0x2)
[20:26:58] Audio Streams :
[20:26:58] 0xc0-0x0 type MPEG2 (0x4)
[20:26:58] Subtitle Streams :
[20:26:58] Other Streams :
[20:26:58] stream id 0xc0 (type 0x4 substream 0x0) audio 0xc0
[20:26:58] scan: decoding previews for title 1
[20:26:58] file is MPEG Program Stream
[20:26:58] Probing 1 unknown stream
[20:26:58] Probe: Found stream mpegvideo. stream id 0xe0-0x0
[20:26:58] scan: audio 0xc0: mp2, rate=44100Hz, bitrate=128000 Unknown (MPEG) (2.0 ch) (128 kbps)
[20:26:58] stream: 39 good frames, 0 errors (0%)
[20:26:58] scan: 10 previews, 640x360, 29.970 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[20:26:58] libhb: scan thread found 1 valid title(s)
[20:26:58] Skipping subtitle scan. No suitable subtitle tracks.
[20:26:58] Starting Task: Analysis Pass
[20:26:58] Skipping crop/scale filter
[20:26:58] work: only 1 chapter, disabling chapter markers
[20:26:58] job configuration:
[20:26:58] * source
[20:26:58] + I:\Debbie Videos May 2021\fav g.mpg
[20:26:58] + title 1, chapter(s) 1 to 1
[20:26:58] * destination
[20:26:58] + I:\Debbie Videos May 2021\Fav G-1.m4v
[20:26:58] + container: MPEG-4 (libavformat)
[20:26:58] + align initial A/V stream timestamps
[20:26:58] * video track
[20:26:58] + decoder: mpeg2video
[20:26:58] + bitrate 200 kbps
[20:26:58] + filters
[20:26:58] + 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)
[20:26:58] + Decomb (mode=39)
[20:26:58] + Framerate Shaper (mode=1:rate=27000000/900000)
[20:26:58] + frame rate: 29.970 fps -> constant 30.000 fps
[20:26:58] + Output geometry
[20:26:58] + storage dimensions: 640 x 360
[20:26:58] + pixel aspect ratio: 1 : 1
[20:26:58] + display dimensions: 640 x 360
[20:26:58] + encoder: H.264 (libx264)
[20:26:58] + preset: fast
[20:26:58] + profile: main
[20:26:58] + level: 4.0
[20:26:58] + bitrate: 1000 kbps, pass: 1
[20:26:58] + fast first pass
[20:26:58] + options: ref=1:8x8dct=0:me=dia:trellis=0
[20:26:58] analyse=i4x4 (if originally enabled, else analyse=none)
[20:26:58] subq=2 (if originally greater than 2, else subq unchanged)
[20:26:58] + color profile: 6-1-6
[20:26:58] * audio track 1
[20:26:58] + decoder: Unknown (MPEG) (2.0 ch) (128 kbps) (track 1, id 0xc0)
[20:26:58] + bitrate: 128 kbps, samplerate: 44100 Hz
[20:26:58] + mixdown: Stereo
[20:26:58] + dither: none
[20:26:58] + encoder: AAC (libavcodec)
[20:26:58] + bitrate: 160 kbps, samplerate: 44100 Hz
[20:26:58] file is MPEG Program Stream
[20:26:58] Probing 1 unknown stream
[20:26:58] Probe: Found stream mpegvideo. stream id 0xe0-0x0
[20:26:58] sync: expecting 858659 video frames
[20:26:58] encx264: min-keyint: 30, keyint: 300
[20:26:58] encx264: encoding at average bitrate 1000
[20:26:58] 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
[20:26:58] sync: first pts video is 0
[20:26:58] sync: first pts audio 0xc0 is 0
[21:04:21] reader: done. 1 scr changes
[21:04:21] work: average encoding speed for job is 382.916077 fps
[21:04:21] comb detect: heavy 1469 | light 9012 | uncombed 848446 | total 858927
[21:04:21] decomb: deinterlaced 1469 | blended 9012 | unfiltered 848446 | total 858927
[21:04:21] vfr: 859785 frames output, 0 dropped and 858 duped for CFR/PFR
[21:04:21] vfr: lost time: 0 (0 frames)
[21:04:21] vfr: gained time: 0 (0 frames) (0 not accounted for)
[21:04:21] stream: 5087257 good frames, 0 errors (0%)
[21:04:21] mp2-decoder done: 1097122 frames, 0 decoder errors
[21:04:21] mpeg2video-decoder done: 858927 frames, 0 decoder errors
[21:04:21] sync: got 858927 frames, 858659 expected
[21:04:21] sync: framerate min 29.970 fps, max 29.970 fps, avg 29.970 fps
[aac @ 000001f1521c1cc0] Qavg: 218.594
x264 [info]: frame I:8450 Avg QP:17.67 size: 23211
x264 [info]: frame P:236969 Avg QP:20.66 size: 9149
x264 [info]: frame B:614366 Avg QP:23.36 size: 1951
x264 [info]: consecutive B-frames: 1.7% 7.1% 5.5% 85.6%
x264 [info]: mb I I16..4: 18.9% 0.0% 81.1%
x264 [info]: mb P I16..4: 17.8% 0.0% 0.0% P16..4: 79.3% 0.0% 0.0% 0.0% 0.0% skip: 2.9%
x264 [info]: mb B I16..4: 2.6% 0.0% 0.0% B16..8: 31.7% 0.0% 0.0% direct:24.0% skip:41.7% L0:38.0% L1:43.9% BI:18.1%
x264 [info]: final ratefactor: 19.37
x264 [info]: coded y,uvDC,uvAC intra: 37.9% 84.9% 38.3% inter: 19.7% 47.6% 4.8%
x264 [info]: i16 v,h,dc,p: 39% 28% 20% 13%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 28% 10% 5% 5% 5% 6% 5% 6%
x264 [info]: i8c dc,h,v,p: 46% 24% 20% 10%
x264 [info]: Weighted P-Frames: Y:12.9% UV:4.3%
x264 [info]: kb/s:994.54
[21:04:21] Starting Task: Encoding Pass
[21:04:21] Skipping crop/scale filter
[21:04:21] work: only 1 chapter, disabling chapter markers
[21:04:21] job configuration:
[21:04:21] * source
[21:04:21] + I:\Debbie Videos May 2021\fav g.mpg
[21:04:21] + title 1, chapter(s) 1 to 1
[21:04:21] * destination
[21:04:21] + I:\Debbie Videos May 2021\Fav G-1.m4v
[21:04:21] + container: MPEG-4 (libavformat)
[21:04:21] + align initial A/V stream timestamps
[21:04:21] * video track
[21:04:21] + decoder: mpeg2video
[21:04:21] + bitrate 200 kbps
[21:04:21] + filters
[21:04:21] + 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)
[21:04:21] + Decomb (mode=39)
[21:04:21] + Framerate Shaper (mode=1:rate=27000000/900000)
[21:04:21] + frame rate: 29.970 fps -> constant 30.000 fps
[21:04:21] + Output geometry
[21:04:21] + storage dimensions: 640 x 360
[21:04:21] + pixel aspect ratio: 1 : 1
[21:04:21] + display dimensions: 640 x 360
[21:04:21] + encoder: H.264 (libx264)
[21:04:21] + preset: fast
[21:04:21] + profile: main
[21:04:21] + level: 4.0
[21:04:21] + bitrate: 1000 kbps, pass: 2
[21:04:21] + color profile: 6-1-6
[21:04:21] * audio track 1
[21:04:21] + decoder: Unknown (MPEG) (2.0 ch) (128 kbps) (track 1, id 0xc0)
[21:04:21] + bitrate: 128 kbps, samplerate: 44100 Hz
[21:04:21] + mixdown: Stereo
[21:04:21] + dither: none
[21:04:21] + encoder: AAC (libavcodec)
[21:04:21] + bitrate: 160 kbps, samplerate: 44100 Hz
[21:04:21] file is MPEG Program Stream
[21:04:24] Probing 1 unknown stream
[21:04:24] Probe: Found stream mpegvideo. stream id 0xe0-0x0
[21:04:24] sync: expecting 858927 video frames
[21:04:24] encx264: min-keyint: 30, keyint: 300
[21:04:24] encx264: encoding at average bitrate 1000
[21:04:24] 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
[21:05:41] sync: first pts video is 0
[21:05:41] sync: first pts audio 0xc0 is 0
[22:11:06] reader: done. 1 scr changes
[22:11:06] work: average encoding speed for job is 218.815750 fps
[22:11:07] comb detect: heavy 1469 | light 9012 | uncombed 848446 | total 858927
[22:11:07] decomb: deinterlaced 1469 | blended 9012 | unfiltered 848446 | total 858927
[22:11:07] vfr: 859785 frames output, 0 dropped and 858 duped for CFR/PFR
[22:11:07] vfr: lost time: 0 (0 frames)
[22:11:07] vfr: gained time: 0 (0 frames) (0 not accounted for)
[22:11:07] stream: 5087257 good frames, 0 errors (0%)
[22:11:07] mp2-decoder done: 1097122 frames, 0 decoder errors
[22:11:07] mpeg2video-decoder done: 858927 frames, 0 decoder errors
[22:11:07] sync: got 858927 frames, 858927 expected
[22:11:07] sync: framerate min 29.970 fps, max 29.970 fps, avg 29.970 fps
[aac @ 000001f1521c0a80] Qavg: 218.594
x264 [info]: frame I:8450 Avg QP:18.78 size: 21463
x264 [info]: frame P:236969 Avg QP:21.47 size: 8570
x264 [info]: frame B:614366 Avg QP:24.31 size: 2230
x264 [info]: consecutive B-frames: 1.7% 7.1% 5.5% 85.6%
x264 [info]: mb I I16..4: 26.7% 0.0% 73.3%
x264 [info]: mb P I16..4: 7.4% 0.0% 6.9% P16..4: 43.7% 27.4% 11.5% 0.0% 0.0% skip: 3.1%
x264 [info]: mb B I16..4: 2.6% 0.0% 0.6% B16..8: 32.1% 7.6% 0.4% direct:25.0% skip:31.6% L0:45.4% L1:44.2% BI:10.4%
x264 [info]: coded y,uvDC,uvAC intra: 43.1% 88.7% 43.3% inter: 18.5% 59.0% 7.9%
x264 [info]: i16 v,h,dc,p: 36% 26% 18% 19%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 24% 15% 5% 6% 6% 6% 5% 5%
x264 [info]: i8c dc,h,v,p: 46% 24% 19% 11%
x264 [info]: Weighted P-Frames: Y:13.7% UV:4.3%
x264 [info]: ref P L0: 59.2% 40.8%
x264 [info]: ref B L0: 78.4% 21.6%
x264 [info]: ref B L1: 94.2% 5.8%
x264 [info]: kb/s:999.99
[22:11:07] mux: track 0, 859785 frames, 3582069619 bytes, 999.90 kbps, fifo 8192
[22:11:07] mux: track 1, 1234263 frames, 575642781 bytes, 160.68 kbps, fifo 16384
[22:11:07] Finished work at: Mon May 24 22:11:07 2021
[22:11:07] libhb: work result = 0
# Encode Completed ...