[H-GEN] ffmpeg video and audio syncing

David Harrison davidharrison at gmail.com
Mon Sep 26 07:04:32 EDT 2011


This is what I am using for ffmpeg on Windows, though this is for h264 mpeg4
used for web streaming so it might not be suitable.

ffmpeg -threads 2 -y -fpre libx264-lossless_slow.ffpreset -i $input -s
512x344 -r 25 -b 600K -ab 96K -strict experimental $output

I think -fpre needs to become -vpre on Linux, and this is a relatively new
build so YMMV if you're running an older version!

-- 
dave



On Mon, Sep 26, 2011 at 1:23 PM, Peter John McConnell <slackpat at gmail.com>wrote:

> [ Humbug *General* list - semi-serious discussions about Humbug and     ]
> [ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
>
>
>
>   I normally transcode everything for my TV to mpegs as this is the
> only format that reliably plays although mp4, mov and avi are supported.
> I output the video in the inbuilt pal-vcd format.
>
>   Often the videos are out of sync before I start, if not they are out
> of sync when I finish, apparently due to frame loss.
>
>   I have searched the net for information on syncing with ffmpeg, the
> best I could find is
> http://iaudiophile.net/forums/showthread.php?t=15172
> Which is quite good, does anyone have a command line or script for
> transcodeing or re-syncing that they recommend.
>
>
> regards
>
>
> Peter
> _______________________________________________
> General mailing list
> General at lists.humbug.org.au
> http://lists.humbug.org.au/mailman/listinfo/general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.humbug.org.au/pipermail/general/attachments/20110926/e1b4cfa9/attachment.html>


More information about the General mailing list