[MEncoder-users] A/V sync issues encoding from huffyuv avi to mpeg2

Jan Kurik kurik at seznam.cz
Tue Jun 14 07:56:43 CEST 2005


Brian Keener wrote:
>>> vcodec=mpeg2video:vbitrate=5000:keyint=25:acodec=mp2 -noskip -o
>>>   
>>
>>
>> "-noskip" (particularly when not used with -mc 0), usually causes a/v
>> desync.  Leave it out, and/or add "-mc 0".
>>
> -mc 0 and removing -noskip had no affect.  ANy other ideas?

   Hi,

I had a similar problem with A/V desynchronization. Playing the original
stream using mplayer the A/V was synchronized. After re-encoding using
mencoder the A/V streams get desynchronized. I did a small work-around
for this:

mknod stream.dump p
mencoder -oac ... -ovc ... -o output.mpeg < stream.dump &
mplayer -dumpstream video.avi

    ... and both streams in the output.mpeg file were synchronized again.

Hope it helps.

-- 
Jan Kurik <kurik at seznam.cz>




More information about the MEncoder-users mailing list