#Change Webcam Resolution

1 messages · Page 1 of 1 (latest)

warped valve
#

Howdy! I’ve got an oddball configuration question, and I’m hoping somebody can give me a hand. I’m working on configuring moonraker-timelapse, and I’m wanting to adjust the resolution on the webcam. Their documentation page is https://github.com/mainsail-crew/moonraker-timelapse/blob/main/docs/configuration.md#change-the-resolution-of-your-camera, and it references the no-longer-existent page at https://docs.mainsail.xyz/quicktips/multicam. Searching that URL in the WayBack Machine takes me to https://web.archive.org/web/20220928225656/https://docs.mainsail.xyz/features/webcams as the last snapshot, and references a webcam.txt file in /home/pi/klipper_config/webcam.txt, which I don’t have. The only webcam.txt file I have is ./kiauh/resources/mjpg-streamer/webcam.txt, and the entire contents are commented out, so I don’t think it’s actually involved at all. The current https://docs.mainsail.xyz/overview/settings/webcams page makes no reference to the configuration file or any of the options at all, just what’s exposed through the Webcams page in Settings.

Doing a little searching within the support forum it seems like the webcam.txt method has been replaced with Crowsnest, but that doesn’t appear to be in use/enabled on my install, as I don’t have ~/printer-data/logs/crowsnest.log. I couldn’t find any references to “change webcam resolution”, so I figured it was probably novel enough to be worth asking.

Mainsail

How to setup multiple Webcams with MainsailOS.

GitHub

Timelapse Plugin for moonraker. Contribute to mainsail-crew/moonraker-timelapse development by creating an account on GitHub.

#

And I’ll apologize in advance for cross-posting, I asked this on the Klipper discord as well before realizing that y’all existed and may be a better resource. If I find a solution on either end I’ll share it with the other.

#

Because I realize my setup may matter be relevant, I just converted my printer from Marlin to Klipper this week, and used KIAUH to install Klipper, Moonraker, and Mainsail on top of my existing OctoPi 1.0.0 image.

ember elm
#

Do you use crowsnest? If yes open the crowsnest.conf and change the resolution in there. If not open what ever you use to control your stream and do it there.

warped valve
#

That’s maybe part of the issue, I don’t believe I’m using crowsnest right now. I haven’t configured it, and it hasn’t created any log file.

#

But I do have a working webcam stream within Mainsail.

warped valve
#

Ok, running with that, I remember seeing this support post earlier https://discord.com/channels/758059413700345988/1072187912520732804 and I confirmed that disabling webcamd took down my stream. My gut says that mainsail looked for the camera running in the same place as Octoprint, and since I started with an OctoPi image, that was already working. That works out, one of the items on my todo list was disabling Octoprint since I’m not using it any more.

#

I’m going through crowsnest installation and configuration now.