your only guide to getting libcamera MPEG-Streamer Working with your klipper setup!
THIS TUTORIAL WILL NOT WORK WITH RASPBERRY PI OS "BUSTER" MAKE SURE YOU'RE RUNNING RASPBERRY PI OS "BULLSEYE" THIS ALSO WILL NOT WORK WITH UBUNTU OR OTHER DISTRO
THIS WILL WORK WITH SETUP INSTALLED BY KIAUH IF YOU'RE USING OTHER METHOD OF INSTALLING KLIPPER AND IT'S COMPONENTS SOME OF THIS MIGHT NOT APPLY TO YOU
this tutorial will work with Arducam 16mp AF camera I'm not sure about other model, your milage may vary
if you're using other model you might want to follow a tuorial for that model if you're running the same model as I do you can follow if you already installed the nessary packages and driver skip to PART II
cd ~
wget -O install_pivariety_pkgs.sh https://github.com/ArduCAM/Arducam-Pivariety-V4L2-Driver/releases/download/install_script/install_pivariety_pkgs.sh
chmod +x install_pivariety_pkgs.sh
./install_pivariety_pkgs.sh -p imx519_kernel_driver
./install_pivariety_pkgs.sh -p libcamera_dev
./install_pivariety_pkgs.sh -p libcamera_apps
ls /dev/video*
you should see video0 and video1 if not reseat your camera cable if that still dosent work I recomend rebooting the pi if that still dosen't help get in touch with Arducam guys so they can try to help you!
kiauh
wget https://github.com/ChokunPlayZ/arducam-libcamera-klippper/raw/main/input_libcamera.so
mv ./input_libcamera.so ./mjpg-streamer/input_libcamera.so
https://github.com/ChokunPlayZ/arducam-libcamera-klippper/raw/main/webcamd
sudo mv /usr/local/bin/webcamd /usr/local/bin/webcamd.bak
sudo nano /usr/local/bin/webcamd
RIGHT CLICK
for windows command prompt and putty
use CTRL + V
for tabby terminal
CTRL + X
then Y
then ENTER
sudo chmod +x /usr/local/bin/webcamd
webcam.txt
config file
camera_libcamera_options="-f 30 -r 640x480"
webcam.txt
file
camera="libcamera"
sudo systemctl restart webcamd
to restart the service or you can reboot the pi I would suggest rebooting it
if you encounter any problem feel free to open an issue I will try to answer it as fast as possible