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: Cropped video with 4.7 and bookworm (Jack Christensen)


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

Message: 1
Date: Thu, 26 Sep 2024 09:57:01 -0400
From: Jack Christensen <christensen.jac...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Cropped video with 4.7 and bookworm
Message-ID: <607f8ed9-35d9-4535-ad3b-bd942295c...@gmail.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

Hello Manu,

Yes the camera is IMX219. Changing to 1024x768 does give the full image.

Now that I (re)read the doc about width and height I see that Motion 
does not scale v4l2 devices. I think that when running under bullseye 
and the previous release of Motion (using MMAL), the image was rescaled.

Although I am a bit puzzled now, as it seems that scaling is happening. 
Perhaps this is done in the camera rather than in Motion. That might be 
preferable from a CPU standpoint.

Thank you! ... Jack

On 9/25/24 22:22, Manu Kemppainen wrote:
> If your camera mmodule is imx219 as the log reports. The camera 
> resoution is 3280 (H) ? 2464 (V) 
> (https://docs.arducam.com/Nvidia-Jetson-Camera/Native-Camera/imx219)
> Your config file resolution is? different aspect ratio
> # Image width in pixels.
> width 1024
>
> # Image height in pixels.
> height 576
> Can you try to change the height to 768 (same aspect ratio with cam)
>
> On 25 Sept 2024 23.46, Jack Christensen <christensen.jac...@gmail.com> 
> wrote:
>
>     Greetings,
>
>     I am using several Raspberry Pi Zero Ws with the Raspberry Pi
>     Camera version 2. I just rebuilt one with the latest OS (bookworm)
>     and Motion 4.7 (compiled from source.) It was previously running
>     bullseye and Motion 4.6.
>
>     All seems well but the videos are cropped. I get the same size
>     image (pixel-wise) as before but a narrower field of view. I do
>     not see any parameters to adjust this.
>
>     I did find a post on the list from some time ago with what sounded
>     like the same issue. There are some errors in the log when Motion
>     starts up, but then things seem to function fine.
>
>     Here <https://dpaste.com/2HXVCHF37> is the Motion log and here
>     <https://dpaste.com/5DL8F4ABK> is my config file.
>
>     Thanks in advance,
>
>     -- 
>     Jack Christensen
>     Sent from Linux Mint 21.1 using Mozilla Thunderbird
>
>
-------------- next part --------------
An HTML attachment was scrubbed...

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



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

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 217, Issue 9
*******************************************

Reply via email to