[MEncoder-users] mencoder video and audio sync problem

Claudiu Bucur h2sammo at gmail.com
Sun Jan 30 03:27:42 CET 2011


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