Giter Club home page Giter Club logo

octoprint-snapstream's Introduction

OctoPrint SnapStream Plugin

This plugin replaces the mjpg-streamer on the control tab with the static snapshot image and updates it with a javascript interval timer. You can set it to only do this if the mjpg-streamer fails.

This plugin could be useful if you're using a browser that doesn't support mjpeg streams (IE) or if you would like to reduce bandwidth usage when accessing from the internet perhaps.

Setup

pip install https://github.com/MarkWal/OctoPrint-SnapStream/archive/master.zip

Make sure you use the same Python environment that you installed OctoPrint under otherwise the pip install will fail because the plugin won't be able to find its dependencies. For octopi this means:

source ~/oprint/bin/activate

before you do the pip install.

Restart OctoPrint and the octoprint.log should show the plugin was successfully found and loaded.

This plugin uses the url's for the webcam from OctoPrint's webcam settings panel so the snapshot url has to point to something your browser can reach.

Plugin Settings

In the settings panel under SnapStream you can choose fps (probably needs to be something low like 1 or 2). You can also select whether to use the snapshot mode all the time or only when the mjpg stream fails.

octoprint-snapstream's People

Contributors

markwal avatar sidddy avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.