Gst-streamer-1.0

Hi,

I use the nano for a video installation. At a button press I start a video. For this I use node-red.
The command node-red issues to start the video is:
gst-launch-1.0 filesrc location=’/home/nano/Videos/videomovie.mov’ ! qtdemux ! queue ! h264parse ! omxh264dec ! nvoverlaysink

The video has a resolution of 3840x800 en is mov with the h264 codec.
I noticed in Jtop that the gpu is not used at all? Is this normal behaviour or could I adjust the gst-launc command?

Thanks!

Hi,
The hardware engine is NVDEC instead of GPU. You can run sudo tegrastats to get system status.

And suggest use nvv4l2decoder plugin, since we have deprecated omx plugins.

Hi!
Thanks. I run jtops instead of tegrastats.
I updated my command with the nvv4l2decoder plugin. Thanks.
The video plays as supposed to.
gst gives the following output:

///

(gst-launch-1.0:6393): GStreamer-CRITICAL **: 14:53:06.730: gst_caps_is_empty: assertion ‘GST_IS_CAPS (caps)’ failed

(gst-launch-1.0:6393): GStreamer-CRITICAL **: 14:53:06.730: gst_caps_truncate: assertion ‘GST_IS_CAPS (caps)’ failed

(gst-launch-1.0:6393): GStreamer-CRITICAL **: 14:53:06.730: gst_caps_fixate: assertion ‘GST_IS_CAPS (caps)’ failed

(gst-launch-1.0:6393): GStreamer-CRITICAL **: 14:53:06.730: gst_caps_get_structure: assertion ‘GST_IS_CAPS (caps)’ failed

(gst-launch-1.0:6393): GStreamer-CRITICAL **: 14:53:06.730: gst_structure_get_string: assertion ‘structure != NULL’ failed

(gst-launch-1.0:6393): GStreamer-CRITICAL **: 14:53:06.735: 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: 3840x800 (x 8), ThumbnailMode = 0
OPENMAX: HandleNewStreamFormat: 3605: Send OMX_EventPortSettingsChanged: nFram…

What can I learn from this output?
Thanks

Hi,
If the TV does not support 4K(3840x2160) resolution, you can downscale the video to 1920x400 to get it displayed.