[FFmpeg-user] create a mjpeg stream via ffserver with boundary strings

Patrick Fischer pfischer at como.com
Fri Aug 30 16:45:57 CEST 2013


I would like to create an mjpeg stream with ffserver.

Souce is an UDP Mpeg TS Stream


<Feed feed1.ffm> 
        # name of the file to hold the data
        File /tmp/feed1.ffm 
        # file size of the file
        FileMaxSize 100M
        Launch ffmpeg -i "udp://" -an -vcodec mjpeg -s 320x240 -y

<Stream test.mjpeg>
        Feed feed1.ffm
        Format jpeg        
        VideoSize 320x240
        VideoFrameRate 10
        VideoBitRate 2000
        VideoQMin 1
        VideoQMax 10

# status html page
<Stream stat.html>
        Format status
        # Only allow local people to get the status
        ACL allow localhost
        ACL allow
vlc can play back the mjpeg stream.

Firefox can't play back the stream.

I found out that the boundary string between the jpeg images are missing.

Content-Type: multipart/x-mixed-replace; boundary=--myboundary 


Content-Type: image/jpeg 

Content-Length: 44552 

How can i set ffserver off doing the boundarystring?

Best regards


More information about the ffmpeg-user mailing list