如何使GSTREAMER管道使用GPU

发布于 2025-01-24 10:46:08 字数 356 浏览 4 评论 0原文

我使用以下GSTSREAMER管道在远程系统上流式摄像机,

GST -Launch -1.0 -E -V UDPSRC端口= 5000!应用程序/X-RTP,编码名称= H264,有效载荷= 96! rtpjitterbuffer延迟= 10 drop-on-latency = true! rtph264depay!视频/X-H264! H264Parse! avdec_h264! autovideosink use-vsync = true

远程系统具有NVIDIA GPU。我们正在寻找一种减少流式延迟的方法 远程显示上的视频。 我们如何使用GST管道利用GPU来加速流。 我们可以在GSTREAMER管道中添加任何插件/元素以使用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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦明 2025-01-31 10:46:08

也许类似

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

nofollow noreferrer“> gstglimagess”> gstglimagessink在内部,如果需要,它将进行HW加速的颜色空间转换。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文