Gstreamer with GPU implementation of bayer2rgb

I ended up finding a gstreamer plugin that does debayer better by The Imaging Resource.

The following gstreamer pipline is working at 60 fps now.

gst-launch-1.0 aravissrc ! video/x-bayer,width=3072,height=2048,framerate=60/1 ! tcamconvert ! nvvidconv ! nvv4l2h265enc ! video/x-h265, streamformat=byte-stream ! h265parse ! qtmux ! filesink location=testvid.mp4 -e

They also have a closed source gstreamer plugin that explicitly uses cuda for bayer (tcamdutils-cuda), but I didn’t need it for 60 fps.

1 Like