I also use mencoder to record tv.
This is a script I use :

#!/bin/sh
case $1 in
  1 ) freq=647.25
      chaine=tf1 ;;
  2 ) freq=687.25
      chaine=france2 ;;
  3 ) freq=735.25
      chaine=france3 ;;
  4 ) freq=823.25
      chaine=canal+ ;;
  5 ) freq=671.25
      chaine=arte ;;
  6 ) freq=799.25
      chaine=m6 ;;
  7 ) freq=775.25
      chaine=tv5 ;;
  * ) echo "unknown channel"
      exit ;;
esac

echo "Press "ENTER" to start recording channel $chaine..."
read

mencoder -tv
on:Driver=v4l:input=0:norm=SECAM:freq=$freq:width=768:height=576 -vop
pp=hb/vb/dr/al/lb -oac mp3lame -ovc lavc -lavcopts vcodec=mjpeg -o
${chaine}.avi


Note 1 : this is for France, with SECAM. In another country, you might find
your channel frequencies on the web : . If you use PAL, change norm=SECAM to
PAL of course.

Note 2 : vcodec=mjpeg here : picture will be very nice, and does not need a
powerful CPU, but the file is huge, you need a big HD. You may use
vcodec=mpeg4 but you may see compression artifacts and need a good CPU for
25 fps encodings. Make some tests !

Note 3 : if you have no sound, open aumix and check not only line level, but
also IGain level (very important). It has to be non null !

Note 4 : this script is very simple, with shutdown and acron you may use it
as a real programmed VCR.

----- Original Message -----
From: "Alan Wilter Sousa da Silva" <[EMAIL PROTECTED]>
To: "expert" <[EMAIL PROTECTED]>
Sent: Tuesday, March 18, 2003 3:38 PM
Subject: Re: [expert] Anyone using vcr on mdk9?


Hi Grant,

I got mplayer and mencode.  Mencoder works gracefully.  But I recommend to
compile from scratch.

On Tue, 18 Mar 2003, J. Grant wrote:

> Hi,
>
> I was tempted by the lure of a digital video recorder.
>
> I found this http://www.geocities.com/slothmud/VCR-HOWTO-3.html
> It seems great, my tv card is working fine with xawtv, so i checked vcr
> out.  However, there are so many deps, I cant even get the avifile src
> on this site to build, (seems automake files are corrupted).  main
> avifile.sf.net does not build either, until i install some other libs
> etc. Fianlly failed with
>
> make[3]: *** No rule to make target `pci_db2c.awk', needed by
> `pci_dev_ids.c'.  Stop.
>
> http://www.stack.nl/~brama/vcr/index.html?page=download
>
> I downloaded the avifile rpms from plf, but they need even more
> Has anyone used vcr with mdk9 ? Are there any rpms floating around?
>
> Seems even the extra rpms I installed are now out of date too:
>
> win32-codecs-1.0-1plf
> xine-win32-0.9.13-8plf
>
> Has anyone got it to build from scratch ?
>
> Cheers
>
> JG
>
>
>

--
-----------------------
Alan Wilter S. da Silva
-----------------------
 Laboratório de Física Biológica
  Instituto de Biofísica Carlos Chagas Filho
   Universidade do Brasil/UFRJ
    Rio de Janeiro, Brasil





----------------------------------------------------------------------------
----


> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com
>


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to