Jax,
confirmed all steps.
=================================
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.
‘’
=====================================
When I get to step 8:
pi@ricardopi:~/mjpg-streamer/mjpg-streamer-experimental $ sudo netstat -ltnup | grep 8080
pi@ricardopi:~/mjpg-streamer/mjpg-streamer-experimental $ ./mjpg_streamer -o “output_http.so -w ./www” -i “input_raspicam.so”
./mjpg_streamer: invalid option – ‘w’
Usage: ./mjpg_streamer
-i | --input “<input-plugin.so> [parameters]”
-o | --output “<output-plugin.so> [parameters]”
[-h | --help ]…: display this help
[-v | --version ]…: display version information
[-b | --background]…: fork to the background, daemon mode
Example #1:
To open an UVC webcam “/dev/video1” and stream it via HTTP:
./mjpg_streamer -i “input_uvc.so -d /dev/video1” -o “output_http.so”
Example #2:
To open an UVC webcam and stream via HTTP port 8090:
./mjpg_streamer -i “input_uvc.so” -o “output_http.so -p 8090”
Example #3:
To get help for a certain input plugin:
./mjpg_streamer -i “input_uvc.so --help”
In case the modules (=plugins) can not be found:
- Set the default search path for the modules with:
export LD_LIBRARY_PATH=/path/to/plugins,
- or put the plugins into the “/lib/” or “/usr/lib” folder,
- or instead of just providing the plugin file name, use a complete
path and filename:
./mjpg_streamer -i “/path/to/modules/input_uvc.so”