Skip to content

proxy for motion jpeg images as produced by motion

Notifications You must be signed in to change notification settings

johnsnewby/mjpeg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proxy for motion jpeg images

This proxy exists in order that I can share the my raspberry pi camera, streaming using mjpeg over http, to more clients from a machine on the internet. It works with motion, and maybe with other sources, who knows?

It was written in order that the PigeonCam does not use too much of my precious bandwidth.

Features

  • If there are no clients, only requests one JPEG every 30 seconds
  • Caches the last JPEG for better user experience
  • Maintains connections with its clients even if the back-end goes away briefly
  • If you use the ?width=XX parameter, it will resize for you. For multiple clients at the same size, the calculation is only done once.

Requirements

Needs zeromq. On Debian-y systems install with

apt install libzmq3-dev pkg-config

Running it

cargo run -- -u http://webcam.local:8080

Known Problems

Actually, currently none.

About

proxy for motion jpeg images as produced by motion

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages