[MPlayer-dev-eng] [PATCH] setting the audio source for recording tv-audio through the soundcard

Ivan Szanto szivan at duticai.TWI.TUDelft.NL
Fri Mar 21 20:56:30 CET 2003



On Fri, 21 Mar 2003, Jindrich Makovicka wrote:

> Alex Beregszaszi wrote:
>
> >dunno, mplayer already has lot of nonsense features ;) decide it.
> >
> >
> Committed the force_audio fix, which was a 10L. For the rest, I'd like

thanx, that helped.

> to know Ivan's opinion on using/not using aumix instead. Also, if we
> want to duplicate aumix & alsamixer in mplayer, we should rather

You are right, Jindrich, it's no use to duplicate the functionality of
these tools. I never wanted to do that, I just did not know that they can
be used to set the recording source, cause I did not look carefully
enough (although I studied the aumix manpage). Therefore, I think it would
be useful to include somewhere in the mplayer documentation an example of
how to set the recording source using aumix/alsamixer.

Consequently, please don't apply the rest of the patch.

What do you think about the documentation patch at the end?

Ivan
-------------- next part --------------
diff -Naur main/DOCS/en/documentation.html main-current/DOCS/en/documentation.html
--- main/DOCS/en/documentation.html	Mon Mar 17 22:11:42 2003
+++ main-current/DOCS/en/documentation.html	Fri Mar 21 20:42:40 2003
@@ -1198,8 +1198,10 @@
      Intel Indeo video codec.</LI>
   <LI>There are several ways of capturing audio. You can grab the sound either
      using your soundcard via an external cable connection between video card
-     and line-in, or using the built-in ADC in the bt878 chip. In the latter
-     case, you have to load the <b>btaudio</b> driver. Read the
+     and line-in, or using the built-in ADC in the bt878 chip. 
+     In the former case, you may need to set the recording source using
+     aumix or alsamixer, and
+     in the latter case, you have to load the <b>btaudio</b> driver. Read the
      <CODE>linux/Documentation/sound/btaudio</CODE> file (in the kernel tree,
      not MPlayer's) for some instructions on using this driver.</LI>
   <LI>If MEncoder cannot open the audio device, make sure that it is really
@@ -1217,6 +1219,9 @@
   Input from standard V4L<BR>
   <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mplayer -tv
 on:driver=v4l:width=640:height=480 -vo xv</CODE><BR>
+  <BR>
+  Setting line-in to be the recording source<BR>
+  <CODE>&nbsp;&nbsp;&nbsp;&nbsp;aumix -l R</CODE><BR>
   <BR>
 
   A more sophisticated example. This makes MEncoder capture the full


More information about the MPlayer-dev-eng mailing list