Wanted to use Octoprint in docker with mjpgstreamer with the yu12 patches for some old janky cameras.
  • Dockerfile 82%
  • Makefile 18%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2021-05-07 17:56:23 +02:00
.github/workflows Schedule rebuild 2021-04-28 09:26:08 +02:00
.gitignore Working mjpeg_streamer support with yu12. 2021-04-23 18:55:12 +02:00
Dockerfile Change source image. 2021-05-07 17:56:23 +02:00
LICENSE Initial commit 2021-04-23 18:06:52 +02:00
Makefile Working mjpeg_streamer support with yu12. 2021-04-23 18:55:12 +02:00
README.md Working mjpeg_streamer support with yu12. 2021-04-23 18:55:12 +02:00

Octoprint with mjpg_streamer yu12 support

Wanted to use Octoprint in docker with mjpg_streamer with the yu12 patches for some old janky cameras.

So I made that.

For example, this is a chunk from my docker-compose.yml

version: '2.4'
services:
  monoprice-mini-maker-select:
    image: matthewbaggett/octoprint-mjpg-streamer-yu12:latest
    restart: unless-stopped
    ports:
      - 80:80
      - 8080:8080
    devices:
     # The printer by its by-id path, so we can have multiple printers attached
     - /dev/serial/by-id/usb-Malyan_System_Malyan_3D_Printer_207D36504652-if00:/dev/ttyACM0
     # The video device by its by-id path, so we can have multiple cameras attached
     - /dev/v4l/by-id/usb-046d_08b2-video-index0:/dev/video0
    volumes:
     - /home/geusebio/octoprint/monoprice-mini-maker-select:/octoprint
    environment:
      - ENABLE_MJPG_STREAMER=true
      - MJPG_STREAMER_INPUT=-y -n -r 640x480