mjpeg-proxy

command module
v0.0.0-...-03c2d85 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: MIT Imports: 15 Imported by: 0

README

mjpeg-proxy

  • receive one or many mjpeg streaming
  • send mjpeg streaming or snapshot

usage

go install github.com/wolf-joe/mjpeg-proxy@latest
# set host & port, then run
HOST_PORT=":8091" $GOBIN/mjpeg-proxy

arch

flowchart LR
    writer_1 -- push mjpeg to /stream1 --> p((mjpeg-proxy))
    writer_2 -- push mjpeg to /stream2 --> p

    p -- pull stream from /stream1 --> reader_1
    p -- pull snapshot from /stream1.jpg --> reader_2

usecase

flowchart LR
    camera>camera] -- pull rtsp stream --> ffmpeg
    ffmpeg -- write to file --> disk[(disk)]
    ffmpeg -- convert to mjpeg & push to /camera --> p((mjpeg-proxy))
    p -- pull /camera & show --> octoprint
    p -- pull /camera.jpg & store --> octoprint

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