Re: MT9M131 on I.MX6DL CSI color issue

Florian Boor
2018-01-15T10:40:34Z

Hello Anatolij,

many thanks for explaining. It changed something at least - see below.

On 12.01.2018 11:06, Anatolij Gustschin wrote:
> On Fri, 12 Jan 2018 10:58:40 +0100
> Anatolij Gustschin agust@denx.de wrote:
> ...
> I forgot the videoconvert, sorry. Try
>
> gst-launch v4l2src device=/dev/video4 num-buffers=1 ! \
> filesink location=frame.raw
>
> gst-launch filesrc num-buffers=1 Lotion=frame.raw ! \
> videoparse format=5 width=1280 height=1024 framerate=25/1 ! \
> videoconvert ! jpegenc ! filesink location=capture1.jpeg

Capturing like this the colors turn a little bit less psychedelic green and
purple. Looks like this:
http://www.kernelconcepts.de/~florian/capture2.jpeg
The dark area is in fact a very bright one. So maybe the format I read from the
sensor is not exactly what it is supposed to be or similar...

Greetings

Florian

--
The dream of yesterday Florian Boor
is the hope of today Tel: +49 271-771091-15
and the reality of tomorrow. Fax: +49 271-338857-29