Package Details: mjpg-streamer 1.0.1-2

Git Clone URL: https://aur.archlinux.org/mjpg-streamer.git (read-only, click to copy)
Package Base: mjpg-streamer
Description: Stream mjpeg frames from a webcam via http
Upstream URL: https://github.com/jacksonliam/mjpg-streamer
Licenses: GPL-2.0-only
Submitter: FabioLolix
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 1
Popularity: 0.046162
First Submitted: 2022-01-07 20:24 (UTC)
Last Updated: 2025-07-01 21:36 (UTC)

Pinned Comments

FabioLolix commented on 2025-08-11 12:30 (UTC)

I have added the patch but fails with

==> Starting prepare()...
patching file mjpg-streamer-experimental/CMakeLists.txt
Hunk #1 FAILED at 92 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file mjpg-streamer-experimental/CMakeLists.txt.rej
==> ERROR: A failure occurred in prepare().

The pkgbuild is maintained at https://github.com/FabioLolix/PKGBUILD-AUR_fix

Latest Comments

LMBernardo commented on 2025-10-17 18:07 (UTC)

For what it's worth - it looks like the upstream URL still points to jacksonliam's fork whereas the package is actually pointed to mine.

adlerweb commented on 2025-09-24 20:10 (UTC) (edited on 2025-09-24 20:17 (UTC) by adlerweb)

I recently saw a "dlopen: /usr/lib/mjpg-streamer/input_uvc.so: undefined symbol: resolutions_help" when trying to use UVC. This is probably due to resolutions_help() being stripped of not explicitly mentioned symbold when using makepkg. Adopting the patch from Thomas over at buildroot, I would suggest

echo 'set_property(TARGET mjpg_streamer PROPERTY ENABLE_EXPORTS ON)' >> CMakeLists.txt

after cd in prepare()

yangling commented on 2025-08-27 09:13 (UTC)

@FabioLolix u MUST CMakeFiles.txt file need dos2unix. then patch.

FabioLolix commented on 2025-08-11 12:30 (UTC)

I have added the patch but fails with

==> Starting prepare()...
patching file mjpg-streamer-experimental/CMakeLists.txt
Hunk #1 FAILED at 92 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file mjpg-streamer-experimental/CMakeLists.txt.rej
==> ERROR: A failure occurred in prepare().

The pkgbuild is maintained at https://github.com/FabioLolix/PKGBUILD-AUR_fix

synthead commented on 2025-07-28 07:27 (UTC) (edited on 2025-07-28 07:29 (UTC) by synthead)

This bug exists in upstream:

MJPG-streamer [43243]: starting application
MJPG Streamer Version: git rev: fc6328d10325162ddb1b27a1d4c464470337b9d8
MJPG-streamer [43243]: MJPG Streamer Version: git rev: fc6328d10325162ddb1b27a1d4c464470337b9d8
ERROR: could not find input plugin
       Perhaps you want to adjust the search path with:
       # export LD_LIBRARY_PATH=/path/to/plugin/folder
       dlopen: /usr/lib/mjpg-streamer/input_uvc.so: undefined symbol: resolutions_help
MJPG-streamer [43243]: ERROR: could not find input plugin
MJPG-streamer [43243]:        Perhaps you want to adjust the search path with:
MJPG-streamer [43243]:        # export LD_LIBRARY_PATH=/path/to/plugin/folder
MJPG-streamer [43243]:        dlopen: /usr/lib/mjpg-streamer/input_uvc.so: undefined symbol: resolutions_help

This PR fixes the issue: https://github.com/jacksonliam/mjpg-streamer/pull/401

You can download it like a patch like so: https://patch-diff.githubusercontent.com/raw/jacksonliam/mjpg-streamer/pull/401.diff

adlerweb commented on 2025-05-13 17:29 (UTC) (edited on 2025-05-13 17:33 (UTC) by adlerweb)

Current cmake is no longer able to build mjpg-streamer Compatibility with CMake < 3.5 has been removed from CMake. For now adding -DCMAKE_POLICY_VERSION_MINIMUM=3.5 seems to be sufficient.