[MEncoder-users] Audio/Video out-of-sync when using the "-noskip -mc 0"

Tsz Ming WONG tszming at gmail.com
Fri Jul 7 13:11:20 CEST 2006


Hi,

When using the option : "-noskip -mc 0" in converting a wmv file to a flv
file, I found that the audio stream is a little bit faster then the video
stream...

COMMAND:

/usr/local/mplayer/bin/mencoder tv.wmv -o tv.flv -of lavf -oac mp3lame
-lameopts abr:br=32 -ovc lavc -lavcopts
vcodec=flv:vbitrate=300:cbp:mv0:mbd=2:trell:v4mv:predia=2:dia=2:last_pred=3
-srate 22050 -noskip -mc 0 -ofps 25


However, when I removed the "-noskip -mc 0", the result flv is okay (correct
a/v synchronization).

COMMAND:

/usr/local/mplayer/bin/mencoder tv.wmv -o tv.flv -of lavf -oac mp3lame
-lameopts abr:br=32 -ovc lavc -lavcopts
vcodec=flv:vbitrate=300:cbp:mv0:mbd=2:trell:v4mv:predia=2:dia=2:last_pred=3
-srate 22050 -ofps 25


The drawback is many warning messages...

i.e.
...
...
Skipping frame!
Pos: 275.3s   8233f (99%) 114fps Trem:   0min  11mb  A-V:0.052 [296:32]
...

Did anyone have this problem before?


Regards,
Ming



More information about the MEncoder-users mailing list