Gst-launch-1.0 don't work on jetson nano in Terminal

Hi guys,
I installed the gstreamer libs and dependencies according to Nvidia Gstream Documet, but when I use decoding example like this, I get error. why this error happed?

gst-launch-1.0 filesrc location=<filename.mp4> ! qtdemux name=demux
demux.video_0 ! queue ! h264parse ! omxh264dec ! nveglglessink -e

jnano@jnano-desktop:~$ gst-launch-1.0 filesrc location=1.mp4 ! qtdemux name=demux demux.video_0 ! queue ! h265parse ! omxh265dec ! nvoverlaysink -e
nvbuf_utils: Could not get EGL display connection
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
WARNING: from element /GstPipeline:pipeline0/GstQTDemux:demux: Delayed linking failed.
Additional debug info:
./grammar.y(510): gst_parse_no_more_pads (): /GstPipeline:pipeline0/GstQTDemux:demux:
failed delayed linking pad  video_0 of GstQTDemux named demux to some pad of GstQueue named queue0
ERROR: from element /GstPipeline:pipeline0/GstQTDemux:demux: Internal data stream error.
Additional debug info:
qtdemux.c(6073): gst_qtdemux_loop (): /GstPipeline:pipeline0/GstQTDemux:demux:
streaming stopped, reason not-linked (-1)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

but when I use such way I get correct results:

gst_str = ('rtspsrc location={rtsp} latency=300 ! '
                   'rtph264depay ! h264parse ! omxh264dec ! '
                   'nvvidconv ! '
                   'video/x-raw(memory:NVMM), '
                   'format=(string)BGRx ! videoconvert ! '
                   'appsink ')
cv2.VideoCapture(gst_str, cv2.CAP_GSTREAMER)

It seems to be version mismatch in the packages. Please install Jetpack4.3 through SDKmanager and try again.