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: RPi5 camera issue: Is this palette supported: SBGGR10
      (Barry Martin)


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

Message: 1
Date: Sun, 16 Jun 2024 19:41:55 -0500
From: Barry Martin <barry3mar...@gmail.com>
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] RPi5 camera issue: Is this palette
        supported: SBGGR10
Message-ID: <cb598800-63b3-4bbf-8540-523c4593a...@gmail.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"


Hi z4!


> I have an ixm296 (official RPi camera, global shutter) on a Raspberry 
> Pi5, and though I can get motion to work with it, the resultant image 
> is very green and has dozens on horizontal lines cutting through it 
> tightly spaced and generally poor image quality with some strange 
> ghosting artifacts.
>
> I don't quite know what the v4l2_palette setting is for exactly, or if 
> it may come into play here:

I don't have a RPi camera but remember I had something similar with my 
USB camera.? Can't find my notes but did find on-line some stuff which 
may help you correct the problem.

I did use VLC to figure out the correct device:? VLC > Open Capture 
Device -->? Capture Mode = Video Camera.? Video Device will be blank; 
use the pulldown menu to select (/dev/video0, /dev/video1, etc.).? Most 
of the options gave me an error, a couple gave me almost-right displays, 
one or two gave me correct images.? Note this/these and plug in to Motion.

BTW, turn Motion off so as not to interfere with VLC.? Should be sudo 
service motion? stop .


I did find this command elsewhere which may help: v4l2-ctl -d 
/dev/video0 --list-formats-ext


I would also not be too concerned with the resolution? until you correct 
whatever is causing the green and stripes.


Extracted from my camera1.conf for a USB camera:

video_params palette=8
width 1280
height 720

Note the palette command has been updated from earlier versions of Motion.



>
> So three questions arise from this:
>
> 1)? how to fix a green image with many horizontal lines (looks fine 
> with rpicam-vid ...)
>
> 2)? do I need to worry about the v4l2_palette setting for this 
> camera/setup?
>
> 3)? What is the meaning of "Unsupported V4L2 pixel format RPBP" and is 
> that something that needs addressing?

I think all three can be corrected by finding which video device and 
which palette is correct.


...Hmm:? might want to take a glance though this to see if anything 
triggers a possibility: 
https://forums.raspberrypi.com/viewtopic.php?t=359849 ??? They mentioned 
(ribbon) cable problems and I remember having some? 'static'? if I had a 
video cable not inserted fully.?? (I Googled "rpbp raspberry pi" to find 
that.

Good luck! Hope I pointed you in the right direction!

Barry


-------------- 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 214, Issue 2
*******************************************

Reply via email to