rediculum / octopi_webcamd Goto Github PK
View Code? Open in Web Editor NEWImproved webcamd shell script for multi port cameras
Improved webcamd shell script for multi port cameras
Hello i use the following octopi Version
OctoPrint version : 1.3.11
OctoPi version : 0.16.0
Since on of the last kernel Updates the webcamd Script detects me Raspi Cam (OV5647 generic IR) as USB Cam and it uses the default settings for a usb cam
[ 4.549806] bcm2835-codec bcm2835-codec: Device registered as /dev/video10 [ 4.549818] bcm2835-codec bcm2835-codec: Loaded V4L2 decode [ 4.557164] bcm2835-codec bcm2835-codec: Device registered as /dev/video11 [ 4.557180] bcm2835-codec bcm2835-codec: Loaded V4L2 encode [ 4.564145] bcm2835-codec bcm2835-codec: Device registered as /dev/video12 [ 4.564168] bcm2835-codec bcm2835-codec: Loaded V4L2 isp [ 4.615361] bcm2835-v4l2: scene mode selected 0, was 0 [ 4.615978] bcm2835-v4l2: V4L2 device registered as video0 - stills mode > 1280x720 [ 4.621373] bcm2835-v4l2: Broadcom 2835 MMAL video capture ver 0.0.2 loaded.
This is with the commented out or Auto Setting in octopi.txt
`pi@octopi:~ $ /bin/bash /root/bin/webcamd
Starting up webcamDaemon...
Found video devices:
/dev/video0
/dev/video10
/dev/video11
/dev/video12
USB device was not set in options, start MJPG-streamer with the first found video device: /dev/video0
<13>Jul 30 13:17:57 pi: Starting USB webcam
Running ./mjpg_streamer -o output_http.so -w ./www-octopi -n -i input_uvc.so -r 640x480 -f 10 -d /dev/video0
MJPG Streamer Version: git rev: ddb69b7b4f114f3c2ca01adf55712792ca8aed43
i: Using V4L2 device.: /dev/video0
i: Desired Resolution: 640 x 480
i: Frames Per Second.: 10
i: Format............: JPEG
i: TV-Norm...........: DEFAULT
UVCIOC_CTRL_ADD - Error at Pan (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Tilt (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Pan Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Focus (absolute): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Tilt (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Focus (absolute): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at LED1 Mode: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at LED1 Frequency: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Disable video processing: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Raw bits per pixel: Inappropriate ioctl for device (25)
o: www-folder-path......: ./www-octopi/
o: HTTP TCP port........: 8080
o: HTTP Listen Address..: (null)
o: username:password....: disabled
o: commands.............: disabled
^Csetting signal to stop
Goodbye...`
This is the start after setting the raspi in the octopi.txt
`pi@octopi:~ $ /bin/bash /root/bin/webcamd
Starting up webcamDaemon...
<13>Jul 30 13:25:04 pi: Starting Raspberry Pi camera
Running ./mjpg_streamer -o output_http.so -w ./www-octopi -n -i input_raspicam.so -fps 15 -x 1920 -y 1080 -br 50 -drc high -ev 10 -ex snow -ISO 100 -mm average -awb incandescent
MJPG Streamer Version: git rev: ddb69b7b4f114f3c2ca01adf55712792ca8aed43
i: fps.............: 15
i: resolution........: 1920 x 1080
i: camera parameters..............:
Sharpness 0, Contrast 0, Brightness 50
Saturation 0, ISO 100, Video Stabilisation No, Exposure compensation 10
Exposure Mode 'snow', AWB Mode 'incandescent', Image Effect 'none'
Metering Mode 'average', Colour Effect Enabled No with U = 128, V = 128
Rotation 0, hflip No, vflip No
ROI x 0.000000, y 0.000000, w 1.000000 h 1.000000
o: www-folder-path......: ./www-octopi/
o: HTTP TCP port........: 8080
o: HTTP Listen Address..: (null)
o: username:password....: disabled
o: commands.............: disabled
i: Starting Camera
Encoder Buffer Size 81920
^Csetting signal to stop
Goodbye...`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.