I am running GStreamer Core Library version 1.14.5… and creating Gstreamer pipes. I am struggling with converting pipes with ‘omxh264dec’ and trying to use ‘nvv4l2decoder’ as suggested… and I cannot get anything to actually work yet.
I’ve seen that maybe I need ‘nvvideoconvert’… but it seems I don’t have that plugin.
Here is what I am trying to do:
std::string pipe = “rtspsrc location=rtsp://admin:firstname.lastname@example.org:554/cam/realmonitor?channel=1&subtype=0 ! rtph264depay ! h264parse ! nvv4l2decoder ! nvvideoconvert ! appsink”;
IN the end, I have this RTSP stream coming from IP video camera… into OpenCV… and trying to use hardware decoding to not load the CPU so much.
I have tried many, many PIPELINES using nvv4l2decoder… but nothing works. No errors. Just nothing in the app.
This works… but has issue of bottom 10 rows of pixels are messed up in the frame… no idea why…
// std::string pipe = “rtspsrc location=rtsp://admin:email@example.com:554/cam/realmonitor?channel=1&subtype=0 ! rtph264depay ! h264parse ! omxh264dec ! video/x-raw(memory:NVMM),format=(string)NV12 ! nvvidconv ! video/x-raw, format=(string)BGRx ! videoconvert ! appsink”;
Ideas? Where do I get nvvideoconvert and then need to rebuild OpenCV with improved Gstreamer?