RobotCasserole1736 / RobotCasserole2022

RobotCasserole team 1736 Rapid React 2022 software
MIT License
4 stars 2 forks source link

Investigate low-latency streaming with H264 #68

Open gerth2 opened 2 years ago

gerth2 commented 2 years ago

See if we can get a better driver camera, leveraging the H264 encoding hardware ont he pi.

https://singleboardblog.com/real-time-video-streaming-with-raspberry-pi/ is a tutorial.

Speifically, see https://github.com/canberkdurmus/pi_stream/blob/main/socket_h264.py

Change the socket port from 8000 (not allowed on field) to 5800 (allowed on field).

Load it into the pi and start it running.

Download and install VLC media player https://www.videolan.org/

Set it up to look at the stream. Characterize whether that setup is actually lower latency than the mjpg stream.