Blogs‎ > ‎Tech Stuff‎ > ‎

2009.12.30 HandBrake Is Great

posted Dec 31, 2009, 4:26 AM by Troy Cheek   [ updated Oct 18, 2015, 7:02 AM ]
HandBrake is great for video conversions.  However, I'm having problems with A/V sync, so I'm posting some logs here to see if anybody can figure out what I'm doing wrong.

Using the old HandBrake CLI 0.9.3, the file converts properly.
Using the new HandBrake CLI 0.9.4, the audio and video get so far out of sync that the show is unwatchable.

The following logs were created using the command line options:
handbrakecli93 -i test.mpg -o test93CLI.mp4 -e x264 -q 0.6 --deinterlace=fast -v 1 >>test93CLI.txt 2>&1
handbrakecli94 -i test.mpg -o test94CLI.mp4 -e x264 -q 0.6 --deinterlace=fast -v 1 >>test94CLI.txt 2>&1
handbrakecli99 -i test.mpg -o test99CLI.mp4 -e x264 -q 0.6 --deinterlace=fast -v 1 >>test99CLI.txt 2>&1
where cli99 is actually the latest SVN version.

2015 update:  I never did get around to updating this, did I?  I never did figure out the source of the problem.  I switched to FFmpeg to try to see how well it worked, and found that it had the same problems with AV sync as HandBrake.  I think it's because the both use the same Open Source routines for file access/decoding/encoding/etc.  The solution to the problem with both programs was to skip the first one (1) second of the video.  Later, when I had problems with FFmpeg bombing out at the end of long files, I solved it by skipping the last one (1) second of the video.
ċ
clilogs.zip
(89k)
Troy Cheek,
Dec 31, 2009, 4:29 AM
ċ
test0.93CLI.txt
(288k)
Troy Cheek,
Dec 31, 2009, 4:29 AM
ċ
test0.94CLI.txt
(537k)
Troy Cheek,
Dec 31, 2009, 4:29 AM
ċ
testSVN3036CLI.txt
(407k)
Troy Cheek,
Dec 31, 2009, 4:29 AM
Comments