29.04.2020, 20:42
Hello everyone, I’ve been trying out Hybrid for the past 3 months and found it to be awesome to have so many tools integrated into one place.
My goal is to transfer all of my family’s VHS to DVD, I have capture the master file in VirtualDub using huffyuv as the compression method, the resulting AVI is then processed using Avidemux to create a compliant DVD file and everything works as expected, I get a really good end product with audio and video in sync.
My other task was to convert the master file to an H.264 for my Plex server and this is where things get a bit weird. I tried Avidemux and even though the resulting file has no audio video sync problems, the deinterlacing algorithms available are not really good, at least not compared to QTGMC script. So, Hybrid to the rescue, not only does it allow me to encode to H.264 and AAC, add my chapters, but I can run QTGMC with bob using VapourSynth or AviSynth.
Problem is, in the resulting MKV file, the audio is progressively out of sync. An hour into the video the audio lags about 1s, I really don’t know what’s causing the problem. I tried encoding the video alone with audio passthrough, not applying any filtering, different encoding modes (2pass/CRF) all under the same profile Hight 4.1 Slow and every time the result is the same audio sync problem.
The only way I’ve managed to complete my task is by using Hybrid to apply QTGMC filter and output to FFvHuff with audio passthrough (doubling the file size from 30 to 60 GiB) and then use AviDemux to do the actual H.264 encoding, resulting in a synced mkv file.
Question is… why do I get this issue in Hybrid?
Hopefully someone can help shed some light on why is this happening.
Additional information
Hybrid 2020.02.17.1
MediaInfo for the original AVI file
Please, read the 'Infos needed to fix&reproduce bugs,..'-sticky before you post about a problem.Please, read the 'Infos needed to fix&reproduce bugs,..'-sticky before you post about a problem.
My goal is to transfer all of my family’s VHS to DVD, I have capture the master file in VirtualDub using huffyuv as the compression method, the resulting AVI is then processed using Avidemux to create a compliant DVD file and everything works as expected, I get a really good end product with audio and video in sync.
My other task was to convert the master file to an H.264 for my Plex server and this is where things get a bit weird. I tried Avidemux and even though the resulting file has no audio video sync problems, the deinterlacing algorithms available are not really good, at least not compared to QTGMC script. So, Hybrid to the rescue, not only does it allow me to encode to H.264 and AAC, add my chapters, but I can run QTGMC with bob using VapourSynth or AviSynth.
Problem is, in the resulting MKV file, the audio is progressively out of sync. An hour into the video the audio lags about 1s, I really don’t know what’s causing the problem. I tried encoding the video alone with audio passthrough, not applying any filtering, different encoding modes (2pass/CRF) all under the same profile Hight 4.1 Slow and every time the result is the same audio sync problem.
The only way I’ve managed to complete my task is by using Hybrid to apply QTGMC filter and output to FFvHuff with audio passthrough (doubling the file size from 30 to 60 GiB) and then use AviDemux to do the actual H.264 encoding, resulting in a synced mkv file.
Question is… why do I get this issue in Hybrid?
Hopefully someone can help shed some light on why is this happening.
Additional information
Hybrid 2020.02.17.1
x264 --preset slow --crf 18.00 --profile high --level 4.1 --sync-lookahead 12 --vbv-maxrate 62500 --vbv-bufsize 78125 --sar 20:11 --qpfile GENERATED_QP_FILE --non-deterministic --range tv --colormatrix bt470bg --demuxer raw --input-res 352x480 --input-csp i420 --input-range tv --input-depth 8 --fps 30000/1001 --output-depth 8 --output "C:\Users\f\AppData\Local\Temp\clip.264" –
MediaInfo for the original AVI file
General
Complete name : C:\Users\f\Videos\tape01.avi
Format : AVI
Format/Info : Audio Video Interleave
Format profile : OpenDML
File size : 28.0 GiB
Duration : 2 h 2 min
Overall bit rate : 32.7 Mb/s
Writing library : VirtualDub build 35491/release
Video
ID : 0
Format : HuffYUV
Format version : Version 2
Codec ID : HFYU
Duration : 2 h 2 min
Bit rate : 31.2 Mb/s
Width : 352 pixels
Height : 480 pixels
Display aspect ratio : 0.733
Frame rate : 29.970 (30000/1001) FPS
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:2
Bit depth : 8 bits
Scan type : Interlaced
Bits/(Pixel*Frame) : 6.152
Stream size : 26.7 GiB (95%)
Audio
ID : 1
Format : PCM
Format settings : Little / Signed
Codec ID : 1
Duration : 2 h 2 min
Bit rate mode : Constant
Bit rate : 1 536 kb/s
Channel(s) : 2 channels
Sampling rate : 48.0 kHz
Bit depth : 16 bits
Stream size : 1.32 GiB (5%)
Alignment : Aligned on interleaves
Interleave, duration : 33 ms (1.00 video frame)
Interleave, preload duration : 500 ms