Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Raspberry Pi no delay (<10ms) video stream

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)?

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.

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.

like image 232
Klemen Avatar asked May 25 '13 14:05

Klemen


1 Answers

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.

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

like image 78
Rob Avatar answered Dec 28 '22 01:12

Rob