[LAD] Mplayer decode to stdout
paul at linuxaudiosystems.com
Sat Jan 28 22:41:08 UTC 2012
On Sat, Jan 28, 2012 at 5:35 PM, Alfs Kurmis <kallipygos at inbox.lv> wrote:
> Hi Experts.
> For my small multimedia audio project i wanna use mplayer as external
> As usually via pipe , for example so
> mplayer -af resample=44100:0:1,channels=2,format=s16le -ao
> pcm:nowaveheader:file=/dev/stdout -quiet -really-quiet 'saund_file.ext' |
> nextprog -options ...
you're just resampling and reformatting?
> Is here another decoder progs/libs with easy-to-use C API ?
sndfile-resample and sndfile-convert can both be given "-" as the name
of their output or input. they are much simpler programs that mplayer
and will also likely do a better job.
More information about the Linux-audio-dev