Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-28-2007, 05:00 PM   #1
Registered: Oct 2006
Location: Leiden, Netherlands
Distribution: LFS, Ubuntu Hardy
Posts: 198

Rep: Reputation: 29
amixer / no audio capture from software mixing in Feisty

I would like to be able to arbitrarily dump audio from a sound card (from software output, not necessarily from a mic) to a file, say, using ffmpeg or something similar. I'm using Ubuntu Feisty and the problem is that the only input source available is the microphone port (this is all that appears in the gnome volume control). In other words, programs like eg Audacity can't ever record whatever is playing through the sound card.

I don't know if this is what's causing an issue with ffmpeg, but if I do something like "ffmpeg -f oss -i /dev/dsp out.wav" I get "Unknown input or output format: oss" (same for 'alsa' too). Also 'sox'/'rec' doesn't work -- it only writes a 44 byte wav file (only headers?) and then quits.

This is my output from 'amixer':
Simple mixer control 'Master',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 1 [3%] [-45.00dB] [on]
Front Right: Playback 1 [3%] [-45.00dB] [on]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Front Left: Playback 255 [100%] [0.00dB]
Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 15
Front Left: Capture 4 [27%] [6.00dB] [on]
Front Right: Capture 4 [27%] [6.00dB] [on]
Simple mixer control 'Capture Mux',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 4
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Input Source',0
Capabilities: enum
Items: 'Mic'
Item0: 'Mic'

I had to enable manually the "Capture" part to say [on], and for some reason this (apparently) solved another problem I'd been having with Skype in that it wasn't hearing any microphone input after resuming from hibernation.

Anyway, I'm wondering if it's possible to route the sound of the "Master" as an input source???


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Audio/ video, capture/ edit, hardware/ software Cooee2 Linux - Newbie 3 10-19-2006 01:38 AM
Want to develop audio mixing software: Where to start?? tzouse Programming 2 08-04-2006 12:01 AM
WHAt is the best music mixing software? junior123 Linux - Software 3 09-30-2005 06:45 PM
audio mixing problem jonhewer Linux - Newbie 6 05-05-2005 11:53 AM
favorite audio mixing program? questionasker Linux - Software 0 01-28-2004 04:43 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration