Changes between Initial Version and Version 1 of Ticket #9599, comment 24
- Timestamp:
- Aug 25, 2023, 9:20:31 PM (5 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #9599, comment 24
initial v1 1 1 Nice. Good to know that this can be worked around. I assume that forcing decoding via `vp9_videotoolbox` without hwaccel would result in a crash, or corrupted output? That would make this workaround risky to use... Maybe there's a way to define a codec as "HW accelerated only", meaning it doesn't provide software decoding at all? 2 3 EDIT: For what it's worth, the CUVID decoders do something like this. They don't use the `-hwaccel` option to enable the hardware decoder (it does something else for cuvid). Choosing the `h264_cuvid` decoder, for example, will enable hardware decoding. It looks like enabling the `AV_CODEC_CAP_HARDWARE` flag in AVCodec->capabilities is what enables this behaviour. I'm not sure this is applicable here though, since some things are definitely different about the CUVID decoder implementations.


