Hello everyone!
I use GStreamer pipeline to create v4l2src pipeline for opencv.The end of pipeline is appsink.
But the upper half image and lower half image has two different colors.
To check the problem I try:
gst-launch-1.0 v4l2src ! xvimagesink
The image is correct.
gst-launch-1.0 v4l2src io-mode=2 ! video/x-raw,width=1280,height=720, framerate=60/1 ! xvimagesink
The image is correct.
gst-launch-1.0 v4l2src io-mode=2 ! image/jpeg,width=1280,height=720, framerate=60/1, format=YUYV ! nvv4l2decoder mjpeg=1 ! nvvidconv ! xvimagesink
The image has different colors.
Maybe some plugins get incorrectly setting?
Thank you!