[MPlayer-users] Extremely async after transcoding.

Guillaume POIRIER poirierg at gmail.com
Tue Feb 21 17:09:14 CET 2006


Hi,

On 2/21/06, Rainer Hantsch <office at hantsch.co.at> wrote:
> Hi,
>
> sometimes I get very strange avi files, where mplayer continuously reports
> duplicate frames. The last one was a recording of Enterprise made with
> virtualdub.
>
> Normally, I use one and the same script I made months ago to transcode
> everything into good plain DivX4, which plays then fine, but here I
> encountered the phenomen that audio and video run out of sync nearly in 1:2
> relation! So it appears as when this skipped frames (during re-encoding)
> shorten the video to "half the length", while audio plays the full length.
>
> I hope you can imagine what I mean.
>
> My question is: how can I fix this? Is this known and can be corrected by some
> command line options of mencoder?

Did you add "harddup" at the end of your video filter chain?

Other than that, check if you avi file has a variable bitrate. It may
be the problem. In that case, I _think_ you have to set -fps and -ofps
according to you source.

Guillaume

--
Just because code is syntactically "valid" GNU C doesn't mean gcc can
always compile it.
  Steven Bosscher - 2005-01-01
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11203#c14




More information about the MPlayer-users mailing list