diff options
author | Alex Agranovsky <alex@sighthound.com> | 2015-11-29 18:54:14 -0500 |
---|---|---|
committer | wm4 <nfxjfg@googlemail.com> | 2015-12-02 22:39:27 +0100 |
commit | 259c71c199e9b4ea89bf4cb90ed0e207ddc9dff7 (patch) | |
tree | a05e87103bc74285ceb24722ed07ab1d42065b25 /doc/demuxers.texi | |
parent | 79103f21990307bb8855a03d68154e1c5d197a7c (diff) | |
download | ffmpeg-259c71c199e9b4ea89bf4cb90ed0e207ddc9dff7.tar.gz |
avformat/mpjpeg: utilize MIME boundary value to detect start of new frame
This code is disabled by default so not to regress endpoints sending invalid MIME, but can be enabled via AVOption 'strict_mime_boundary'
Signed-off-by: Alex Agranovsky <alex@sighthound.com>
Diffstat (limited to 'doc/demuxers.texi')
-rw-r--r-- | doc/demuxers.texi | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/demuxers.texi b/doc/demuxers.texi index 349b531357..fb1e4fb3e5 100644 --- a/doc/demuxers.texi +++ b/doc/demuxers.texi @@ -450,6 +450,21 @@ to 1 (-1 means automatic setting, 1 means enabled, 0 means disabled). Default value is -1. @end table +@section mpjpeg + +MJPEG encapsulated in multi-part MIME demuxer. + +This demuxer allows reading of MJPEG, where each frame is represented as a part of +multipart/x-mixed-replace stream. +@table @option + +@item strict_mime_boundary +Default implementation applies a relaxed standard to multi-part MIME boundary detection, +to prevent regression with numerous existing endpoints not generating a proper MIME +MJPEG stream. Turning this option on by setting it to 1 will result in a stricter check +of the boundary value. +@end table + @section rawvideo Raw video demuxer. |