Hello,

Please, I need some help because I can not stream videos using ffserver and
ffmpeg with feeds.

the error message I get is the following "av_interleaved_write_frame():
Error while opening file".

Bellow You will find wath I wrote in command line

Thank's in advance.

Ariel.


First:    Execute FFSERVER:

#
r...@alaurella-desktop:/home/alaurella/Videos# ffserver -d -f
ffserver-feed2.conf
FFserver version git-b9abde0, Copyright (c) 2000-2010 Fabrice Bellard, et
al.
  built on Feb 18 2010 16:42:58 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. 9. 0 / 50. 9. 0
  libavcodec    52.54. 0 / 52.54. 0
  libavformat   52.52. 0 / 52.52. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.17. 0 /  1.17. 0
  libswscale     0.10. 0 /  0.10. 0
  libpostproc   51. 2. 0 / 51. 2. 0
Fri Feb 19 14:05:07 2010 FFserver started.



Second:   Execute  FFMPEG

#
r...@alaurella-desktop:/home/alaurella/Videos# ffmpeg -i test.mpg
http://localhost:8092/feed1.ffm
FFmpeg version git-b9abde0, Copyright (c) 2000-2010 Fabrice Bellard, et al.
  built on Feb 18 2010 16:42:58 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. 9. 0 / 50. 9. 0
  libavcodec    52.54. 0 / 52.54. 0
  libavformat   52.52. 0 / 52.52. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.17. 0 /  1.17. 0
  libswscale     0.10. 0 /  0.10. 0
  libpostproc   51. 2. 0 / 51. 2. 0
[mpeg @ 0x9b247e0]max_analyze_duration reached

Seems stream 0 codec frame rate differs from container frame rate: 50.00
(50/1) -> 25.00 (25/1)
Input #0, mpeg, from 'test.mpg':
  Duration: 00:01:00.32, start: 0.500000, bitrate: 624 kb/s
    Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576 [PAR 16:15 DAR
4:3], 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Output #0, ffm, to 'http://localhost:8092/feed1.ffm':
  Metadata:
    encoder         : Lavf52.52.0
    Stream #0.0: Video: mpeg1video, yuv420p, 160x128, q=1-31, 226 kb/s,
1000k tbn, 25 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
[mpeg1video @ 0x9b508f0]rc buffer underflow
av_interleaved_write_frame(): Error while opening file


FFSERVER.CONF
---------------------------------------------------------------------------------------------

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

<Feed feed1.ffm>
File /tmp/feed1.ffm
FileMaxSize 10M
ACL ALLOW localhost
ACL ALLOW 127.0.0.1
ACL ALLOW 192.168.0.0 192.168.255.255
</Feed>


<Stream test1.mpg>
Feed feed1.ffm
Format mpeg
VideoBitRate 226k
VideoBufferSize 40k
VideoFrameRate 25
VideoSize 160x128
VideoGopSize 12
NoAudio
VideoQMin 1
VideoQMax 31
Preroll 15
Strict -1
</Stream>

<Stream stat.html>
Format status
</Stream>

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




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

Reply via email to