Hardware accelerated filters like overlay_cuda are not working in Beamcoder.
The filters are expecting hardware frame contexts to be allocated and filled with data.
Instead these fields remain initialized to null so most filters just exit with an error.
AVFilterLink *inlink;
// ...
// these fields should be initialized:
inlink->hw_frames_ctx;
(AVHWFramesContext*)inlink->hw_frames_ctx->data;
I'll submit our solution as an example in a PR but perhaps you might have other ideas on how to solve this.
Hardware accelerated filters like overlay_cuda are not working in Beamcoder. The filters are expecting hardware frame contexts to be allocated and filled with data. Instead these fields remain initialized to null so most filters just exit with an error.
I'll submit our solution as an example in a PR but perhaps you might have other ideas on how to solve this.