Can't use mjpg-streamer with latest version of OpenWrt 21.02!

/ worked. Enabled. Reboteed. But no connection to the webcam. 192.192.1.2:8080 doesn't work. Logs here.

Tue Aug 31 22:22:25 2021 user.info MJPG-streamer [1667]: MJPG Streamer Version.: 2.0
Tue Aug 31 22:22:25 2021 user.info MJPG-streamer [1667]: ERROR: could not find input plugin
Tue Aug 31 22:22:25 2021 user.info MJPG-streamer [1667]:        Perhaps you want to adjust the search path with:
Tue Aug 31 22:22:25 2021 user.info MJPG-streamer [1667]:        # export LD_LIBRARY_PATH=/path/to/plugin/folder
Tue Aug 31 22:22:25 2021 user.info MJPG-streamer [1667]:        dlopen: Error loading shared library input_uvc.so: No such file or directory

So? What should I do?

you said you had installed kmod-video-uvc, did you reinstall it after reset ?

Installed.

You'll ned to see if (and where) the input_uvc.so is actually located on the router ....

that's only way of doing that, is by using SSH to access it.

I don't know the commands. Access accomplished to router via SSH but which commands do I need to check it? Could you write down that?

This is looking strange to me:
grafik

Apart from that: Have you installed all other dependencies of kmod-video-uvc?

Just install mjpg-streamer-input-uvc for starters.

1 Like

Which dependencies? kmod-video-core is also installed.

Installed.

Now just restart the service.

I dumped the contents of the 19.07 and 21.02 ipks.

19.07/etc/init.d/mjpg-streamer
19.07/etc/hotplug.d/usb/20-mjpg-streamer
19.07/etc/config/mjpg-streamer
19.07/control.tar.gz
19.07/data.tar.gz
19.07/usr/lib/output_http.so
19.07/usr/lib/input_uvc.so
19.07/usr/bin/mjpg_streamer
19.07/www/webcam/index.html
19.07/debian-binary
21.02/etc/init.d/mjpg-streamer
21.02/etc/hotplug.d/usb/20-mjpg-streamer
21.02/etc/config/mjpg-streamer
21.02/control.tar.gz
21.02/data.tar.gz
21.02/usr/bin/mjpg_streamer
21.02/debian-binary

mjpg-streamer 19.07 installs some plugins and extra files, output_http.so, input_uvc.so and /www/webcam/index.html. In 21.02 they're moved into their own packages.

mjpg-streamer-input-file
mjpg-streamer-input-http
mjpg-streamer-input-uvc
mjpg-streamer-output-file
mjpg-streamer-output-http
mjpg-streamer-output-rtsp
mjpg-streamer-output-zmq
mjpg-streamer-www
mjpg-streamer-www-simple
3 Likes

Well. Do I need to install all of those single packages?

probably not *file, and perhaps not mjpg-streamer-input-http, the other one i'd keep.

To get the same baseline as 19.07 I'd think mjpg-streamer-input-uvc, mjpg-streamer-output-http and mjpg-streamer-www-simple should be enough.

2 Likes

Just installed those packages and avada kedavra! WORKED!!!

Thank so much!

still puzzled by the localhost thing though...

Thank you, works perfect, only i installed these 3 packages
Thank you very much

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.