summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-discuss/2012-December/009020.html
blob: 16c0daeaa429f0347944b100f34df1b59647332d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-discuss] audio recording (from Line In) doesn't work in	Mageia 2
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20audio%20recording%20%28from%20Line%20In%29%20doesn%27t%20work%20in%0A%09Mageia%202&In-Reply-To=%3Ckbnf1b%24tvs%241%40ger.gmane.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="009019.html">
   <LINK REL="Next"  HREF="009021.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-discuss] audio recording (from Line In) doesn't work in	Mageia 2</H1>
    <B>David Walser</B> 
    <A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20audio%20recording%20%28from%20Line%20In%29%20doesn%27t%20work%20in%0A%09Mageia%202&In-Reply-To=%3Ckbnf1b%24tvs%241%40ger.gmane.org%3E"
       TITLE="[Mageia-discuss] audio recording (from Line In) doesn't work in	Mageia 2">luigiwalser at yahoo.com
       </A><BR>
    <I>Sat Dec 29 20:07:23 CET 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="009019.html">[Mageia-discuss] audio recording (from Line In) doesn't work in	Mageia 2
</A></li>
        <LI>Next message: <A HREF="009021.html">[Mageia-discuss] audio recording (from Line In) doesn't work in	Mageia 2
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#9020">[ date ]</a>
              <a href="thread.html#9020">[ thread ]</a>
              <a href="subject.html#9020">[ subject ]</a>
              <a href="author.html#9020">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>David Walser wrote:
&gt;<i> Christiaan Welvaart wrote:
</I>&gt;&gt;<i> On Sat, 29 Dec 2012, David Walser wrote:
</I>&gt;&gt;<i> 
</I>&gt;&gt;&gt;<i> I have an ATI TV Wonder VE video card which doesn't handle audio 
</I>&gt;&gt;&gt;<i> internally, it just pipes it out a 1/8&quot; audio cable which you plug into 
</I>&gt;&gt;&gt;<i> the Line In input in the sound card, and you record the audio from that. 
</I>&gt;&gt;&gt;<i> For years, I've been using the script below to record TV from it.  The 
</I>&gt;&gt;&gt;<i> aumix command sets the IGain mixer channel, which controls the volume of 
</I>&gt;&gt;&gt;<i> the audio that gets recorded.  Up through Mageia 1, this worked fine. 
</I>&gt;&gt;&gt;<i> Now in Mageia 2, I get no sound.
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> aumix -i 60
</I>&gt;&gt;&gt;<i> mencoder -tv driver=v4l2:width=640:height=480:adevice=/dev/dsp:norm=ntsc:input=0 <A HREF="tv://">tv://</A> -o tv.avi -oac mp3lame -ovc lavc -lavcopts 
</I>&gt;<i> acodec=libmp3lame:abitrate=64:vbitrate=1800:vhq -lameopts vbr=3:br=64 -srate 44100 -vf crop=608:456:14:10 &gt; /dev/null 2&gt;&amp;1
</I>&gt;&gt;&gt;<i> aumix -i 0
</I>&gt;&gt;<i> 
</I>&gt;&gt;<i> Well all kinds of things can be wrong. Does the TV card output sound?
</I>&gt;<i> 
</I>&gt;<i> The TV card is fine, all that's changed is upgrading to mga2.
</I>&gt;<i> 
</I>&gt;&gt;<i> Maybe the input selector of the sound card is set to microphone.
</I>&gt;<i> 
</I>&gt;<i> How would you check/change that?  Why would it get messed up all of a sudden?
</I>&gt;<i> 
</I>&gt;&gt;<i> Why are you using OSS instead of alsa directly?
</I>&gt;<i> 
</I>&gt;<i> That's what mencoder uses.  It should work fine.
</I>
I tried changing adevice=/dev/dsp to the following things, which all also didn't work:
alsa:adevice=hw.0,0
alsa:adevice=hw.0,1
alsa:adevice=hw.0,2

Here are the sound and TV devices from lspcidrake.  This is smelling like a kernel bug to me.
snd_hda_intel   : Intel Corporation|82801JI (ICH10 Family) HD Audio Controller
bt878           : Brooktree Corporation|Bt878 Audio Capture [MULTIMEDIA_OTHER] (rev: 11)
bttv            : Brooktree Corporation|Bt878 Video Capture [MULTIMEDIA_VIDEO] (rev: 11)

&gt;&gt;<i> Try to get things working with alsamixer if aumix doesn't work...
</I>&gt;<i> 
</I>&gt;<i> aumix seems to be working fine, it still sees the IGain channel and can set it just fine.  I think something else is wrong.
</I>

</PRE>


<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="009019.html">[Mageia-discuss] audio recording (from Line In) doesn't work in	Mageia 2
</A></li>
	<LI>Next message: <A HREF="009021.html">[Mageia-discuss] audio recording (from Line In) doesn't work in	Mageia 2
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#9020">[ date ]</a>
              <a href="thread.html#9020">[ thread ]</a>
              <a href="subject.html#9020">[ subject ]</a>
              <a href="author.html#9020">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss
mailing list</a><br>
</body></html>