Coder Social home page Coder Social logo

theguardianwolf / esp32-cam-octoprint Goto Github PK

View Code? Open in Web Editor NEW

This project forked from linkenelis/esp32-cam-octoprint

0.0 0.0 0.0 11.32 MB

Cheap ESP32-cam using 2 webstream to stream video and still be able to take a snapshot (octolapse)

License: MIT License

Shell 0.03% C++ 97.88% C 2.03% Makefile 0.06%

esp32-cam-octoprint's Introduction

This creates 2 webservers, 1 for the stream (video) on port 81 and 1 for jpg (snapshot), led and ota Just type the ip address of your cam in a browser, the links will be there.

example with ip 192.168.2.207: Browser Stream Link: http://192.168.2.207:81/stream Browser Single Picture Link: http://192.168.2.207/jpg Switch LED ON: http://192.168.2.207/ledon Switch LED OFF: http://192.168.2.207/ledoff Start OTA mode: http://192.168.2.207/start_ota

If you happen to use the wrong webserver (eg 81 instead of the standard 80, it will be auto matically redirected). Yes this makes it possible to take a snapshot, while watching the live stream ;-) but you will see a glitch in the stream as there is only 1 camera chip

first time setup needs to be done via serial port. After that you can use OTA. Just follow the link to put the ESP32-cam into OTA mode and change from com to ip in platform.ini

Manual set to OTA by connecting IO12 to ground for a sec, then disconnect

This repository is forked from the Circuitrocks@Learn blog how to stream a video from the ESP32-CAM to a RTSP client or web browser.

The source code for PlatformIO is in the src subfolder. There you can also set your credentials for the network.

Configuration & Build

First you should configure your Wifi credentials. This can bea easily done in src/wifikeys.h. After this, compile and upload your code.

Compiling with PlatformIO

Just open the folder containing the files with PlatformIO and adjust your settings in platformio.ini. Required libraries are either automatically installed (OneButton) or in the lib folder (Micro-RTSP).

Useful links

esp32-cam-octoprint's People

Contributors

linkenelis avatar the78mole 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.