I tried to debug this, and seems the nvv4l2decoder is not actually doing the work? the log is:
GST_DEBUG=3 gst-launch-1.0 udpsrc port=8001 ! 'application/x-rtp,payload=96,encoding-name=H264,clock-rate=(int)90000' ! rtph264depay ! nvv4l2decoder ! nvoverlaysink
0:00:00.110062918 32388 0x55886ded20 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/slave/.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 ...
Opening in BLOCKING MODE
0:00:00.121457094 32388 0x55886ded20 WARN v4l2 gstv4l2object.c:4430:gst_v4l2_object_probe_caps:<nvv4l2decoder0:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Unknown error -1
0:00:00.121535065 32388 0x55886ded20 WARN v4l2 gstv4l2object.c:2372:gst_v4l2_object_add_interlace_mode:0x55886e0fd0 Failed to determine interlace mode
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:02.903038090
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
I’m using Jetpack4.4 L4T 32.4.3 Developer Kit Version . Is this a known issue in this version?
Hi, I found that when I ssh -X nano to run the gstreamer pipeline using nvoverlaysink, it didn’t show any window in my laptop. But if i connect a hdmi cable to the nano and run the pipeline there, it can show the window. I’ve tried export DISPLAY=:0 (or 1) but didn’t help… Could you please help with this ?
nvoverlaysink expects a local display.
If you want to forward over network, you need to use X client, so use xvimagesink.
Don’t set DISPLAY for this case as ssh -X manages.
Hi,
So it should work if you remove h264parse from the pipeline. We don’t support X11 forwarding in NVIDIA sinks. Please try Honey Patouceul’s suggestion to use xvimagesink.