Hi, not sure if this is exactly the right area to post, but I wondered if anyone has experience setting up octopi? I have it running and printing properly, but am having problems with the webcam. I can get the web cam functionality working if I use SSH to run a command from the right directory, but it doesn't work if I put it in the settings.txt file. from SSH I type...
after this I can see my webcam displayed in the octopi web interface.
If I try to put it into the octopi.txt setting file as shown below, it doesn't work as in does nothing. I can still SSH in and switch it on at the shell.
My linux knowledge is extremely limited, I am pretty sure it is to do with default paths but have no idea what to even search for to solve this issue.
Thanks
Code:
cd mjpg-streamer ./mjpg_streamer -i "input_uvc.so -y -d /dev/video0" -o "output_http.so"
If I try to put it into the octopi.txt setting file as shown below, it doesn't work as in does nothing. I can still SSH in and switch it on at the shell.
Code:
### Configure which camera to use # # Available options are: # - auto: tries first usb webcam, if that's not available tries raspi cam # - usb: only tries usb webcam # - raspi: only tries raspi cam # # Defaults to auto # camera="usb" ### Additional options to supply to MJPG Streamer for the USB camera # # See https://github.com/foosel/OctoPrint/wiki/MJPG-Streamer-configuration # for available options # # Defaults to a resolution of 640x480 px and a framerate of 10 fps # camera_usb_options= ./mjpg-streamer/mjpg_streamer -i "input_uvc.so -y -d /dev/video0 -r 640x480 -f 10" -o "output_http.so" ### additional options to supply to MJPG Streamer for the RasPi Cam # # See https://github.com/foosel/OctoPrint/wiki/MJPG-Streamer-configuration # for available options # # Defaults to 10fps # #camera_raspi_options="-x 1280 -y 720 -fps 20 -br 100 -ex night"
My linux knowledge is extremely limited, I am pretty sure it is to do with default paths but have no idea what to even search for to solve this issue.
Thanks
Comment