Package Details: motionplus 0.2.0-1

Git Clone URL: https://aur.archlinux.org/motionplus.git (read-only, click to copy)
Package Base: motionplus
Description: Monitor and record video signals from many types of cameras
Upstream URL: https://github.com/Motion-Project/motionplus
Licenses: GPL-3.0-or-later
Submitter: anonfunc
Maintainer: anonfunc
Last Packager: anonfunc
Votes: 3
Popularity: 0.008097
First Submitted: 2023-05-26 07:27 (UTC)
Last Updated: 2024-03-23 19:22 (UTC)

Latest Comments

test0 commented on 2023-07-15 20:26 (UTC) (edited on 2023-07-15 20:28 (UTC) by test0)

Also i've added the

StandardError=null

to the unit file to avoid duplicating lines in journalctl. Taken in directly from https://github.com/Motion-Project/motionplus/blob/master/data/motionplus.service.in#L36

Maybe the ExecReload and Restart* lines should be added as well, not tested them yet.

test0 commented on 2023-07-15 20:21 (UTC)

@anonfunc no, there are no any other lines besides Started Motionplus daemon.. Additionally I've tried the following:

DynamicUser=true
User=motion
SupplementaryGroups=video

The same error (with std::logic_error) happened.

anonfunc commented on 2023-07-15 20:14 (UTC)

You can use ReadWritePaths= with a dynamic user, archives the same. That std::logic_error error is weird, haven't gotten that yet. Do you have anything before that indicates why that happens?

test0 commented on 2023-07-15 20:09 (UTC) (edited on 2023-07-15 20:16 (UTC) by test0)

@anonfunc here's what I've done to get it to work with my local USB camera:

1.Commented out the "DynamicUser" string in unit file. With that you'll have the following errors just from the start:

terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string: construction from null is not valid

2.Created the dedicated user for it: sudo useradd -g nobody -G video -M -N -s /bin/false motion

and added it to the unit file:

User=motion

3.Added my webcam dump folder to ReadWritePaths= (/var/cams in my case), as that would be strange to have video files in /etc;

4.Commented out PrivateDevices=true so it can even access /dev/video* for USB webcam.

Well, as it turned out that's all modifications I needed to do to get it working in my case.

anonfunc commented on 2023-07-15 20:03 (UTC)

@test0 Please be more specific. What problem do you have exactly? If you want to change stuff, you can always do systemctl edit motionplus.service.

test0 commented on 2023-07-15 19:49 (UTC)

I'm sorry, but your systemd file is waaaay too strict for this, it doesn't work that way at all.

anonfunc commented on 2023-07-11 07:51 (UTC)

@auser should be fixed with -4.

auser commented on 2023-07-11 02:40 (UTC) (edited on 2023-07-11 02:42 (UTC) by auser)

Would appreciate some help resolving the following build errors:

/usr/bin/ld: picture.o: undefined reference to symbol 'WebPMemoryWriterInit'

/usr/bin/ld: /usr/lib/libwebp.so.7: error adding symbols: DSO missing from command line

collect2: error: ld returned 1 exit status

make[2]: *** [Makefile:414: motionplus] Error 1

make[2]: Leaving directory '/tmp/makepkg/motionplus/src/motionplus-release-0.1.1/src'

make[1]: *** [Makefile:565: all-recursive] Error 1

make[1]: Leaving directory '/tmp/makepkg/motionplus/src/motionplus-release-0.1.1'

make: *** [Makefile:409: all] Error 2

==> ERROR: A failure occurred in build().