Package Details: motionplus 0.2.2-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: 5
Popularity: 0.132041
First Submitted: 2023-05-26 07:27 (UTC)
Last Updated: 2024-11-17 13:20 (UTC)

Latest Comments

1 2 Next › Last »

anonfunc commented on 2024-07-13 16:26 (UTC) (edited on 2024-11-17 13:21 (UTC) by anonfunc)

Sadly ffmpeg4.4 does also not build. I reported the problem upstream, I'll wait with the update until this is resolved.

Solved.

anonfunc commented on 2024-07-05 09:27 (UTC)

@RaymondJames That's the reason I have not updated the package yet. I'll try a older ffmpeg version and report that problem upstream.

RaymondJames commented on 2024-07-05 00:24 (UTC) (edited on 2024-07-05 00:28 (UTC) by RaymondJames)

I get the following error when building: webu_mpegts.cpp:332:17: error: invalid conversion from ....

I got it to build on my system by downgrading to ffmpeg 6.1.1.

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.