[LAD] Mplayer decode to stdout

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

Hi Experts.For my small multimedia audio =
project i wanna use mplayer as external decoder.As usually via pipe ,=
for example somplayer  -af resample=3D44100:0:1,channels=3D2,fo=
rmat=3Ds16le  -ao pcm:nowaveheader:file=3D/dev/stdout -quiet -really-q=
uiet  'saund_file.ext'  |  nextprog -options ...or so<=
br />http://martini.pudele.com/radio/programming/audio/mplayerdecso01.cI prefer output to pipe, not FIFO.It seems that mplayer=
also all messages put to stdout :(If i run mplayer without options -=
quiet and -really-quiet and sound output to stdout , i becomemusic mi=
xed with white noise , if  message length "A:  14.8 (14.8) of 189=
=2E0 (03:09.0)  1.1%"is not N x 2 !If  message length=
is is N x 2 but not M x 4, then stereo channels are swapped :DIs mpl=
ayer really absolutley quiet with options -quiet and -really-quiet ?I=
s mplayer also absolutley quiet if sound file/frame/tag/whatever is corrupt=
?How i can be 100% sure ?Is it possible all mplayer's in=
fo message function calls , printf(), puts(), putch(), to replace withfprintf(stderr, ... ) ,or #define  puts( ss )  fprin=
tf(stderr, ss ) ?Is here another decoder progs/libs with easy-t=
o-use C API ?Tnx in advance @ allAlfs Kurmis =
----  

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)