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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
|
<!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=%3Ckbno8u%2435v%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="009021.html">
<LINK REL="Next" HREF="009023.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=%3Ckbno8u%2435v%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 22:45:04 CET 2012</I>
<P><UL>
<LI>Previous message: <A HREF="009021.html">[Mageia-discuss] audio recording (from Line In) doesn't work in Mageia 2
</A></li>
<LI>Next message: <A HREF="009023.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#9022">[ date ]</a>
<a href="thread.html#9022">[ thread ]</a>
<a href="subject.html#9022">[ subject ]</a>
<a href="author.html#9022">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>AL13N wrote:
><i> Op zaterdag 29 december 2012 14:07:23 schreef David Walser:
</I>>><i> David Walser wrote:
</I>>><i> > Christiaan Welvaart wrote:
</I>>><i> >> On Sat, 29 Dec 2012, David Walser wrote:
</I>>><i> >>> I have an ATI TV Wonder VE video card which doesn't handle audio
</I>>><i> >>> internally, it just pipes it out a 1/8" audio cable which you plug into
</I>>><i> >>> the Line In input in the sound card, and you record the audio from that.
</I>>><i> >>> For years, I've been using the script below to record TV from it. The
</I>>><i> >>> aumix command sets the IGain mixer channel, which controls the volume of
</I>>><i> >>> the audio that gets recorded. Up through Mageia 1, this worked fine.
</I>>><i> >>> Now in Mageia 2, I get no sound.
</I>>><i> >>>
</I>>><i> >>> aumix -i 60
</I>>><i> >>> mencoder -tv
</I>>><i> >>> driver=v4l2:width=640:height=480:adevice=/dev/dsp:norm=ntsc:input=0
</I>>><i> >>> <A HREF="tv://">tv://</A> -o tv.avi -oac mp3lame -ovc lavc -lavcopts>
</I>>><i> > acodec=libmp3lame:abitrate=64:vbitrate=1800:vhq -lameopts vbr=3:br=64
</I>>><i> > -srate 44100 -vf crop=608:456:14:10 > /dev/null 2>&1>
</I>>><i> >>> aumix -i 0
</I>>><i> >>
</I>>><i> >> Well all kinds of things can be wrong. Does the TV card output sound?
</I>>><i> >
</I>>><i> > The TV card is fine, all that's changed is upgrading to mga2.
</I>>><i> >
</I>>><i> >> Maybe the input selector of the sound card is set to microphone.
</I>>><i> >
</I>>><i> > How would you check/change that? Why would it get messed up all of a
</I>>><i> > sudden?>
</I>>><i> >> Why are you using OSS instead of alsa directly?
</I>>><i> >
</I>>><i> > That's what mencoder uses. It should work fine.
</I>>><i>
</I>>><i> I tried changing adevice=/dev/dsp to the following things, which all also
</I>>><i> didn't work: alsa:adevice=hw.0,0
</I>>><i> alsa:adevice=hw.0,1
</I>>><i> alsa:adevice=hw.0,2
</I>>><i>
</I>>><i> Here are the sound and TV devices from lspcidrake. This is smelling like a
</I>>><i> kernel bug to me. snd_hda_intel : Intel Corporation|82801JI (ICH10
</I>>><i> Family) HD Audio Controller bt878 : Brooktree Corporation|Bt878
</I>>><i> Audio Capture [MULTIMEDIA_OTHER] (rev: 11) bttv : Brooktree
</I>>><i> Corporation|Bt878 Video Capture [MULTIMEDIA_VIDEO] (rev: 11)
</I>>><i> >> Try to get things working with alsamixer if aumix doesn't work...
</I>>><i> >
</I>>><i> > aumix seems to be working fine, it still sees the IGain channel and can
</I>>><i> > set it just fine. I think something else is wrong.
</I>><i>
</I>><i> it could still be that channels are being changed in kernel driver, perhaps
</I>><i> you can with alsamixer try to select the correct line-in function, and up the
</I>><i> volumes that could maybe have effect?
</I>
alsamixer seems broken on mga2. Is there some other way to check/change the selected capture device?
I wanted to reboot to the mga1 kernel to see if that would work, but that was an unproductive adventure.
I installed the mga1 kernel which pointed /boot/initrd.img to the mga1 kernel's initrd, which was generated of course by dracut, but didn't
work, and I couldn't boot any kernel. I booted to the rescue from the installer and re-installed the mga2 kernel, which fixed the initrd
links, so then I could boot the mga2 kernel. I restored the mga1 kernel's initrd from the backups I made before the upgrade, so then I could
also boot the mga1 kernel, but when KDM came up the mouse and keyboard didn't work and hitting the power button didn't shut down, so I had to
hold the power button to kill it. So I couldn't test if it works under the mga1 kernel. Somewhere during this process, grub got messed up
too, because /boot/grub/device.map got renamed to /boot/grub/device.map.old and replaced with an empty one, so I had to fix that by hand.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="009021.html">[Mageia-discuss] audio recording (from Line In) doesn't work in Mageia 2
</A></li>
<LI>Next message: <A HREF="009023.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#9022">[ date ]</a>
<a href="thread.html#9022">[ thread ]</a>
<a href="subject.html#9022">[ subject ]</a>
<a href="author.html#9022">[ 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>
|