Giter Club home page Giter Club logo

octopi_webcamd's People

Contributors

rediculum avatar

Watchers

 avatar  avatar

octopi_webcamd's Issues

Raspi Cam detected as USB Cam

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...

--- Configuration: ----------------------------
camera: auto
usb options: -r 640x480 -f 10
raspi options: -fps 15 -x 1920 -y 1080 -br 50 -drc high -ev 10 -ex snow -ISO 100 -mm average -awb incandescent
http options: -w ./www-octopi -n

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...

--- Configuration: ----------------------------
camera: raspi
usb options: -r 640x480 -f 10
raspi options: -fps 15 -x 1920 -y 1080 -br 50 -drc high -ev 10 -ex snow -ISO 100 -mm average -awb incandescent
http options: -w ./www-octopi -n

<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...`

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.