[FFmpeg-devel] [PATCH] ffserver - single jpeg output stream

Reinhard Tartler siretart
Sun Jan 25 11:34:56 CET 2009


This is a pretty old patch created by "Ot?vio Ribeiro"
<otavio at otavio.eng.br> in Jun 2006. You can read the original submission
at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=374931

I haven't tested it myself, but forward ported it to current svn. The
original report says:

> When i try to show an image from a ffserver single jpeg output stream
> the client browser keep downloading it forever. That's because ffserver
> doesn't support a single jpeg stream and treat it as a multipart jpeg
> sequence.
> 
> So i've made the follow path to correct the problem.
> I've corrected the mime-type to image/jpeg as well.
> 
> The idea is just to close the connection after a jpeg frame has been
> sent to client.

Patch attached:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug.374931.diff
Type: text/x-diff
Size: 1347 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090125/8d89d96e/attachment.diff>
-------------- next part --------------




-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



More information about the ffmpeg-devel mailing list