[Ffmpeg-devel] Livestreaming FLV with ffserver is buggy

Timon Reinhard timon
Sun Jul 16 16:26:52 CEST 2006


Hi,

streaming flv with ffserver doesn't work fine: The videostream plays
quite exactly *half the speed* it should (and sometimes stops
completely) in swf-based flv-players.

I'm using a recent svn checkout (4 days ago). Surprisingly, piping
ffmpeg's output (in flv-format) directly to a crappy self-written
streaming server works fine. So I think there's something up with
ffserver. ;)

The bug described above occurs regardless of the settings in
ffserver.conf, here are they anyway:

<Stream test1.flv>
Feed feed1.ffm 
Format flv
VideoCodec flv
AudioBitRate 24
AudioChannels 1
AudioSampleRate 22050
VideoBitRate 64
VideoBufferSize 500
VideoFrameRate 25
VideoSize 320x240
VideoIntraOnly
AudioCodec mp3
VideoCodec flv
Preroll 5
</Stream>

My ffmpeg commandlines:
  Method 1 (DV): dvgrab --noavc --format raw - | ffmpeg -f dv -i -
http://localhost:8090/feed1.ffm
  Method 2 (V4L): ffmpeg http://localhost:8090/feed1.ffm

Neither ffmpeg nor ffserver outputs any errors/warnings.

Thanks for any help,
Timon





More information about the ffmpeg-devel mailing list