[MPlayer-users] A/V sync problem when appending AVIs
Matthias Czapla
dermatsch at gmx.de
Fri Feb 6 22:53:37 CET 2004
On Fri, Feb 06, 2004 at 09:18:22AM +0100, Daniele Forghieri wrote:
> Matthias Czapla wrote:
> >I have created three AVI files with (for each one)
> >[...]
> >Each one plays fine as usual, but when appending them via
> >cat 1.avi 2.avi 3.avi | mencoder -noidx -oac copy -ovc copy -o bla.avi -
> >I get A/V desyncronized after the point where the second file starts.
>
> mp3 uses packet of sound of, say, 250 millisec.
> In any file you have a certain number of complete packet.
> If the length of the video file is not exactly a multiple of the packet
> size (in millisec) you' ve got an A/V desync in the second (and
> successive) files.
> [...]
> To avoid the problem I encode the audio in PCM and, after you cat the
> files, convert in mp3
Yes, it worked! Thank you very much :)
Regards
Matthias
More information about the MPlayer-users
mailing list