[Mageia-discuss] audio recording (from Line In) doesn't work in Mageia 2

David Walser luigiwalser at yahoo.com
Sun Dec 30 00:01:26 CET 2012


Christiaan Welvaart wrote:
> On Sat, 29 Dec 2012, David Walser wrote:
> 
>> I have an ATI TV Wonder VE video card which doesn't handle audio 
>> internally, it just pipes it out a 1/8" audio cable which you plug into 
>> the Line In input in the sound card, and you record the audio from that. 
>> For years, I've been using the script below to record TV from it.  The 
>> aumix command sets the IGain mixer channel, which controls the volume of 
>> the audio that gets recorded.  Up through Mageia 1, this worked fine. 
>> Now in Mageia 2, I get no sound.
>>
>> aumix -i 60
>> mencoder -tv driver=v4l2:width=640:height=480:adevice=/dev/dsp:norm=ntsc:input=0 tv:// -o tv.avi -oac mp3lame -ovc lavc -lavcopts 
acodec=libmp3lame:abitrate=64:vbitrate=1800:vhq -lameopts vbr=3:br=64 -srate 44100 -vf crop=608:456:14:10 > /dev/null 2>&1
>> aumix -i 0
> 
> Well all kinds of things can be wrong. Does the TV card output sound? 
> Maybe the input selector of the sound card is set to microphone. Why are 
> you using OSS instead of alsa directly? Try to get things working 
> with alsamixer if aumix doesn't work...
> 
> 
>      Christiaan

Just following up here since you just helped me on IRC.

Enabling KMix to show the Input Source allowed me to fix this.  It is supposed to be Line but it was set to Rear Mic for some reason.  
Changing it back to Line fixes it.  Running alsactl store saves this in the /var/lib/alsa/asound.state file so it should persist.

Thanks!



More information about the Mageia-discuss mailing list