Page 1 of 1

OctoPi Webcam Configuration

Posted: Wed Jun 07, 2017 1:34 am
by zemlin
I need some moderate spoon-feeding here. I upgraded the webcam on my printer.
I found the info on configuring web cams, but I'm not sure what to do with this info.
https://github.com/foosel/OctoPrint/wik ... wn-to-work

I got into the mjpg-streamer directory and tried some of the commands, but the changes didn't impact anything in Octoprint. Do these strings need to be in a configuration file or script somewhere?

I used to do Unix, but MANY years ago. I don't remember how to use VI, but I can look it up if needed ... :shock:

The new camera works, but I just want to mess with the resolution settings, white balance, frame rate, etc.

Thanks.

Re: OctoPi Webcam Configuration

Posted: Wed Jun 07, 2017 12:38 pm
by ednisley
zemlin wrote:I don't remember how to use VI
Try nano, a much smaller editing hammer: it displays reminders for all the commands you'll ever need along the bottom of the screen and works fine for config file editing.

The FAQ has several sections about video and the config mystery seems common:
https://github.com/foosel/OctoPrint/wik ... -on-octopi

After you tune the parameters for best picture, unleash nano on the config file:

Code: Select all

nano /boot/octopi.txt
Twiddle those parameters to match what you need, save, then restart whatever needs restarting.

I don't use Octopi, but have rammed head-on into the video wall a few times …

Re: OctoPi Webcam Configuration

Posted: Wed Jun 07, 2017 1:03 pm
by zemlin
Thanks, Ed. I'll give it a shot and see where I get.