[MPlayer-users] Re: TV and pre7

Tülay Sözbir-Seidel sozbir-seidel at freenet.de
Sat Sep 14 17:30:02 CEST 2002


Hello,

Thanx to the help of Rene and Chris I managed to record and watch TV at the 
same time by using the following script.

---
export FILENAME=/movies/js/tv`date +%Y%m%d%H%M`.avi
mencoder -v -tv on:driver=v4l:width=448:height=336:forcechan=2:volume=45000 
-ovc lavc -lavcopts vcodec=mpeg4:vbitrate=900 -oac mp3lame -lameopts 
cbr:br=96 -vop crop=432:320:8:2,pp -npp lb -o $FILENAME &
tail --retry -f $FILENAME | mplayer -fs -vo xv -ao sdl -cache 2048 -
killall -TERM mencoder
---

Unfortunately my machine (Athlon 750) is to slow for higher resolutions. If it 
just records with no playback it manages a few pixel more. Anyhow thanx to 
the mplayer developer I do not need to buy myself a VCR and now even got a 
good reason to buy a faster CPU....

It takes about 7MB per minute HD-spaced. Because of the kill command mencoder 
doesn't stop gracefully so it leaves the file without proper index. But I 
don't have time to play around more with it now. I assume another signal will 
do it better.

Joerg




More information about the MPlayer-users mailing list