[FFmpeg-user] Video Audio sync problem

Víctor Paesa wzrlpy at arsystel.com
Mon Mar 2 09:10:47 CET 2009


Hi,

luismanolo said:
> Many thanks, but the problem is that the video are 2 min. 32 sec. and
> the audio are 2 min. 57 sec.
>
> the video are shorter than de audio. And the audio have the correct
> size.

Please follow the mail conventions in http://www.ffmpeg.org/contact.html
(notice the top-posting item).


> 2009/3/1 belcampo <belcampo at zonnet.nl>
>
>> > 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

Please show full (copy&paste) output messages from ffmpeg.

Regards,
Víctor





More information about the ffmpeg-user mailing list