[FFmpeg-trac] #511(undetermined:new): Intel JPEG library: flipped?

FFmpeg trac at avcodec.org
Fri Dec 9 00:43:55 CET 2011


#511: Intel JPEG library: flipped?
-------------------------------------+-------------------------------------
             Reporter:  cehoyos      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  mjpeg        |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  1
-------------------------------------+-------------------------------------

Comment (by ami_stuff):

 In this case the file is flipped unnecessary.

 libavcodec/mjpegdec.c:
 {{{
             else if((len > 20 && !strncmp(cbuf, "Intel(R) JPEG Library",
 21)) ||
                     (len > 19 && !strncmp(cbuf, "Metasoft MJPEG Codec",
 20))){
 -                s->flipped = 1;
 +                s->flipped = 0;
             }
 }}}

 so it looks like the intel jpeg encoder can save flipped and not flipped
 jpeg frames and the question is how to identify which frames should be
 fliped and which not.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/511#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list