Hello. I am using nvcompositor and I have questions.
How do I use the textoverlay plugin in a video after nvcompositor.
(sensor-id = 0 and sensor-id = 1) —> nvcompositor —> textoverlay —> nvoverlaysink.
I ran this pipeline:
nvarguscamerasrc sensor-id=0 sensor-mode=2 ! nvvidconv ! textoverlay text=“sensor-id=0” ! nvvidconv ! queue ! comp. nvarguscamerasrc sensor-id=1 sensor-mode=2 ! nvvidconv ! textoverlay text=“sensor-id=1” ! nvvidconv ! queue ! comp. nvarguscamerasrc sensor-id=2 sensor-mode=2 ! nvvidconv ! textoverlay text=“sensor-id=2” ! nvvidconv ! queue ! comp. nvarguscamerasrc sensor-id=3 sensor-mode=2 ! nvvidconv ! textoverlay text=“sensor-id=3” ! nvvidconv ! queue ! comp. v4l2src device=“/dev/video12” ! “video/x-raw, width=1280, height=720, format=(string)YUY2, framerate=30/1” ! nvvidconv ! comp. v4l2src device=“/dev/video13” ! “video/x-raw, width=1280, height=720, format=(string)YUY2, framerate=30/1” ! nvvidconv ! queue ! comp. v4l2src device=/dev/video4 norm=NTSC ! “video/x-raw, format=(string)YUY2, width=640, height=480” ! nvvidconv ! queue ! comp.
it works but how to overlay text not in every video stream but in one after nvcompositor?