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

FFmpeg trac at avcodec.org
Sat May 6 15:53:08 EEST 2023


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

 Replying to [comment:11 quinkblack]:
 > Replying to [comment:6 Eric Karnes]:
 > > I've since updated to FFMPEG 6.0 and am using Ventura 13.4 and the bug
 is still present however I'm given more information in the logs
 > >
 > >
 > > {{{
 > > [vp9 @ 0x7f84cf704080] Format videotoolbox_vld chosen by get_format().
 > > [vp9 @ 0x7f84cf704080] Format videotoolbox_vld requires hwaccel
 initialisation.
 > > [vp9 @ 0x7f84cf704080] Unknown VideoToolbox session creation error
 -12907
 > > [vp9 @ 0x7f84cf704080] Failed setup for format videotoolbox_vld:
 hwaccel initialisation returned error.
 > > [vp9 @ 0x7f84cf704080] Format videotoolbox_vld not usable, retrying
 get_format() without it.
 > > [vp9 @ 0x7f84cf704080] Format yuv420p chosen by get_format().
 > > }}}
 > >
 > >
 > > error -12907 seems to correlate to "kVTCouldNotCreateInstanceErr"
 while my Mac's console gives the error
 > >
 > >
 > > {{{
 > > [VP9] GVA error: ailed to create context
 > > }}}
 >
 > The hardware or OS doesn't support VP9 decoding. FFmpeg should be able
 to switch to software decoding.
 >
 > Please reopen the ticket if there is other issue with **FFmpeg master
 branch**.
 Thanks for the clarification, it seems that when I have my eGPU plugged in
 it takes over for decoding and that doesn't actually support VP9 so that
 explains why my logs were different. If I unplug my eGPU so that only my
 iGPU which supports VP9 is used, then it goes back to minimal logs and
 freezing. I've verified this on the master branch.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9599#comment:13>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list