[Ffmpeg-devel] avi out is buggy

Michel Bardiaux mbardiaux
Mon May 9 12:20:31 CEST 2005


Thomas Herrmann wrote:
> Hi,
> 
> it seems the avi output of ffmpeg is buggy in the way that AC3 sound gets
> out of sync over time. The sound just drifts apart from the video. This is
> true too with AAC coded sound, while MP2 seems to be fine.
> 
> To reproduce this I take a MPEG sample containing a MPEG2 video stream and
> an AC3 audio stream and do:
> 
> ffmpeg -i sample_w_ac3.mpg -vcodec copy -acodec copy out.avi

Please repost with the command output lines.

> 
> While playing this file with mplayer, the sound starts in time with the
> video, but drifts away quickly.
> 
> Interesting, if I do:
> 
> ffmpeg -i sample_w_ac3.mpg -vcodec copy -acodec mp2 out.avi
> 
> audio and video *are* in sync.
> 
> ffmpeg is latest CVS compiled and linked with libfaac, libfaad and liba52.
> 
> What output format should I use to encode h264 video and ac3/aac audio with
> video and audio in sync?
> 
> Anyone able to fix the remuxer of avi out?
> 
> Thanks,    Thomas
> 


-- 
Michel Bardiaux
Peaktime Belgium S.A.  Bd. du Souverain, 191  B-1160 Bruxelles
Tel : +32 2 790.29.41





More information about the ffmpeg-devel mailing list