[MEncoder-users] audio encoding problem from tv

Jorge Peixoto de Morais Neto please.no.spam.here at gmail.com
Sun May 4 20:25:34 CEST 2008


On Thu, May 1, 2008 at 1:57 PM, SZABO Zsolt <szazs at mm.bme.hu> wrote:
> I tried the following command after downloading and compiling 1.0rc2 from
>  mplayerhq (it is a pitty, but I was not able to compile the svn
>  source):
>
>  mencoder -endpos 60 -o zzz.avi tv://\
>   -tv driver=v4l2:normid=0:input=1:width=720:height=576:\
>  alsa:adevice=hw.1:amode=1:immediatemode=0\
>   -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1200:autoaspect\
>   -oac lavc -lavcopts acodec=ac3:abitrate=96:threads=2 -af volnorm\
>   -vf crop=688:560:16:8,pp=lb -ffourcc XVID
>
>  The problem is that when trying to skip frames (pressing right/up arrow)
>  during playing the obtained zzz.avi, the sound playback starts over.
>  Furthermore, there is some A/V syncing problem (the sound is in late
>  relative to the video) even without skipping.
>

Why do you encode to ac3? You can use mp3, or, for lossless, flac. I
you want lossless and no CPU usage, you can just copy the sound
stream.



More information about the MEncoder-users mailing list