[FFmpeg-user] Video Audio sync problem

luismanolo luismanolo at gmail.com
Sun Mar 1 10:49:16 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.

-- 
http://vimeo.com/luismanolo
http://delasonsierra.blogspot.com
http://www.logrobomberos.com



More information about the ffmpeg-user mailing list