According to the NVidia L4T Accelerated GStreamer User Guide, I have used the following three pipelines to decode My IP Camera stream but all failed at the same error message. Can someone shed some light here ?
IP Camera: Amcrest(IP8M-2493EW)/H264H
//Decodes stream from rtsp source
gst-launch-1.0 rtspsrc debug=1 location=rtsp://IP:554 ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! omxh264dec ! nveglglessink -e
//Decode stream from IP camera “Save” video files
gst-launch-1.0 filesrc location=<filename.mp4> ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! omxh264dec ! nveglglessink -e
//Decode for jetson nano via low-memory filter, as recommended by User guide
gst-launch-1.0 filesrc location=<filename.mp4> ! qtdemux ! h264parse ! omxh264dec enable-low-outbuffer=1 ! ‘video/x-raw(memory:NVMM), format=(string)NV12’ ! fakesink sync=1 -e
**************** Paste Error message here: ***********************************
GST_DEBUG=3 gst-launch-1.0 rtspsrc debug=1 location=rtsp://192.168.1.93:554 ! qtdemux name=demux demux.video_0 ! queue ! h264parse ! omxh264dec ! nveglglessink -e
0:00:00.637570112 9595 0x55b9816470 WARN omx gstomx.c:2826:plugin_init: Failed to load configuration file: Valid key file could not be found in search dirs (searched in: /home/user/.config:/etc/xdg/xdg-unity:/etc/xdg as per GST_OMX_CONFIG_DIR environment variable, the xdg user config directory (or XDG_CONFIG_HOME) and the system config directory (or XDG_CONFIG_DIRS)
Setting pipeline to PAUSED …
Using winsys: x11
Pipeline is live and does not need PREROLL …
0:00:00.682060317 9595 0x55b9816470 WARN structure gststructure.c:1832:priv_gst_structure_append_to_gstring: No value transform to serialize field ‘display’ of type ‘GstEGLDisplay’
Got context from element ‘eglglessink0’: gst.egl.EGLDisplay=context, display=(GstEGLDisplay)NULL;
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://192.168.1.93:554
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 1
Progress: (open) Opened Stream
Setting pipeline to PLAYING …
New clock: GstSystemClock
Progress: (request) Sending PLAY request
0:00:00.929713096 9595 0x7f8403c770 FIXME default gstutils.c:3981:gst_pad_create_stream_id_internal:fakesrc0:src Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:00.929891954 9595 0x7f8403c800 FIXME default gstutils.c:3981:gst_pad_create_stream_id_internal:fakesrc1:src Creating random stream-id, consider implementing a deterministic way of creating a stream-id
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
0:00:01.030681115 9595 0x7f64003280 WARN basesrc gstbasesrc.c:3055:gst_base_src_loop: error: Internal data stream error.
0:00:01.030772575 9595 0x7f64003280 WARN basesrc gstbasesrc.c:3055:gst_base_src_loop: error: streaming stopped, reason not-linked (-1)
0:00:01.150813153 9595 0x7f580028a0 WARN default grammar.y:510:gst_parse_no_more_pads: warning: Delayed linking failed.
0:00:01.150969719 9595 0x7f580028a0 WARN default grammar.y:510:gst_parse_no_more_pads: warning: failed delayed linking some pad of GstRTSPSrc named rtspsrc0 to some pad of GstQTDemux named demux
WARNING: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Delayed linking failed.
Additional debug info:
./grammar.y(510): gst_parse_no_more_pads (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
failed delayed linking some pad of GstRTSPSrc named rtspsrc0 to some pad of GstQTDemux named demux
0:00:01.152145942 9595 0x7f8403c8f0 WARN basesrc gstbasesrc.c:3055:gst_base_src_loop: error: Internal data stream error.
0:00:01.152310946 9595 0x7f8403c8f0 WARN basesrc gstbasesrc.c:3055:gst_base_src_loop: error: streaming stopped, reason not-linked (-1)
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1: Internal data stream error.
Additional debug info:
gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1:
streaming stopped, reason not-linked (-1)
EOS on shutdown enabled – waiting for EOS after Error
Waiting for EOS…