This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-AM62A-LP: GRAY16_LE data handling with v4l2jpegenc

Part Number: SK-AM62A-LP

Tool/software:

Hello Team,

We are using monochrome sensor which is giving Y10 data. We have successfully set media-ctl command to set pipeline topology for Y10 data. and based on suggestion of @suren Porwar in below my thread I have changed driver code and successfully able to run below command and captured image.

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1388065/sk-am62a-lp-monochrome-data-getting-failed-with-gray16_le-format/5314101?tisearch=e2e-sitesearch&keymatch=%2520user%253A599112#5314101

forums.raspberrypi.com/viewtopic.php

Working gstreamer command:

gst-launch-1.0 -v v4l2src device=/dev/video-rpi-cam0 ! video/x-raw, width=1920, height=1200, framerate=120/1, format=GRAY16_LE ! multifilesink location=data_%d.raw

I have convert data_.raw to jpeg and it's looks fine.

But when I use v4l2jpegenc for jpeg encoding in that I am getting black jpeg image. so, do we need to handle any  parameter in below pipeline ?

Getting black jpeg image in below Pipeline :

gst-launch-1.0 -v v4l2src device=/dev/video-rpi-cam0 ! video/x-raw, width=1920, height=1200, framerate=120/1, format=GRAY16_LE ! videoconvert ! video/x-raw, width=1920, height=1200, framerate=120/1, format=NV12 !  v4l2jpegenc ! multifilesink location=data_jpeg_%d.jpg




Thanks,
Jaimin