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 152.62.82.194:
http://freevo.sourceforge.net/cgi-bin/moin.cgi/FrequentlyAskedQuestions

------------------------------------------------------------------------------
@@ -342,6 +342,65 @@
                          audiorate=32000 - proper sampling rate
 
 }}}
+
+There is since 1.0.0rc2 an equivalent of btaudio for alsa: snd-bt87x module. I use 
the following /etc/asound.conf:
+{{{
+pcm.emu10k1 {
+           type hw
+           card 0
+        }
+
+        ctl.emu10k1 {
+           type hw
+           card 0
+        }
+
+pcm.bt87x {
+           type hw
+           card 1
+        }
+
+        ctl.bt87x {
+           type hw
+           card 1
+        }
+}}}
+For using mencoder with ALSA, you must specfy the option 'alsa' and as device try 
'bt87x' or 'emu10k1'.
+bt87x doesn't work for me (just like btaudio didn't), but emu10k1 works fine. Not 
using OSS has the advantage for me that I can record from line-in with volume control 
muted, hence ENABLING timeshift recording.
+My record script, this is for a creative labs Soundblaster Live 5.1 :
+{{{
+#!/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=320
+HEIGHT=240
+
+MENCODER=/usr/local/bin/mencoder
+AMIXER=/usr/bin/amixer
+
+NICE="nice -n -20"
+
+AUDIO="-oac mp3lame -lameopts cbr:br=128:mode=3"
+VIDEO="-ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1200:keyint=30"
+DSP="alsa:adevice=emu10k1"
+TV=" -tv 
driver=v4l:width=$WIDTH:height=$HEIGHT:outfmt=yuy2:input=0:device=/dev/video0:norm=PAL:chanlist=europe-west:channel=$CHAN:$DSP:forceaudio:forcechan=1:buffersize=64"
+
+$AMIXER -q sset Line 87% mute
+$AMIXER -q sset Capture 87%
+$AMIXER -q cset numid=63 4      # select capture source, 63 is capture source 
control, 1 = CD and 4 = line
+$AMIXER -q cset numid=64 1      # set capture source switch to 1 (= on)
+$NICE $MENCODER tv:// $TV $VIDEO $AUDIO -endpos $TIME -ffourcc divx -o  "$NAME.avi"
+$AMIXER -q sset Line 87% unmute   # unmute cd again to hear sound when using watching 
tv after recording
+
+}}}
+
+
 If someone has btaudio working with mplayer and/or mencoder please add your
 information to this document.
 


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Freevo-wikilog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-wikilog

Reply via email to