[LAD] Mplayer decode to stdout

Adrian Knoth adi at drcomp.erfurt.thur.de
Sun Jan 29 00:33:06 UTC 2012

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.


mail: adi at thur.de  	http://adi.thur.de	PGP/GPG: key via keyserver

More information about the Linux-audio-dev mailing list