OctoPi Webcam Configuration

Have questions or comments about Simplify3D, Slic3r, Cura, Reptier, etc? Or wondering about which CAD software to use...discuss it here...

OctoPi Webcam Configuration

Postby zemlin » Wed Jun 07, 2017 1:34 am

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.
User avatar
zemlin
 
Posts: 414
Joined: Thu Feb 04, 2016 9:32 pm
Location: Indianapolis, Indiana

Re: OctoPi Webcam Configuration

Postby ednisley » Wed Jun 07, 2017 12:38 pm

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/wiki/FAQ#how-can-i-change-mjpg-streamer-parameters-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 …
User avatar
ednisley
 
Posts: 916
Joined: Fri Apr 11, 2014 5:34 pm
Location: Halfway up the Hudson

Re: OctoPi Webcam Configuration

Postby zemlin » Wed Jun 07, 2017 1:03 pm

Thanks, Ed. I'll give it a shot and see where I get.
User avatar
zemlin
 
Posts: 414
Joined: Thu Feb 04, 2016 9:32 pm
Location: Indianapolis, Indiana


Return to Software

Who is online

Users browsing this forum: No registered users and 2 guests