I am trying to use videocompositor to overlay 2 BGRA video feeds. This is my sample pipeline:
gst-launch-1.0 v4l2src device=/dev/video2 ! video/x-raw,format=YUY2,width=2560,height=720,framerate=30/1 ! compositor name=comp sink_0::alpha=1 sink_1::alpha=0.5 ! xvimagesink videotestsrc ! video/x-raw,format=I420, framerate=\(fraction\)5/1, width=320, height=240 ! comp.
I was wondering how I would use nvcompositor instead of videocompositor here for improved performance on the Jetson.
I was also wondering if there’s a way to create a stream (maybe using appsink/appsrc) in opencv so that I can create a feed of text and shapes to overlay my video stream.