Raspberry Pi无延迟(<10ms)视频流 [英] Raspberry Pi no delay (&lt;10ms) video stream

查看:94
本文介绍了Raspberry Pi无延迟(<10ms)视频流的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在基于Raspberry Pi构建Quadcopter.我想通过蜂窝连接将网络摄像头中的视频流式传输到我的计算机上.我尝试了ffmpeg和mjpg,但要想仅通过观看视频来控制Quad,就需要很大的延迟.

I'm building quadcopter based on Raspberry Pi. I want to stream video from webcam via cellular conection to my computer. I tryed ffmpeg and mjpg but it has to big delay to make it possible to control Quad only with watching video.

我的问题是,是否有可能以非常小的延迟流式传输视频(如此之小以至于我可以无问题地驱动四路)?

My question is if it's possible to stream video with realy small delay (so small that I will be able to drive quad without problems)?

如果Raspberry的硬件不够好,BeagleBord可以做到吗?此外,将智能手机安装到四核将是最后可行的解决方案,但我更喜欢用Pi来解决.

If Raspberry's hardware isn't good enough, BeagleBord may do it? Also, mounting smartphone to quad will be last possible solution but I prefer soulution with Pi.

更新:我已经将gstreamer用于流媒体和Raspberry Pi相机.事实证明,延迟确实很小. 10ms是不可能的,但是我设法将延迟降低到20ms.

UPDATE: I have used gstreamer for the streaming and Raspberry Pi camera. It turns out to have really small amount of delay. 10ms is somehow impossible but I managed to cut delay down to 20ms.

推荐答案

我有一个RasPi模型B,并使用mjpg-streamer.在12fps 640 x 480上运行时,延迟几乎不明显.安装和配置大约需要10分钟.除了mjpg-streamer之外,我还尝试了Motion和FFMpeg,但两者都非常落后.

I have a RasPi model B and use mjpg-streamer. The delay is almost unnoticeable running at 12fps 640 x 480. It takes around 10 mins to install and configure. In addition to mjpg-streamer I have also tried Motion and FFMpeg, but both were very laggy.

关于Raspberry,有一个很好的网络摄像头教程.

There is a good webcam tutorial for the Raspberry that you may find helpful.

这篇关于Raspberry Pi无延迟(<10ms)视频流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆