[MPlayer-users] Output in Compand Alaw 8000 Hz
Guillaume
gwouite at gmail.com
Wed Sep 7 13:47:29 CEST 2005
Hi,
I need help with mplayer ...
First, I'm trying to force mplayer to make its output in /dev/stdout ...
I don't know how to do !! (i found a way but wit pcm audio output driver
only)
Second, I want that the sound which is going to stdout is encoded as
ALaw with a bitrate of 8000Hz / Mono. (This is for telephony applications)
I want to use mplayer because it can reads many streams format (MP3
streams, WMA, ...). But I want that it outputs the audio to stdout as
Alaw 8000Hz...
Does anybody know how to do it ?
What i got after a night of research :
/usr/local/mplayer/bin/mplayer http://radionova.ovh.net:8000/ -format
0x10 -af format=alaw,resample=8000:0:0,channels=1 -ao
pcm:nowaveheader:file=/dev/stdout | ./cache
But it doesn't output alaw ! I think the driver "pcm" outputs PCM Audio
datas ...
Thx for any response !
Guillaume
More information about the MPlayer-users
mailing list