• Hardware Platform (Jetson / GPU)
: Jetson Nano • DeepStream Version
: DS 4.0.1 • JetPack Version (valid for Jetson only)
: Jetpack 4.2.2
Hello.
I am trying to receive mjpeg rtsp stream from camera using Deepstream.
By the way, after the project runs, the gpu memory keeps increasing.
Then the jetson board is forcibly terminated.
I checked other forums with the same problem, and I saw a post saying that replacing nvjpecdec with nvv4l2decoder will solve it.
Or, in deepstream_source_bin.c, I saw an article saying that you can set the mjpeg property to 1 in the cb_rtspsrc_select_stream function, but I could not solve it.
How can I use MJPEG RTSP stream in Deepstream 4.0.1 SDK without memory leak?
How can I change Decoder nvjpegdec to nvv4l2decoder?
Need to change the source code?
DS4.0.1 is not supported now. Can you upgrade to latest DeepstreamSDK 5.0.1 first? Quickstart Guide — DeepStream 6.1.1 Release documentation
With DeepStream5.0.1, you can use the nvv4l2decoder with “mjpeg=1” property to decode mjpeg stream.
There are sample codes in DeepStreamSDK package. The element property setting is “g_object_set” function, it exists in almost every sample app source codes. Please check the sample codes.