Gstreamer nvenc encoding from decklinkvideosrc

Hello- On my jetson nano I can use the following command to capture video from a camera and encode to an mp4 file:

gst-launch-1.0 nvv4l2camerasrc num-buffers=180 ! ‘video/x-raw(memory:NVMM),height=1920,width=1080,framerate=(fraction)60/1’ ! nvvidconv ! nvv4l2h264enc ! filesink location=rp1.mp4

I would like to do something similar but on an x86_64 desktop with a decklink video card. I’ve tried:

gst-launch-1.0 -v decklinkvideosrc device-number=1 ! ‘video/x-raw, width=3840, height=2160, pixel-aspect-ratio=1/1, interlace-mode=progressive, framerate=60/1, format=UYVY, colorimetry=bt2020, chroma-site=mpeg2’ !
! nvvidconv ! nvv4l2h264enc ! filesink location=rp1.mp4

But I get this:

WARNING: erroneous pipeline: could not link decklinkvideosrc0 to nvvideoconvert0, neither element can handle caps video/x-raw, width=(int)3840, height=(int)2160, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)60/1, format=(string)UYVY, colorimetry=(string)bt2020, chroma-site=(string)mpeg2

Also, Ideally I’d like the frames to go directly into NVMM (presumably through GPUDirect)-- but I’m not sure decklinkvideosrc would support that… is that possible?

Thoughts Appreciated…

Thanks, Roger

I have the same problem.
How did you solve it?