Raspberry Pi no delay (<10ms) video stream

后端 未结 2 722
梦谈多话
梦谈多话 2021-01-31 00:42

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

相关标签:
2条回答
  • 2021-01-31 01:08

    Use the stream.py in this git repo. We have three functions there.

    The run function starts streaming with default port 8001. You can change the default port by passing an integer to that.

    The stop function stops streaming.

    And finally you can check the status by calling status function.

    0 讨论(0)
  • 2021-01-31 01:16

    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.

    0 讨论(0)
提交回复
热议问题