[MEncoder-users] Capture tv signal with mencoder

L Lee llee040 at sbcglobal.net
Mon Jun 15 04:37:54 CEST 2009


On 6/14/09 9:24 AM, "mierdatutis mi" <mmm286 at gmail.com> wrote:

> ex: mencoder tv://$channel_number -ovc lavc -lavcopts
> vcodec=mpeg4:vbitrate=$VBITRATE:vhq:keyint=100 -oac mp3lame -lameopts
> vbr=0 -o OUT_PATH/NAME.avi
> 
> I would like to do the same but I would like to generate a mpg file not and
> avi file. How could I do this??

You could try this. Aspect ratio may need to be something else, same goes
for frame rate.

mencoder tv://$channel_number -ovc lavc -lavcopts
vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=6000:vqmin=1:k
eyint=15:vstrict=0:aspect=4/3 -oac lavc -lavcopts acodec=mp2:abitrate=256
-of mpeg -mpegopts format=dvd:tsaf:muxrate=36000 -o OUT_PATH/NAME.

Laine Lee




More information about the MEncoder-users mailing list