Posted by Wim Koorenneef on 2006-10-08 21:25 CEST
In my main desktop machine there are two videocards: a Terratec Cinnergy 400 (SAA7134) and a Hauppauge PVR 250 (IVTV). Here are some commands i use for watching and recording.
For watching the saa7134 card:
mplayer -tv driver=v4l2:device=/dev/video1:outfmt=i420:freq=840: -vc rawi420 tv://
Watching the ivtv card is easy. First you select the right frequency with ivtv-tune -f 848 and then mplayer /dev/video0 to start watching. To record the stream to disk do
cat /dev/video0 > tv.mpg. This produces about 60MB per minute. If that's too much, try mencoder tv.mpg -of mpeg -oac lavc -ovc xvid -xvidencopts bitrate=600 -o tv2.mpg
to reduce the filesize to about 4,5MB a minute. A two pass approach will cost a bit more time, but the quality is better and the filesize drops to about 3,5MB a minute. That's 210MB per hour of full PAL resolution.
At the moment i record the saa7134 card with
mencoder -tv driver=v4l2:device=/dev/video1:outfmt=yuy2:width=384:height=288\ :fps=25:freq=840 -of mpeg -oac lavc -ovc xvid -xvidencopts bitrate=800:vhq=2 tv:// -o tv.mpg


















Post new comment