Hi everyone,
I’m building a C++ video matrix application using GStreamer. I need to crop up to 16 video streams (4K) from capture cards. To keep performance good, I wanted to do the cropping entirely on the GPU instead of using videocrop, which eats up CPU like crazy (70% cpu usage while gpu usage just 15%).
I asked around and recommended using either:
-
d3d12compositorwithxpos/ypos/width/heighton sink pads, but those are for positioning, not cropping. -
d3d12convertwithcrop-left,crop-right, etc., but those properties don’t exist in my GStreamer build.
Running gst-inspect-1.0 d3d12convert doesn’t show any cropping-related properties at all. So I’m stuck with videocrop for now, but at 4K it’s maxing out my CPU.
Has anyone actually gotten GPU cropping working with d3d12convert?