I have physically installed the RPI camera but having issues when running the GitHub commands.
following the video and the github commands
enabled the camera at raspi-config
these commands completed:
cd mjpg-streamer-experimental
make
sudo make install
the one below fails:
pi@ricardopi:~ $ mjpg_streamer -o “output_http.so -w ./www” -i “input_raspicam.so”
MJPG Streamer Version: git rev: 310b29f4a94c46652b20c4b7b6e5cf24e532af39
ERROR: could not find input plugin
Perhaps you want to adjust the search path with:
# export LD_LIBRARY_PATH=/path/to/plugin/folder
dlopen: input_raspicam.so: cannot open shared object file: No such file or directory
=================================
Note that step 4 fails and had to use
‘’
pi@ricardopi:~ $ sudo apt install cmake libjpeg8-dev
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Package libjpeg8-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libjpeg9-dev libjpeg62-turbo-dev
E: Package ‘libjpeg8-dev’ has no installation candidate
pi@ricardopi:~ $ sudo apt install cmake libjpeg9-dev
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
libjpeg9-dev is already the newest version (1:9b-1).
cmake is already the newest version (3.18.4-2+rpt1+rpi1+deb11u1).
The following packages were automatically installed and are no longer required:
libfuse2 libmbim-glib4 libmbim-proxy libqmi-glib5 libqmi-proxy
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 46 not upgraded.
‘’
noticed that my error was saying that I dont have raspicam.so file and indeed it wasn’t showing up under the folder. Run a different command using input_uvc and it worked