[FFmpeg-trac] #5023(avformat:open): Can no longer read mjpeg from Mobotix camera

FFmpeg trac at avcodec.org
Sun Nov 22 00:11:11 CET 2015


#5023: Can no longer read mjpeg from Mobotix camera
-------------------------------------+-------------------------------------
             Reporter:  hackeron     |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  mjpeg        |               Blocked By:
  mpjpeg regression                  |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by w3sip):

 Current criteria for mpjpeg selection is:

 1) Content-Type of  multipart/x-mixed-replace. Without full HTTP headers
 we can't know for sure it's present, but I'll venture to guess it's there.
 2) Being able to successfully parse first part of the multipart
 (parse_multipart_header in mpjpegdec.c -- requirement is Content-Type of
 image/jpeg and presence of Content-Length)

 From what I see, this stream satisfies both upon probing, later on
 relapsing by removing Content-Length from 2nd MIME part on.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5023#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list