[FFmpeg-trac] #11245(avformat:new): Slow HEIC decoding with "hevc_cuvid"

FFmpeg trac at avcodec.org
Tue Oct 22 16:20:17 EEST 2024


#11245: Slow HEIC decoding with "hevc_cuvid"
-------------------------------------+-------------------------------------
             Reporter:  dkode        |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:  avformat
              Version:  7.1          |               Resolution:
             Keywords:  heif         |               Blocked By:
  hevc_cuvid                         |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by James):

 >This is grid type of heic image and ffmpeg is taking 40-60 seconds

 >I tried setup debugging and found
 libavformat/demux.c:avformat_find_stream_info is consuming most of the
 time.

 This grid based image has 49 separate HEVC streams, 48 of them being the
 actual grid and one being a thumbnail, and each of which will fire their
 own decoder. The slowness may be hevc_cuvid being initialized that many
 times just for probing.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11245#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list