'How to make Gstreamer pipeline use GPU

I am using below gstsreamer pipeline to stream camera on remote system,

gst-launch-1.0 -e -v udpsrc port=5000 ! application/x-rtp,encoding-name=H264,payload=96 ! rtpjitterbuffer latency=10 drop-on-latency=TRUE ! rtph264depay ! video/x-h264 ! h264parse ! avdec_h264 ! autovideosink use-vsync=true

the remote system has NVIDIA GPU. We are looking for a way to reduce latency of streaming video on remote display. How we can have gst pipeline make use of GPU in order to accelerate the streaming. Is there any plugin/element we can add in gstreamer pipeline to use GPU.

Thanks



Solution 1:[1]

Maybe something like

gst-launch-1.0 -e -v udpsrc port=5000 ! application/x-rtp,encoding-name=H264,payload=96 ! rtpjitterbuffer latency=10 drop-on-latency=TRUE ! rtph264depay ! video/x-h264 ! h264parse ! avdec_h264 ! glimagesink

The GstGLImageSink renders frames using OpenGL. Internally, it will do HW accelerated color space conversion, if needed.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Michael Gruner