Gst-launch-1.0 issue on L4T R32.5.1

Hi All,

I meet a problem, I would like to playback the MP4 file by using gst-launch-1.0. If I typed the following command :

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

It showed the error messages as below:

Setting pipeline to PAUSED ...

Using winsys: x11
Pipeline is PREROLLING ...
Got context from element 'eglglessink0': gst.egl.EGLDisplay=context, display=(GstEGLDisplay)NULL;

(gst-launch-1.0:7311): GStreamer-CRITICAL **: 14:42:21.521: gst_caps_is_empty: assertion 'GST_IS_CAPS (caps)' failed

(gst-launch-1.0:7311): GStreamer-CRITICAL **: 14:42:21.521: gst_caps_truncate: assertion 'GST_IS_CAPS (caps)' failed

(gst-launch-1.0:7311): GStreamer-CRITICAL **: 14:42:21.521: gst_caps_fixate: assertion 'GST_IS_CAPS (caps)' failed

(gst-launch-1.0:7311): GStreamer-CRITICAL **: 14:42:21.521: gst_caps_get_structure: assertion 'GST_IS_CAPS (caps)' failed

(gst-launch-1.0:7311): GStreamer-CRITICAL **: 14:42:21.521: gst_structure_get_string: assertion 'structure != NULL' failed

(gst-launch-1.0:7311): GStreamer-CRITICAL **: 14:42:21.521: gst_mini_object_unref: assertion 'mini_object != NULL' failed
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
Allocating new output: 1920x1088 (x 10), ThumbnailMode = 0
OPENMAX: HandleNewStreamFormat: 3605: Send OMX_EventPortSettingsChanged: nFrameWidth = 1920, nFrameHeight = 1080
Caught SIGSEGV
#0  0x0000007f92e2be28 in __GI___poll (fds=0x5569fda200, nfds=547926282808, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
#1  0x0000007f92f38e08 in  () at /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0
#2  0x0000005569e5e2d0 in  ()
Spinning.  Please run 'gdb gst-launch-1.0 7311' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.

And if I typed the below command, The MP4 file could be played normally.

$ nvgstplayer-1.0 -i <filename> --window-x=300 --window-y=300 --window-width=500 --window-height=500

Please give me any advice. Thanks.

Best Regards,
Michael

Hi,
Please try

$ export DISPLAY=:0
$ gst-launch-1.0 filesrc location= /opt/nvidia/deepstream/deepstream-5.1/samples/streams/sample_720p.mp4 ! qtdemux ! h264parse ! nvv4l2decoder ! nvegltransform ! nveglglessink

For more examples, please look at https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/accelerated_gstreamer.html#

Hi @DaneLLL

Thanks, it is work now!