Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I've tried ffmpeg but there is no /dev/dsp device.

share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

Try SoX or Ecasound.

share|improve this answer
    
Those could work but I'd really like to have a ffmpeg solution because I alredy use it for other things. –  codeflakes Sep 14 '11 at 16:33
    
Apparently ffmpeg supports Mac audio recording out of the box if built with OpenAL. So go right ahead. –  Ingmar Hupp Sep 14 '11 at 18:14
add comment

I'd recommend looking into MPlayer OSX Extended -- it's a port of the linux app "mplayer" and will let you record from a multitude of audio sources (including streams and remote files).

/Applications/MPlayer\ OSX\ Extended.app/Contents/Resources/Binaries/mpextended.mpBinaries/Contents/mpextended.mpBinaries/Contents/MacOS/mplayer \
    http://server.com/stream.pl \
    -cache 1024 -ao coreaudio:device_id=49 -volume 65 -ac hwac3, -slave \
    -identify -noar -dumpstream -dumpfile ~/Desktop/stream.mp3

See http://www.mplayerosx.ch/ for more information

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.