Raspberypi Camera v2 not working with mjpeg_streamer

Camera model

RaspberyPi v2

What is the problem?

mjpeg_streamer not compiling the library for the camera to work.
Is there another server or way to get a working stream in OctoPrint? Looking for a way to get this put in the Classic webcam area of Octoprint.

What did you already try to solve it?

I have been able to get a service working using rapicam-vid to stream video.

 rpicam-vid -t 0 --inline --listen -o tcp://0.0.0.0:8080

I am able to watch the stream on another machine with VLC pointed to the URL

tcp/h264://octopi.local:8080

In addition to above, I have gone and tried rebuilding mjpeg from the github. mjpeg does post a webservice when executed it just doesn't recognize the camera. I have tried rebuilding the rpicam so used by mjepg but the 64 bit os doesn't work with the media library used by mjpeg.

Have you tried running in safe mode?

No

Did running in safe mode solve the problem?

N/A

Systeminfo Bundle

You can download this in OctoPrint's System Information dialog ... no bundle, no support!)
octoprint-systeminfo-20240727212748.zip (17.1 KB)

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible
OctoPrint: 1.10.2
VLC: 3.0.20
RaspberyPi: 4B
OS: Bookwork 64Bit