Coder Social home page Coder Social logo

linkenelis / esp32-cam-octoprint Goto Github PK

View Code? Open in Web Editor NEW
39.0 1.0 5.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

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

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

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

esp32-cam-octoprint's Issues

Warning during compile

Hey there. Great project. I've mucked about with four different ESP32-Cam firmwares in various attempts to get the thing working with OctoPrint. This is the first one that's worked, and the only one to Just Work(tm).

On that note, I did notice a warning during PlatformIO setup. It's not causing an issue now, but I would suggest selecting one to cement forward compatibility. The auto-resolver used mathertel/[email protected] and that seems to be working, but I have only tested video + snapshot, and LED on/off.

Library Manager: Installing OneButton
Library Manager: Warning! More than one package has been found by OneButton requirements:
Library Manager:  - mathertel/[email protected]
Library Manager:  - shaggydog/[email protected]
Library Manager:  - mbed-jaup/[email protected]+sha.fdf67f893a5c
Library Manager:  - mbed-jojos/[email protected]+sha.48a593e2d4cf
Library Manager: Please specify detailed REQUIREMENTS using package owner and version (shown above) to avoid name conflicts

ESp32cam rotate

Hello.
I would have liked to be able to configure the rotation of the image of the streaming camera. Which file should I modify in order to add this option? Thanks
Sorry for my english. i using google translate:(

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.