Hey!

I just tried to stream a-Law WAVE files with FFserver (ffmpeg 0.5). However, FFplay seems not be to able to receive / decode the stream. MPlayer works (tried with mu-Law, too).


FFserver startup:
-----------------
# ffserver -d -f ffserver.conf
FFserver version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --enable-libmp3lame --enable-libvorbis --enable-shared --disable-demuxer=v4l
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 0 / 52.20. 0
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  built on Oct  5 2009 15:03:46, gcc: 3.4.6 20060404 (Red Hat 3.4.6-10)
Mon Oct  5 16:34:12 2009 FFserver started.

FFserver config file (only relevant lines, the rest is the same as provided in the sample config):
-------------------------------
<Stream stream.wav>
Format wav
NoLoop
File "/autofs/home/users/markus/Audiobook/d1t1.wav"
NoVideo
</Stream>

FFplay startup try #1:
----------------------
# ffplay -vn http://localhost:8090/stream.wav
FFplay version 0.5, Copyright (c) 2003-2009 Fabrice Bellard, et al.
configuration: --enable-libmp3lame --enable-libvorbis --enable-shared --disable-demuxer=v4l
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 0 / 52.20. 0
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  built on Oct  5 2009 15:03:46, gcc: 3.4.6 20060404 (Red Hat 3.4.6-10)

--> hangs forever...

FFplay startup try #2:
----------------------
# ffplay -vn -f alaw http://localhost:8090/stream.wav
FFplay version 0.5, Copyright (c) 2003-2009 Fabrice Bellard, et al.
configuration: --enable-libmp3lame --enable-libvorbis --enable-shared --disable-demuxer=v4l
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 0 / 52.20. 0
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  built on Oct  5 2009 15:03:46, gcc: 3.4.6 20060404 (Red Hat 3.4.6-10)
[alaw @ 0x97977e0]Could not find codec parameters (Audio: pcm_alaw, mono, s16)
http://localhost:8090/stream.wav: could not find codec parameters

MPlayer:
--------
# mplayer rtsp://localhost:8090/stream.wav
MPlayer SVN-r29752-3.4.6 (C) 2000-2009 MPlayer Team

Playing rtsp://localhost:8090/stream.wav.
Resolving localhost for AF_INET6...
Couldn't resolve name for AF_INET6: localhost
Resolving localhost for AF_INET...
Connecting to server localhost[127.0.0.1]: 8090...
librtsp: server responds: 'X��X��'
Resolving localhost for AF_INET6...
Couldn't resolve name for AF_INET6: localhost
Resolving localhost for AF_INET...
Connecting to server localhost[127.0.0.1]: 8090...
Cache size set to 320 KBytes

Audio only file format detected.
==========================================================================
Opening audio decoder: [alaw] aLaw/uLaw audio decoder
AUDIO: 8000 Hz, 1 ch, s16le, 64.0 kbit/50.00% (ratio: 8000->16000)
Selected audio codec: [alaw] afm: alaw (aLaw)
==========================================================================
AO: [oss] 8000Hz 1ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:  11.3 (11.3) of -0.0 (unknown)  0.0% 63%

--> works!  :)



greetings..
..Markus
_______________________________________________
ffserver-user mailing list
ffserver-user@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/ffserver-user

Reply via email to