[FFmpeg-trac] #8731(avcodec:new): videotoolbox decoding HEVC too slow for realtime

FFmpeg trac at avcodec.org
Sat Jun 13 13:52:52 EEST 2020


#8731: videotoolbox decoding HEVC too slow for realtime
--------------------------------------+-----------------------------------
             Reporter:  der_richter   |                    Owner:
                 Type:  defect        |                   Status:  new
             Priority:  normal        |                Component:  avcodec
              Version:  git-master    |               Resolution:
             Keywords:  videotoolbox  |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
--------------------------------------+-----------------------------------

Comment (by der_richter):

 i can't tell you if it can be fixed within ffmpeg or if it is just a
 limitation of the videotoolbox API provided by Apple. that is a question
 for someone who actually worked on the code in ffmpeg and has more
 experience with the videotoolbox API and its limitations. so if you think
 it's not an issue with ffmpeg but upstream i am perfectly fine if this
 ticket is closed.

 as a simple user though, i would expect a normal 4K UHDBD to
 playback/decode in realtime when any hwdec is used and advertised as
 supported. otherwise it should fallback to sw decoding. VLC for example
 gets a "videotoolbox warning: vt session error: 'kVTInvalidSessionErr'"
 and falls back to sw decoding.

 also on a side note, copying the video stream into a mp4 container to make
 it readable with quicktime player also shields a "The file isn’t
 compatible with QuickTime Player." error, and it won't be played back.

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


More information about the FFmpeg-trac mailing list