[FFmpeg-trac] #9599(undetermined:reopened): VideoToolbox VP9 hwaccel freezes ffmpeg

FFmpeg trac at avcodec.org
Sun Aug 20 23:22:23 EEST 2023


#9599: VideoToolbox VP9 hwaccel freezes ffmpeg
-------------------------------------+-------------------------------------
             Reporter:  Eric Karnes  |                    Owner:  (none)
                 Type:  defect       |                   Status:  reopened
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
  videotoolbox vp9                   |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by FreezyLemon):

 Replying to [comment:20 Eric Karnes]:
 > I attempted your workaround on master and unfortunately it still locks
 up the same as it would otherwise.

 That is unfortunate. I checked the code and discovered that the BSF
 "vp9_superframe_split" is defined to be run in vp9.c:

 {{{
     .bsfs                  = "vp9_superframe_split",
 }}}

 This BSF does the opposite/reverse of vp9_superframe, namely splitting
 superframes into singular frames (this is apparently needed for the
 software decoder). So the work done by "vp9_superframe" is being undone
 right before decoding.

 Not sure if there's a simple way to disable this for just videotoolbox.
 Removing this altogether would most likely break other decoders...
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9599#comment:21>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list