[MEncoder-users] encoded ASF out of AV sync

DimitryASuplatov genesup at gmail.com
Sun Nov 30 15:17:52 CET 2008


Hello,
I have grabbed and encoded a streaming video with the following command

mencoder $1 -o $2.avi -oac mp3lame -lameopts vbr=2:aq=3:q=3:abr:br=192
-ovc lavc -ffourcc DX50 -lavcopts mbd=0:vbitrate=1800:aspect=16/9 -vf
harddup=1 -channels 2 -srate 32000 -ofps 29.97 -vf scale=720:404

I got a file with 0,5 seconds desync so I reencoded it with

mencoder $2.avi -o $3.avi -ovc copy -oac copy -delay 0.5

Then I got a perfectly good file when playing with mplayer though all
other players (vlc, windows media and my pioneer dvd player) refused
to recognize the delay header.

I`ve read in the internet that -mc 0 option could be helpful when
encoding in the first place. But I do not want to redownload the
movie.

1/ Is there any way to cut 0.5 seconds from the start of the audio track?
2/ What options should I`ve used in the first place to avoid such a problem?

Thank you for your answers. I appreciate your time.
SDA



More information about the MEncoder-users mailing list