Hi,
I am trying to stream camera from Imx6q platform using Gstreamer pipeline on remote display which has NVIDIA GPU. how can I have Gstreamer pipeline make use of GPU for having reduced latency on remote display.
Thanks
Hello Snehal,
You can use the gstreamer on a remote display with the GPU internal or external in this case Nvidia with:
gst-launch-1.0 -v ximagesrc use-damage=0 ! nvvidconv ! 'video/x-raw(memory:NVMM),alignment=au,format=I420,framerate=25/1,pixel-aspect-ratio=1/1' ! omxh264enc ! 'video/x-h264,stream-format=byte-stream' ! filesink location="test.h264" -e
Regards
Hi,
Thanks for your reply.
we have added nvdec gstreamer plugins to make use of GPU(on system having NVIDIA GPU). We are using below pipeline to stream camera
gst-launch-1.0 -e -v udpsrc port=5000 ! application/x-rtp,encoding-name=H264,payload=96 ! rtpjitterbuffer latency=0 drop-on-latency=TRUE ! rtph264depay ! video/x-h264 ! h264parse ! nvdec ! glimagesink sync=false
After adding nvdec gstreamer plugins we are getting ~115ms to ~174ms latency in streaming on remote display. Is there any way we can use to reduce the latency.
Thanks