Re: [LAD] Mplayer decode to stdout

From: Paul Davis <paul@email-addr-hidden>
Date: Sun Jan 29 2012 - 00:41:08 EET

On Sat, Jan 28, 2012 at 5:35 PM, Alfs Kurmis <kallipygos@email-addr-hidden> wrote:
> Hi Experts.
>
> For my small multimedia audio project i wanna use mplayer as external
> decoder.
> 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.

--p
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Sun Jan 29 00:15:05 2012

This archive was generated by hypermail 2.1.8 : Sun Jan 29 2012 - 00:15:05 EET