Serena Cantor wrote:

> I have etch and install mplayer from debian-multimedia.
> I can watch TV with command below:
> 
> mplayer -tv driver=v4l:width=640:height=480:outfmt=i420 -vo xv tv://
> 
> Now I want to record TV program, which command can I use?
> I wish the output is one to two megabytes per minute. And the output
> should be playable in Windows as well as in Linux. producer from real can
> do in sarge.

Install and use the mencoder command almost the same way as for watching
with mplayer. Consult man mplayer for option for both apps.

I've been using following script for analog TV. YOu can modify it or write
your own one

------- script start ------
#!/bin/bash

CH=$1

TV_DRV="driver=v4l2:outfmt=yuy2:width=640:height=480"
TV_NORM="norm=PAL:normid=0:chanlist=europe-west"
TV_DEV="device=/dev/video0:input=0"

now_date=`date '+%Y%m%d-%H%M%S'`
mencoder -tv $TV_DRV:$TV_NORM:channel=$CH:$TV_DEV \
         -ovc lavc -lavcopts
vcodec=mpeg4:vqmin=2:vbitrate=1200:mbd=1:keyint=300 \
         -oac lavc -lavcopts acodec=mp3:abitrate=128 \
         -vf scale,pp=lb,denoise3d -o ${now_date}.avi tv://
------- script end ------

regards


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to