When I do:
gst-inspect-1.0 nvstreammux
I get:
SINK template: ‘sink_%u’
Availability: On request
Capabilities:
video/x-raw(memory:NVMM)
format: { (string)NV12, (string)RGBA }
width: [ 1, 2147483647 ]
height: [ 1, 2147483647 ]
framerate: [ 0/1, 2147483647/1 ]
So I do:
gst-launch-1.0 uridecodebin uri=file:///home/nvidia/somefile.mp4 caps=‘video/x-raw(memory:NVMM),format=NV12’ ! nvvidconv ! ‘video/x-raw(memory:NVMM),format=RGBA’ ! nvstreammux width=640 height=360 batch-size=1 ! fakesink
But I get:
WARNING: erroneous pipeline: could not link nvvconv0 to nvstreammux0, nvstreammux0 can’t handle caps video/x-raw(memory:NVMM), format=(string)RGBA
What should my gst-launch-1.0 look like?