[MEncoder-users] is this possible

Andy Furniss andyqos at ukfsn.org
Sun Feb 27 21:33:40 CET 2011


Daniel Harris wrote:
> Hello
>

> mencoder -tv norm=PAL:driver=v4l2:width=720:height=576:input=1:device=/dev/video0:alsa:adevice=hw.0,0:audiorate=48000:forceaudio:immediatemode=0:fps=25
>   tv:// -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf -vf
> pp=lb/ha/va/dr,hqdn3d,harddup -srate 48000 -af lavcresample=48000
> -lavcopts vcodec=mpeg2video:vrc_buf_size=1500:vrc_maxrate=8000:vbitrate=7000:keyint=15:acodec=mp2:abitrate=192:aspect=4/3
> -mc 0 -noskip -o output.mpg

One problem I had when I tried ripping tapes with sound through PC line 
in was that the v4l layer would drop frames (sometimes 15/hour) so 
unless I allowed dups the sound would lag the vid.

IIRC you will see how many v4l drops id you add -v to your command.

Reading the source at the time it did seem that there was the 
possibility for correction, but it never worked for me.

The solution for me was to do short runs where possible, or allow dups - 
maybe your -mc0 -noskip is stopping this, it may also need -opfs 25.

It's wasn't nice though as every few seconds I would get apparently 
pointless dups and skips.


More information about the MEncoder-users mailing list