Using GPU for gstreamer pipeline

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Using GPU for gstreamer pipeline

1,664件の閲覧回数
snehal_jadhav
Contributor III

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

タグ(1)
0 件の賞賛
2 返答(返信)

1,648件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

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

0 件の賞賛

1,583件の閲覧回数
snehal_jadhav
Contributor III

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

タグ(3)
0 件の賞賛