The universal decoder nvv4l2decoder is available.
However, when I execute the following command: gst-launch-1.0 rtspsrc location=rtsp://admin:123456@192.168.1.170:554/mpeg4 latency=200 ! rtph264depay ! h264parse ! nvv4l2decoder ! nvvidconv ! video/x-raw,width=1280,height=720,format=BGRx ! videoconvert ! video/x-raw,format=BGR ! appsink, I still encounter the following error:
Setting pipeline to paused …
Opening in BLOCKING MODE
Pipeline is live and does not need PREROLL …
Progress: (open) Opening Stream
Pipeline is PREROLLED …
Pre-roll loaded, waiting for processing to complete…
Progress: (connect) Connecting to rtsp://admin:123456@192.168.1.170:554/mpeg4
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (open) Opened Stream
Setting pipeline to playing …
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Reallocating latency time…
Progress: (request) Sending PLAY request
Reallocating latency time…
Progress: (request) Sent PLAY request
NvMMLiteOpen : Block : BlockType = 261
NvMMLiteBlockCreate : Block : BlockType = 261
Reallocating latency time…
Reallocating latency time…9.
Error: from element /GstPipeline:pipeline0/GstH264Parse:h264parse0: Error parsing H.264 stream Additional debug info:
../gst/videoparsers/gsth264parse.c(1454): gst_h264_parse_handle_frame (): /GstPipeline:pipeline0/GstH264Parse:h264parse0:
No H.264 NAL unit found Execution ended after 0:01:04.093865268
Setting pipeline to NULL …
Freeing pipeline resources …
My NVDEC is activated, running at 112 MHz (is 112 MHz a bit low?). Another issue is that the memory usage keeps increasing.
There are three questions in total: 1. Is there any problem with my command? 2. Is 112 MHz a bit low? 3. Why does the memory usage keep increasing?
Thank you again for your answer.