https://github.com/panzerdev/mjpeg-stitcher
Small service to combine multiple mjpeg streams to an overview stream
https://github.com/panzerdev/mjpeg-stitcher
mjpeg mjpeg-stream raspberry-pi-3
Last synced: about 1 year ago
JSON representation
Small service to combine multiple mjpeg streams to an overview stream
- Host: GitHub
- URL: https://github.com/panzerdev/mjpeg-stitcher
- Owner: panzerdev
- License: apache-2.0
- Created: 2018-09-06T17:38:50.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-04-09T17:16:50.000Z (over 7 years ago)
- Last Synced: 2025-06-10T12:13:31.127Z (about 1 year ago)
- Topics: mjpeg, mjpeg-stream, raspberry-pi-3
- Language: Go
- Size: 1.17 MB
- Stars: 4
- Watchers: 0
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mjpeg-stitcher
Service to combine multiple mjpeg streams to overview streams in pure Go.

This service is taking 2 to n streams with the same image sizes and combines all streams to overview streams where a different stream is full size and the rest are thubnails.
By clicking on the thubnails the stream can be switched.
# Building
Go _1.11_ is the minimum version due to the use of Modules. This repository can be checked out anywhere outside the `GOPATH` and build with `go build`.
For the Raspberry Pi 2 or 3(b+) `env GOOS=linux GOARCH=arm GOARM=7 go build -o mjpeg`
# Running
```
Usage of ./mjpeg-stitcher:
--debug Enable Debug log level
--height int Height of src image (default 768)
--port string Port for http server (default "8888")
--url stringArray List of urls to get mjpeg streams from
--width int Width of src image (default 1296)
```
`./mjpeg-stitcher --url http://cam1.stream --url http://cam2.stream`
IMPORTATNT: The html folder needs to be in the running directory of the binary