Hello,

I have twos PCs (a streaming server and a client).


I open two Terminals in the server with Linux (Ubuntu 9.10)
----------------------------------------------------------------
1 - In Termina 1 I do:

r...@multimedia:/home/Videos# ffserver -f /etc/ffserver.conf

FFserver version SVN-r21213, Copyright (c) 2000-2010 Fabrice Bellard, et
al.
  built on Jan 25 2010 17:21:46 with gcc 4.4.1
  configuration: --prefix=/usr --enable-shared --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-gpl --enable-postproc --enable-avfilter
--enable-avfilter-lavf --enable-libfaac --enable-libfaad
--enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libxvid
--enable-libx264 --enable-libschroedinger --enable-x11grab --enable-nonfree
--enable-version3 --enable-libdc1394 --enable-libgsm --enable-libdirac
--disable-stripping --disable-decoder=libdirac
--disable-encoder=libschroeginger
  libavutil     50. 7. 0 / 50. 7. 0
  libavcodec    52.47. 0 / 52.47. 0
  libavformat   52.47. 0 / 52.47. 0
  libavdevice   52. 2. 0 / 52. 1. 0
  libavfilter    1.15. 0 /  1.15. 0
  libswscale     0. 8. 0 /  0. 8. 0
  libpostproc   51. 2. 0 / 51. 2. 0
Fri Feb 12 20:34:47 2010 FFserver started.

------------------------------------------------------------------------------

2 - In another Terminal of the same server PC I do:

r...@multimedia:/home/Videos# ffmpeg -i test6.swf
http://127.0.0.1:8092/feed2.ffm

FFmpeg version SVN-r21213, Copyright (c) 2000-2010 Fabrice Bellard, et al.
  built on Jan 25 2010 17:21:46 with gcc 4.4.1
  configuration: --prefix=/usr --enable-shared --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-gpl --enable-postproc --enable-avfilter
--enable-avfilter-lavf --enable-libfaac --enable-libfaad
--enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libxvid
--enable-libx264 --enable-libschroedinger --enable-x11grab --enable-nonfree
--enable-version3 --enable-libdc1394 --enable-libgsm --enable-libdirac
--disable-stripping --disable-decoder=libdirac
--disable-encoder=libschroeginger
  libavutil     50. 7. 0 / 50. 7. 0
  libavcodec    52.47. 0 / 52.47. 0
  libavformat   52.47. 0 / 52.47. 0
  libavdevice   52. 2. 0 / 52. 1. 0
  libavfilter    1.15. 0 /  1.15. 0
  libswscale     0. 8. 0 /  0. 8. 0
  libpostproc   51. 2. 0 / 51. 2. 0
[swf @ 0x8edf7d0]max_analyze_duration reached
[swf @ 0x8edf7d0]Estimating duration from bitrate, this may be inaccurate
Input #0, swf, from 'test6.swf':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: flv, yuv420p, 160x128, 25 fps, 25 tbr, 25 tbn, 25
tbc

Output #0, ffm, to 'http://127.0.0.1:8092/feed2.ffm':
    Stream #0.0: Video: flv, yuv420p, 160x128, q=3-31, 64 kb/s, 1000k tbn,
5 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
[flv @ 0x8eed540]rc buffer underflow
av_interleaved_write_frame(): Error while opening file
------------------------------------------------------------------------------


3 - The conf file is the following:

ffserver.conf
__________________________________________________________

Port 8092
BindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 10000
CustomLog -
Nodaemon

<Feed feed1.ffm>
File /tmp/feed1.ffm
FileMaxSize 2M
</Feed>

<Stream test.swf>
Feed feed1.ffm
Format flv
NoAudio
ACL allow localhost
ACL allow 192.168.0.0 192.168.255.255
</Stream>


<Stream stat.html>
Format status
ACL allow localhost
ACL allow 192.168.0.0 192.168.255.255
</Stream>

<Redirect index.html>
URL http://www.ffmpeg.org/
</Redirect>
-----------------------------------------------------------------------------


The file size of feed2.ffm is always 4KB.

In Client PC there is a Windows XP and I use de mplayer


D:\Videos>mplayer http://192.168.26.68:8092/test.swf
MPlayer Sherpya-SVN-r29851-4.2.5 (C) 2000-2009 MPlayer Team
Fontconfig error: Cannot load default config file

Playing http://192.168.26.68:8092/test.swf.
Connecting to server 192.168.26.68[192.168.26.68]: 8092...


MPlayer interrupted by signal 2 in module: open_stream
STREAM_ASF, URL: http://192.168.26.68:8092/test.swf
Connecting to server 192.168.26.68[192.168.26.68]: 8092...
Failed, exiting.
Connecting to server 192.168.26.68[192.168.26.68]: 8092...
No stream found to handle url http://192.168.26.68:8092/test.swf

Exiting... (Quit)

_________________________________________________________________________________________________

When I stream files with no feeds the transfer is fine, but the problem
appears when I want to use feeds.

Could you help to find where is the problem ?

Thank you

Ariel.




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

Reply via email to