Webcam no longer working

What is the problem?

Webcam not showing up.

What did you already try to solve it?

I can get the video stream using vlc.

Systeminfo Bundle

You can download this in OctoPrint's System Information dialog ... no bundle, no support!)

WRITE HERE
octoprint-systeminfo-20231118091118.zip (77.0 KB)

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

Everything is up to date. This is a manually installed octoprint 1.9.3 on a Rocky Linux 8.8 box. Need to get octoprint to use /dev/video0 for the webcam if that's possible. It was working a month or so ago and after some idle time on the printer it's not working now. Not sure what changed to cause it to not be working now. I don't recall doing anything that would have affected the webcam in any way.

Been fighting with this for a couple hours this morning and I got webcamd working. Installed from webcamd · PyPI

Had to tweak a few things like the path in the webcamd.service file and parameters but it all seems back to normal now.