[Ffmpeg-devel] Audio is out of sync using newer FFMepg build. It used to work.
fw at charter.net
Thu Sep 15 21:42:09 CEST 2005
I recently upgraded to FFMpeg CVS build 4759 from an older FFMpeg that I built back in April 2005. I am using FFMepg to convert two individual streams (one mpegaudio the other mpegvideo) into an MP4 for my Sony Playstation portable. The command line I am using is:
ffmpeg -i video.m2v -f mp3 -i audio.m2a -title "PSP MP4" -bitexact -f psp -r 14.985 -b 216 -s 320x240 -acodec aac -ac 2 -ar 24000 -ab 32 M4V00001.MP4
This used to work well with my older version of FFMpeg. But, using build 4759 creates an MP4 where the audio is wildly out of sync with the video. The audio is so out of sync that it actually finishes playing before the video finishes.
Is there a bug in the latest version muxing two sources of mpeg?
Any input would be appreciated. Thanks!
If it helps to understand what I am trying to do, here is the output from ffmpeg.exe...
ffmpeg version CVS, build 4759, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --enable-mp3lame --enable-faac --enable-faad --enable-amr_nb
-enable-amr_wb --disable-ffplay --enable-small --enable-memalign-hack --enable-
pl --enable-xvid --enable-dts --enable-a52 --disable-vhook --enable-pthread --e
built on Aug 12 2005 12:05:11, gcc: 3.4.4 (cygming special) (gdc 0.12, using
Input #0, mpegvideo, from 'video.m2v':
Duration: 00:03:17.9, start: 0.000000, bitrate: 8999 kb/s
Stream #0.0: Video: mpeg2video, yuv420p, 720x480, 29.97 fps, 9000 kb/s
Input #1, mp3, from 'audio.m2a':
Duration: 00:05:00.0, start: 0.000000, bitrate: 384 kb/s
Stream #1.0: Audio: mp2, 48000 Hz, stereo, 384 kb/s
Output #0, psp, to 'M4V00001.MP4':
Stream #0.0: Video: mpeg4, yuv420p, 320x240, 14.98 fps, q=2-31, 216 kb/s
Stream #0.1: Audio: aac, 24000 Hz, stereo, 32 kb/s
Stream #0.0 -> #0.0
Stream #1.0 -> #0.1
[mpeg4 @ 0x69fdf8]removing common factors from framerate
Press [q] to stop encoding
More information about the ffmpeg-devel