On Sun, Jan 29, 2012 at 01:31:00AM +0200, Alfs Kurmis wrote:
Problem is that, for example mpg123 any messages put
to stderr, so that with
option -s we gotta pure RAW to stout,
but mplayer put all messages to stout
sox/play will definitely do the job with "-" as the parameter. I'm not
sure about the possible codecs.
If nothing helps, fire up jackd (-d dummy should be fine for your case),
tell mplayer to output to jack (-ao jack) and use jack-stdout to pipe
raw audio samples to your later stages or implement whatever you have to
do as a jack program.
Though jackd might be overkill for the use case at hand.
HTH
--
mail: adi(a)thur.de
http://adi.thur.de PGP/GPG: key via keyserver