Send Motion-user mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/motion-user
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."


Today's Topics:

   1. Re: Where can I find libcamerify (Freek de Kruijf)
   2. Re: mmal_vc could not create component vc.ril.camera
      (via prenestina)


----------------------------------------------------------------------

Message: 1
Date: Mon, 27 Mar 2023 16:28:41 +0200
From: Freek de Kruijf <[email protected]>
To: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] Where can I find libcamerify
Message-ID: <1849255.tdWV9SEqCh@eiktum>
Content-Type: text/plain; charset="us-ascii"

Op zaterdag 25 maart 2023 19:16:48 CEST schreef Tony Ross:
> On 3/25/23 05:33, Freek de Kruijf wrote:...
> 
> > The documentation tells me use "libcamerify motion" to initialize the
> > camera for motion. However I can't find this app in the system.
> > 
> > So my question: Where can I find libcamerify
> 
> "apt-file" is a very useful package to have installed, because it tells
> us what package contains the file, e.g.:
> 
> $ apt-file search libcamerify
> libcamera-tools: /usr/bin/libcamerify

I did find this application. Thanks a lot.

However when using "systemctl start motion.service" motion starts, but also 
stops immediately. When I do "cd /etc/motion ; libcamerify motion" motion 
starts and stays alive. So I copied /usr/lib/systemd/system/motion.service to 
/etc/systemd/system and changed:

EnvironmentFile=-/etc/default/motion in EnvironmentFile=-/etc/motion
ExecStart=/usr/bin/motion  in  ExecStart=/usr/bin/libcamerify /usr/bin/motion 
-c /etc/motion/motion.conf

I also added
ExecStartPre=!/bin/mkdir -p /var/run/motion
ExecStartPre=!/bin/chown motion:adm /var/run/motion

because I got complaints about not being able to write the pid file.

However this also starts motion, but stops right afterwards.
A workaround may be to start motion in a cron job after boot; did not try this 
yet.

-- 
fr.gr.

member openSUSE
Freek de Kruijf






------------------------------

Message: 2
Date: Mon, 27 Mar 2023 20:16:53 +0200
From: via prenestina <[email protected]>
To: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] mmal_vc could not create component
        vc.ril.camera
Message-ID:
        <CAPKnyaXug=c5vkr2msvcaeyz+ekdhgbmjeh9gyprbugv1xg...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Thank you,

maybe my question is silly. I also want to use Motionplus with different
wifi cameras [but I am not expert]. Looking on Aliexpress I have found a
cheap one who says she is Onvif compliant.
But in the motion documentation I do not see Onvif but RTSP. Are these
protocols alternative? Any suggestion?

Thank you

On Sun, 26 Mar 2023 at 22:03, MrDave <[email protected]> wrote:

> Some of it is true for Motionplus.
>
> MMAL is not supported by Motionplus either.  The difference is that in
> MotionPlus you are not required to use "libcamerify".  (But you can if you
> want.).  MotionPlus adds the direct interface with libcamera application
> and users can specify "libcam_device camera0" in the MotionPlus
> configuration.  Also, since MotionPlus has the direct interface, it allows
> for changing of any of the ~40 camera parameters (brightness, focus, etc,
> etc) via libcam_params.  Using libcamerify you only get the defaults and no
> ability that I know of to change camera parameters.
>
> Dave
>
> On 3/26/2023 1:40 PM, via prenestina wrote:
>
> Thank you so much
>
> the same holds true for MotionPlus?
>
> regards
>
> On Sun, 26 Mar 2023 at 21:30, MrDave <[email protected]> wrote:
>
>> Raspberry PI OS no longer supports the Pi camera via mmal.
>>
>> Raspberry PI OS requires users to make use of the libcamera application
>> get to the camera.  The libcamera application that must be used for
>> Motion is "libcamerify" and is installed from the libcamera-tools
>> package.  To use it you start Motion with the command "libcamerify
>> motion".  Then in the Motion configuration, specify "video_device
>> /dev/video0"
>>
>>   It is also recommended to use the 32bit version of Raspberry PI OS for
>> the moment.  The 64bit version of libcamerify and Motion have not worked
>> well together.
>>
>>
>> On 3/26/2023 12:43 PM, via prenestina wrote:
>> > Hello,
>> >
>> > I am just starting using (I wish) Motion on my RPI4 with Noir webcam
>> >
>> > I compiled motion but now I have this error. Any suggestion?
>> >
>> > Thank you
>> >
>> >
>> > _______________________________________________
>> > Motion-user mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/motion-user
>> > https://motion-project.github.io/
>> >
>> > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
>>
>>
>> _______________________________________________
>> Motion-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/motion-user
>> https://motion-project.github.io/
>>
>> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
>
>
>
> _______________________________________________
> Motion-user mailing 
> [email protected]https://lists.sourceforge.net/lists/listinfo/motion-userhttps://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
>
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------



------------------------------

Subject: Digest Footer

_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user


------------------------------

End of Motion-user Digest, Vol 199, Issue 15
********************************************

Reply via email to