Hi I’m currently trying to opencv matrix to gstreamer pipeline, although I can get the pipeline working using jpegenc I would like to have h264 encoded stream. The pipeline is as follows,
"appsrc ! videoscale ! videoconvert ! video/x-raw(memory:NVMM), format=I420,width=1920,height=1080,framerate=30/1 ! h264parse ! rtph264pay ! udpsink host=127.0.0.1 port=5001"
The issue with this being,
Streamer warning: error opening writer pipeline: could not link videoconvert0 to h264parse0, h264parse0 can't handle caps video/x-raw(memory:NVMM), format=(string)I420, width=(int)1920, height=(int)1080, framerate=(fraction)30/1
Any idea how to fix this? Thanks.