[MEncoder-users] mencoder audio is faster than video

Emmanuel Guarda emmaguarda at gmail.com
Tue Nov 25 18:08:43 CET 2008


i'm triing to encode tv programs with a bt878 based card that works
prefectly with tvtime.
te code that use to encode is:

*mencoder tv:// -tv
forceaudio:alsa:driver=v4l2:input=0:norm=pal-nc:chanlist=us-cable:channel=$CHAN:width=640:height=480
-ovc lavc -lavcopts vcodec=mpeg4:vbitrate=3000 -ofps 25 -oac mp3lame
-lavcopts acodec=mp3:abitrate=128 -srate 48000 -noskip -mc 0 -vf
scale=640:480,pp=hb/vb/dr/al/lb -endpos $DURATION -o "$FNAME"_`date
+%m%d`.avi -quiet*
the image and audio hears perfect, but when i record a long time, the audio
is before the video.

the option *-noskip -mc 0 *i used because if i not, the video swich between
faster a slower speed, and whit this two options record fine (only whith the
two. only one don't work)

i try to change srate to 44100 and don't work.
Changing mp3lame to lavc don't work

I use gentoo linux 32bits in a E2180 @ 3200Mhz - 2gb ddr2 - msi p35 neof -
and 2 sata2 so the pc is so faster to do this without problems.

sory for my poor english, I speak spanish and thanks

EMMA



More information about the MEncoder-users mailing list