https://github.com/jedbrooke/sendframes
Send a webcam feed between machines over the network, without intensive encoding
https://github.com/jedbrooke/sendframes
network opencv-python video video-streaming webcam
Last synced: 10 months ago
JSON representation
Send a webcam feed between machines over the network, without intensive encoding
- Host: GitHub
- URL: https://github.com/jedbrooke/sendframes
- Owner: jedbrooke
- License: mit
- Created: 2021-04-13T06:34:31.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-27T05:40:28.000Z (about 5 years ago)
- Last Synced: 2025-03-12T21:18:27.857Z (over 1 year ago)
- Topics: network, opencv-python, video, video-streaming, webcam
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## SendFrames ##
a simple python utility to send image frames from one computer to another
usage:
on the computer with a webcam:
`$ python3 server.py [Port]`
on the computer to recieve the video
`$ python3 client.py [Host IP] [Port]`
if a port is not provided it will default to 42699
Features:
* Low CPU usage
* Zero to Low Latency (after initial startup)
Dependencies:
python opencv
`pip3 install opencv-python`
FAQ:
Q. why not just use ffmpeg?
A. This method does not encode the video, leading to much higher bandwidth usage, but at dramatically lower cpu usage. On a LAN network this is fine. a 720p source will take around 100mbits/s of data, but on my core i5 macbook took around 10% of one thread of cpu. also making this was more fun.