[MPlayer-users] Trouble with grab tv via mencoder

Hans du Plooy koffiejunkielistlurker at koffiejunkie.za.net
Sun Dec 24 01:47:49 CET 2006


On Sun, 2006-12-24 at 02:50 +0300, yopt wrote:
> mencoder, as i think, cannot grab audio from bktr, just because there
> is not support for this, i mean in bktr. Audio output from taperecorder
> plugged in "line in" on sound card. There is both, video and audio, in
> output file.
> And... I tried to grab with transcode. Transcode
> were pretty work with this options "width=400:height=300". But
> transcode cannot record audio at all, at least in same time with tuner
> grab (on FreeBSD only, i think). So mencoder willbe more usefull for me.

I've had good results with this line:

mencoder tv:// -tv
driver=v4l2:width=768:height=576:norm=pal:input=1:alsa:adevice=hw.1,0
-oac lavc -ovc lavc -lavcopts
vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:acodec=ac3:abitrate=192:aspect=4/3 -of mpeg -mpegopts format=dvd -vf scale=720:657,harddup -srate 48000 -af lavcresample=48000 -ofps 25 -o test.mpeg

This gives you a video stream that's ready to be put on a (PAL) DVD.
Note I'm using an external USB TV turner, so you'll have to make sure
your device names are correct for your setup.

hope this helps

Hans



More information about the MPlayer-users mailing list