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: When /where to run v4l2-ctl commands? (MrDaveDev)
   2. Preview Picture with Netcam_highres - Distorted Image (Gordon)
   3. Re: Preview Picture with Netcam_highres - Distorted Image (MrDave)


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

Message: 1
Date: Mon, 27 Nov 2017 17:14:06 -0700
From: MrDaveDev <[email protected]>
To: [email protected]
Subject: Re: [Motion-user] When /where to run v4l2-ctl commands?
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed

On 11/25/2017 4:57 AM, Colin Law wrote:
> On 24 November 2017 at 23:37, Fred Hamilton <[email protected]> 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
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> 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
>




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

Message: 2
Date: Mon, 27 Nov 2017 18:50:02 -0600 (CST)
From: Gordon <[email protected]>
To: [email protected]
Subject: [Motion-user] Preview Picture with Netcam_highres - Distorted
        Image
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset="utf-8"

Thank you for the new netcam_highres option in Motion 4.1. High-res movie file 
creation (H.264, 720P) and motion detection works fine with an Amcrest camera 
set with low-res substream (H.264, VGA) enabled. However using the options 
below at the same time: 

output_pictures best 
picture_filename preview 

...creates a distorted preview picture. It is green tint and is the same size 
of the high-res video (1280*720), but it looks like it is composed of two of 
the low-res images side by side at the top, with a dark green band on the 
bottom. I can tell it's referencing the low-res feed because I can see the text 
overlay in the image that the documentation states will not appear on the 
high-res video when netcam_highres is used. I'm not sure how that could happen 
because a low-res video is not being recorded. It is only being used to detect 
motion in this case. 

In the network cameraX.conf file I set: 

width 640 
height 480 

...to match the low-res feed from the camera Motion is using to detect motion, 
not matching the resolution of the high-res feed being recorded. I assume that 
is correct. 

The best/preview picture works properly without distortion on a cameraX.conf 
file for a USB camera connected to the same system, where netcam_highres is not 
in use. 

Thank you. 

-------------- next part --------------
An HTML attachment was scrubbed...

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

Message: 3
Date: Mon, 27 Nov 2017 19:21:55 -0700
From: MrDave <[email protected]>
To: [email protected]
Subject: Re: [Motion-user] Preview Picture with Netcam_highres -
        Distorted Image
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

I've been able to recreate this and have opened a issue for tracking.? 
It occurs whenever the "first", "Center" or "Best" option is selected.? 
When it is only specified as "on", the high resolution image is saved.

Thanks.
MrDave
On 11/27/2017 5:50 PM, Gordon wrote:
> Thank you for the new netcam_highres option in Motion 4.1. High-res 
> movie file creation (H.264, 720P) and motion detection works fine with 
> an Amcrest camera set with low-res substream (H.264, VGA) enabled. 
> ?However using the options below at the same time:
>
> output_pictures best
> picture_filename preview
>
> ...creates a distorted preview picture. ?It is green tint and is the 
> same size of the high-res video (1280*720), but it looks like it is 
> composed of two of the low-res images side by side at the top, with a 
> dark green band on the bottom. ?I can tell it's referencing the 
> low-res feed because I can see the text overlay in the image that the 
> documentation states will not appear on the high-res video when 
> netcam_highres is used. ?I'm not sure how that could happen because a 
> low-res video is not being recorded. ?It is only being used to detect 
> motion in this case.
>
> In the network cameraX.conf file I set:
>
> width 640
> height 480
>
> ...to match the low-res feed from the camera Motion is using to detect 
> motion, not matching the resolution of the high-res feed being 
> recorded.? I assume that is correct.
>
> The best/preview picture works properly without distortion on a 
> cameraX.conf file for a USB camera connected to the same system, where 
> netcam_highres is not in use.
>
> Thank you.
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
> _______________________________________________
> 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...

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

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user


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

End of Motion-user Digest, Vol 137, Issue 4
*******************************************

Reply via email to