[FFmpeg-trac] #8967(avcodec:new): FFmpeg fails with image2pipe while image2 works

FFmpeg trac at avcodec.org
Mon Nov 9 11:27:49 EET 2020


#8967: FFmpeg fails with image2pipe while image2 works
-------------------------------------+-------------------------------------
             Reporter:  fritsch      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avcodec
              Version:  unspecified  |               Resolution:
             Keywords:  mjpeg        |               Blocked By:
  regression kodi                    |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by fritsch):

 Reason: In older version, there was no two images, but only the "normal
 one". It's still not clear to me why image2 skips a small one away. I hope
 that's not some progressive preview or something.

 So in general you suggest, that we should be using image2 for our png /
 jpeg images if we only expect one image anyways, right?

 Code is here:
 https://github.com/xbmc/xbmc/blob/master/xbmc/guilib/FFmpegImage.cpp#L199

 Reason back at the time was, that we could shorting detection and parsing
 (is_jpeg, is_png) by a lot and then used the pipes directly.

 But if I get you right using the *_pipe was always wrong and worked by
 accident - we should use image2 instead?

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


More information about the FFmpeg-trac mailing list