mjpeg-stitcher

command module
v0.0.0-...-e22aed2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2019 License: Apache-2.0 Imports: 24 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

mjpeg-stitcher

Service to combine multiple mjpeg streams to overview streams in pure Go.

Example of overview generated

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址