I am porting the camera to TX2. YUV fmt Capture the image and output it to the screen using mplayer. The green pattern is output on the left part of the screen. The image x-size of the camera is 1824. If I output the command with x-size of 1824, the screen will be broken. However, if I set the x-size to 1920, I could see that the output was well. But I want x-size to be 1824 (or 1920, and I want to get rid of the green pattern). What should I do?
v4l2-ctl --set-fmt-video=width=1824,height=940,pixelformat=yvyu --stream-mmap --stream-count=1 -d /dev/video0 --stream-to=ov491.raw
mplayer ov491.raw -demuxer rawvideo -rawvideo w=1824:h=940:fps=30:format=uyvy
-> broken image
mplayer ov491.raw -demuxer rawvideo -rawvideo w=1920:h=940:fps=30:format=uyvy
-> goon but image left green patten