-
Hi @asticode , Sorry to bother you again, but I've run into another issue that I can't seem to figure out. I've also tried the hardware_encoding example provided, and it fails with the same error. 1.OS : Windows11 Here's my logs:
And here are the relevant code:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey, just a quick update: I managed to figure out the issue I mentioned earlier. |
Beta Was this translation helpful? Give feedback.
Hey, just a quick update: I managed to figure out the issue I mentioned earlier.
It turns out the encCodec.HardwareConfigs method,doesn't actually retrieve the valid pixel formats supported by a specific hardware instance. These need to be fetched using the av_hwdevice_get_hwframe_constraints function.
I've pushed a PR with a fix for this. Please take a look when you get a chance.