[MEncoder-users] mencoder video and audio sync problem

Claudiu Bucur h2sammo at gmail.com
Mon Jan 31 22:01:45 CET 2011


anyone?


On Sat, Jan 29, 2011 at 9:27 PM, Claudiu Bucur <h2sammo at gmail.com> wrote:

> i use this code:
>
>  mencoder tv:// -tv
>> driver=v4l2:width=640:height=480:device=/dev/video0:forceaudio:adevice=hw.2:alsa
>> -ovc lavc -oac mp3lame -lameopts cbr:br=64:mode=3 -o record1.avi
>
>
>  or this code:
>
> mencoder tv:// -tv
>> driver=v4l:width=800:height=600:device=/dev/video0:forceaudio:adevice=hw.2:alsa
>> -ovc lavc -oac mp3lame -lameopts cbr:br=64:mode=3 -o record1.avi
>
>
>  and it encodes fine but when i play it with mplayer, the video is rushed,
> it plays super fast while the audio plays normally and is horribly out of
> sync. video ends way before audio does.
>
> what am i doing wrong?


More information about the MEncoder-users mailing list