I have tried reducing the frame rate. The problem is still there.
Here is a raw image captured using v4l2-ctl method.
4208x3120.yuv (25.0 MB)
At the end of every second line there are 16 pixels all set to zero.
I have found more forum posts that report the same image issues.
thank you!
Yes, i assumed that there is an problem with the frame size.
when i trying to convert this VYUY image i get image with aliasing, maybe it’s stride problem? but it not made sense cause gstreamer know VYUY format…
3 files are attached
test.vyuy vyuy file grubbed using video4linux
test.vyuy (23.6 MB)
test.jpeg
[test]
created by:
gst-launch-1.0 -e filesrc location=test.vyuy ! videoparse format=vyuy width=4112 height=3008 framerate=15/1 ! videoconvert ! jpegenc ! filesink locat…
Hello,
Could you give a a response regarding the pixel_clk_hz setting (see my question below) ?
Regarding our main issue with images with less than 640 pixels per line: even if we solve the issue by adding 240 pixels to our 400 pixels lines, it’s not an elegant way to solve the problem. I would like to give you another information. Even if the streaming was working with v4l2-ctl, we had an issue with the pixels in the images: the odd lines were OK, but for the even lines were shifted by 16 pix…
It seems to be a problem with alignment but I can’t find any info on what the constrain is.
Why is the image okay at 4192 width and not at 4208? Is there a way to make 4208 work?
I have also tried the solution from this post:
Hi,
I am trying to capture video from a 3848 2168 YUV422 (YUY2) GMSL2 camera on Xavier.
When using another 3840 2160 resolution GMSL2 camera sensor, everything works just as fine, I can get the correct image and data. However when I change to a new 3848*2168 YUY2 GMSL2 camera (after updating necessary kernel drivers), I get distorted image from v4l2src through:
gst-launch-1.0 v4l2src device=“/dev/video0” ! video/x-raw, width=3848, height=2168, format=YUY2, framerate=30/1 ! xvimagesink
[Sc…
prefered_stride 256 had no effect. I’m not sure i understand the setting. What does it do? Is it even enabled?
Tegra release version:
# R32 (release), REVISION: 5.2, GCID: 27767740, BOARD: t186ref, EABI: aarch64, DATE: Fri Jul 9 16:05:07 UTC 2021