SwiftFFmpeg icon indicating copy to clipboard operation
SwiftFFmpeg copied to clipboard

Hardware-Decode example throws errors

Open chris-mds opened this issue 3 years ago • 0 comments

Hi, I am trying to get hwaccelerated decoding working in my project. I imported the library via SPM and pasted the example inside my project. This leads to a lot of errors ( see screenshots below ). I inspected the errors and recognized, that e.g. the error Type 'AVHWDeviceType' has no member 'supportedDeviceTypes' could not be valid, if we would be using this AVHWContext.swift file. So I assume, that the provided hw-decode-example is outdated? Am I missing something? I would appreciate any help. Bildschirmfoto 2021-11-23 um 10 25 25 Bildschirmfoto 2021-11-23 um 10 25 31

chris-mds avatar Nov 23 '21 09:11 chris-mds