Error with `video/x-raw(memory:NVMM)` in pipeline description
Using this works fine with gstd-client, but the same command posting to the HTTP client shows an error in gstd
(gstd:294): GStreamer-WARNING **: 20:47:07.511: Invalid caps feature name: 'memory
2:47:38.385080325 294 0x7f700c0c50 ERROR gstdpipeline gstd_pipeline.c:513:gstd_pipeline_create:<GstdPipeline@0x55882e0de0> Unable to create pipeline: no element "NVMM"
2:47:38.385161254 294 0x7f700c0c50 ERROR gstdlist gstd_list.c:235:gstd_list_create:<GstdList@0x5588266d80> Could not create the resource "test" on "pipelines"
This is a partial description, which works until the video/x-raw(memory:NVMM) is added to the end.
udpsrc name=src multicast-group=239.1.1.3 port=8208 auto-multicast=true multicast-iface=eth0 ! video/mpegts ! tsdemux name=demux demux. ! queue2 max-size-buffers=0 max-size-time=0 max-size-bytes=0 ! h264parse ! nvv4l2decoder ! video/x-raw(memory:NVMM)
This nvidia developer forum post seems to address the issue for directly using gst, but I don't see how this could be fixed in gstd https://forums.developer.nvidia.com/t/using-x-raw-memory-nvmm-in-gstreamer-program/42654/6
Hi @dbussert
It seems to be a problem of character escaping. In my case, when I use it with PyGstc, I can use a description similar to this one:
desc = "nvarguscamerasrc ! video/x-raw(memory:NVMM),width=320,height=240 ! fakesink"
So, you don't need to use quotes within the pipeline.