Send Motion-user mailing list submissions to
        motion-user@lists.sourceforge.net

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
        motion-user-requ...@lists.sourceforge.net

You can reach the person managing the list at
        motion-user-ow...@lists.sourceforge.net

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


Today's Topics:

   1. Re: When /where to run v4l2-ctl commands? (Fred Hamilton)


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

Message: 1
Date: Tue, 5 Dec 2017 08:37:25 -0800
From: Fred Hamilton <f...@yonkitime.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] When /where to run v4l2-ctl commands?
Message-ID:
        <CAJUE6TCFaGzs5SwDDfQH0HCm8CT6Gx=qmjs2ekoosejak-t...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

On Mon, Nov 27, 2017 at 4:14 PM, MrDaveDev <motionmrdave...@gmail.com>
wrote:

> On 11/25/2017 4:57 AM, Colin Law wrote:
>
>> On 24 November 2017 at 23:37, Fred Hamilton <f...@yonkitime.com> wrote:
>>
>>> I'm using motion (quite successfully - thanks!) to stream my Logitech
>>> C920
>>> webcam.  However I want to disable autofocus and fix the focal length
>>> (and
>>> make a few other changes).  I can do that after everything is up and
>>> running
>>> from the terminal with v4l2-ctl commands in a script.  However when I add
>>> that script to my boot sequence it doesn't seem to work (maybe motion is
>>> launching after the script and overriding my settings?).
>>>
>> It shouldn't make any difference where you run the commands from,
>> motion should not change them.
>> First check that the commands are working. Disable motion and reboot
>> and check that the commands have taken. If not then the issue is with
>> how you are running them from the boot sequence. Possibly a path issue
>> or something. Maybe you have not supplied the full path to something
>> that needs it.
>>
>> Colin
>>
> Well, if the value is one that can be set by Motion, it would change
> them.  It is also possible that when Motion sets the resolution or pixel
> format, the camera resets everything to align with it.  So when using the
> v4l2-cntl make sure to include the resolution and input format.
>
> MrDave


I haven't had a chance to get back to this yet but wanted to thank everyone
for their suggestions.  Motion was installed as a service ("sudo service
motion start"), I guess that's systemd?

I was just thinking that Motion might have incorporated support for
v4l2-ctl in some way.  I'm sure I can get a get a script to work one way or
another once I get back to it.
-------------- next part --------------
An HTML attachment was scrubbed...

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

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

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

Subject: Digest Footer

_______________________________________________
Motion-user mailing list
Motion-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/motion-user


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

End of Motion-user Digest, Vol 138, Issue 2
*******************************************

Reply via email to