[FFserver-user] stream wav file
Michael Trimarchi
trimarchi at retis.sssup.it
Wed Aug 29 17:09:09 CEST 2012
Hi all
I'm trying to stream this wav file
Stream #0.0: Audio: pcm_s24le, 192000 Hz, stereo, s32, 9216 kb/s
so I have created this server.conf
Port 8124
BindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 15000
CustomLog -
NoDaemon
# WAV compatible
<Stream test.wav>
File "/home/michael/work/test.wav"
AudioCodec pcm_s24le
AudioBitRate 24
AudioChannels 2
Format wav
NoVideo
StartSendOnKey
</Stream>
but if I try to play it using cvlc or ffplay I have this problem:
server side:
Wed Aug 29 17:04:41 2012 Opening file '/home/michael/work/test.wav'
Wed Aug 29 17:04:41 2012 FFserver started.
Wed Aug 29 17:04:47 2012 Tag [254][255][0][0]/0x0000fffe incompatible with output codec id '65548'
Wed Aug 29 17:04:47 2012 Error writing output header
Wed Aug 29 17:04:47 2012 127.0.0.1 - - [GET] "/test.wav HTTP/1.1" 200 64
Client side:
[tcp @ 0x10b4520] TCP connection to localhost:8124 failed: Connection refused
http://localhost:8124/test.wav: Invalid data found when processing input
Any idea?
Michael
More information about the ffserver-user
mailing list