[LAD] audio recording through pipe using mplayer and sox

Kjetil S. Matheussen k.s.matheussen at notam02.no
Thu Apr 9 19:30:33 UTC 2009

Arnold Obdeijn:
> Hi all,
> I am using mplayer, sox and tee to capture streaming internet radio
> and send it both to an audio recognition program and to a file
> (recording).
> This is how I do it:
> mplayer -playlist {url}  -nocache -af volnorm -msglevel all=1 -nolirc
> -vc dummy -vo null -ao pcm:file={$fifo1} &

I don't know if it will help or work, but how about using
-dumpstream <file> instead of -ao pcm:file=<file> ?

I think there's more buffering with -dumpstream than -ao pcm: ...

More information about the Linux-audio-dev mailing list