• Hardware Platform (Jetson / GPU) Javier • DeepStream Version 6.2
I am trying to save frames from multiple rtsp streams to files. This seems to be similar to the example in deepstream_imagedata-multistream, but I keep getting the following errors:
If I try to attach a probe to the source pad of the source bin like so:
pad = analytics.get_static_pad("src")
pad.add_probe(
Gst.PadProbeType.BUFFER, save_image_probe, 0
)
Then I am able to read the metadata (using gst_buffer_get_nvds_batch_meta) but I cannot use get_nvds_buf_surface because “Currently we only support RGBA color Format”.
If I try to attach the probe to the tiler, as in the example:
Then I am not able to read the metadata any more, and get the error: AttributeError: 'NoneType' object has no attribute 'frame_meta_list' - the result of using gst_buffer_get_nvds_batch_meta is None. Could you tell me the correct approach to what I am trying to achieve here? I would like to be able to add a probe which will save the image from each source (not the tiled output) to different files.
Note: the sources/source bin pads are created like this:
As far as I can see the nvvideoconvert is configured the same as in the example. Could it be a problem with the ordering of my pipeline elements? If I add the probe to the tiler (which is after the nvvideoconvert), why am I no longer able to access the frame metadata?
Where should I link the capsfilter? I tried in a few places (after analytics/before tiler/after nvvidconv) but I always get the error TypeError: argument element: Expected Gst.Element, but got gi.repository.Gst.Caps.
Given that I want the probe callback to run for every stream individually, I guess that it needs to go before the tiler (as the probe also needs to go before the tiler)?
There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks
It can resolve the “Currently we only support RGBA color Format” issue you attached.