Re: [LAD] Mplayer decode to stdout

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-dev@...>
Date: Saturday, January 28, 2012 - 11:31 pm

> For my small multimedia audio proj=
ect i wanna use mplayer as external > decoder. > As usual=
ly via pipe , for example so > mplayer  -af resample=3D44100:=
0:1,channels=3D2,format=3Ds16le  -ao > pcm:nowaveheader:file=
=3D/dev/stdout -quiet -really-quiet  'saund_file.ext'  | &g=
t; nextprog -options ... you're just resampling and reformatti=
ng? > 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 progr=
ams that mplayer and will also likely do a better job. -=
-paf resample=3D44100:0:1,c=
hannels=3D2,format=3Ds16le is not so imoprtant, because most&#=
160; files already are 44k stereo S16LEIf some sound files are not 44=
k stereo S16LE, they are just forced -to-be- 44k stereo S16LE .=
Impotrant is gotta decoded RAW data (and only RAW data) to STDOUT,and=
not any messages mixed with RAW data !NEVER ! mplayer  - -ao pcm:nowaveheader:f=
ile=3D/dev/stdout -quiet -really-quiet  'saund_file.ext'  |  nextprog -options ... 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 A.K. ----

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] Mplayer decode to stdout, Alfs Kurmis, (Sat Jan 28, 10:36 pm)
Re: [LAD] Mplayer decode to stdout, Robin Gareus, (Sun Jan 29, 12:37 am)
Re: [LAD] Mplayer (ffmpeg) decode to stdout, Alfs Kurmis, (Wed Feb 1, 3:37 am)
Re: [LAD] Mplayer decode to stdout, Robin Gareus, (Sun Jan 29, 12:41 am)
Re: [LAD] Mplayer decode to stdout, Paul Davis, (Sat Jan 28, 10:41 pm)
Re: [LAD] Mplayer decode to stdout, Alfs Kurmis, (Sat Jan 28, 11:31 pm)
Re: [LAD] Mplayer decode to stdout, Adrian Knoth, (Sun Jan 29, 12:33 am)
Re: [LAD] Mplayer decode to stdout, Dan Muresan, (Sun Jan 29, 8:12 am)