Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Freevo Wiki" for change 
notification.

The following page has been changed by 24.128.246.209:
http://freevo.sourceforge.net/cgi-bin/moin.cgi/RecordingInfo

------------------------------------------------------------------------------
@@ -15,6 +15,8 @@
 
 = TV Line In =
 
+== OSS instructions ==
+
 This process using the line out sound from your tv card into the line in of your 
sound car for the sound and bttv for your pictures. This is a common bttv setup.
 
 It has a couple inherit problems. First you will hear the program in the background 
when you are recording. And Second, You cannot run any apps that use the soundcard 
while recording(which pretty rules out everything except images and maybe running some 
scripts in commands plugin).
@@ -88,6 +90,60 @@
             '-o %(filename)s.avi ' +        # Filled in by Freevo
             '; aumix -l 0;')
 
+}}}
+
+== ALSA ==
+
+from the freevo users list. A new script for alsa to use in place of the VCR_CMD:
+
+{{{
+#!/bin/bash
+ 
+# use with this VCR_CMD:
+# VCR_CMD = ('/usr/local/freevo_data/tvrecord/tvrecord %(channel)s %(seconds)s 
"%(filename)s"')
+ 
+CHAN=$1
+TIME=$2
+NAME=$3
+ 
+WIDTH=360
+HEIGHT=288
+ 
+MENCODER=/usr/bin/mencoder
+AMIXER=/usr/bin/amixer
+ 
+NICE="nice -n -20"
+ 
+AUDIO="-oac mp3lame -lameopts cbr:br=256:mode=0"
+VIDEO="-ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1600"
+DSP="adevice=/dev/sound/dsp"
+TV=" -tv 
driver=v4l:width=$WIDTH:height=$HEIGHT:outfmt=yuy2:input=0:device=/dev/v4l/video0:norm=PAL:chanlist=europe-west:channel=$CHAN:$DSP"
+ 
+$AMIXER -q sset CD 87% mute
+$AMIXER -q sset Capture 87%
+$AMIXER -q cset numid=30 1      # select capture source, 30 is capture source 
control, 1 = CD and 4 = line
+$AMIXER -q cset numid=31 1      # set capture source switch to 1 (= on)
+$NICE $MENCODER tv:// $TV $VIDEO $AUDIO -endpos $TIME -ffourcc divx -o  "$NAME.avi"
+
+}}}
+
+Two things to note:
+* The source provided here is CD IN.
+* The norm is PAL.
+
+You will most likely need to change these. Also some of the number differ dsepending 
on the card. A note from the scripts author:
+
+{{{
+You have to change the script for your card.
+
+numid=30 is the mixersource for my soundcard, 'ceset numdid=30 1 ' is to
+select the cd as capture source (0 = mic, 1 = cd, 4 = line) 
+and numid=31 is the capture switch
+
+run "amixer controls" to get the numid's
+run "amixer cset numid=30" to get the capture source items (change
+numid=30 with yor capture source), I think you will take 4, the line in
+so 'amixer cset numid=30 4' to select line in as capture
 }}}
 
 = IVTV setup =


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Freevo-wikilog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-wikilog

Reply via email to