[FFmpeg-user] Video Audio sync problem
belcampo
belcampo at zonnet.nl
Sun Mar 1 14:48:45 CET 2009
> Hello.
> Sorry about my english.
> I want to mix two streams, one wav audio and a AVCHD video converted
> to a pipe input, but the video is shorter than the audio. The audio >
> stream have the correct time.
> I don`t know how to use the -vsync and -map parameters.
>
> The command are:
>
> mkfifo -
> ffmpeg -y -i video_in.MTS -an -pix_fmt yuv420p -f rawvideo - |
> ffmpeg -y -i audio_in.wav -r 60000/1001 -deinterlace -s 1920x1080
> -pix_fmt yuv420p -f rawvideo -i -
> -r 60000/1001 -s 1280x720 -vcodec mpeg4 -sameq -shortest -f mov
> -acodec libfaac -ac 2 -ab 128k -ar 48000 file_out.mov
>
> Many thanks.
Here you can read how-to
http://howto-pages.org/ffmpeg/#delay
More information about the ffmpeg-user
mailing list