[FFmpeg-devel] [PATCH] mpjpeg: video streaming will no longer break and stop on Firefox

Michael Niedermayer michaelni at gmx.at
Sat Mar 10 18:35:40 CET 2012

On Fri, Mar 09, 2012 at 09:43:48PM +0100, Zalewa PL wrote:
> mpjpeg video streamings would break and stop on Firefox after 1 - 30
> seconds.
> In order to fix this, two changes were made:
> 1. Replaced all occurrences of '\n' character in mjpeg metadata
>    with occurences of "\r\n".
> 2. Added "Content-length: <packet-size>" metadata entry for each
>    sent frame.
> The change has been tested on Google Chrome 17.0.963.78 and Firefox 10.0.2
> on lubuntu 11.10 and the streaming seems to work fine now.


next time please attach the patch so it doesnt have messed up line


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120310/e19d938f/attachment.asc>

More information about the ffmpeg-devel mailing list