ksvideosrc: on some camera devices, output is green and 5 fps
Hello Gstreamer Community,
First of all, I appreciate all of your effort and work. I think I've found a bug on one specific Windows Integrated Camera Device with Gstreamer. I've explained in details below.
Platform specifications:
OS: Windows 10 x64
Gstreamer version: 1.16.2
Problem: Integrated Webcam device supports NV12 and IANV video formats only. When I try to get
ksvideosrc ! videoconvert ! autovideosink -v
Output log seems OK, everything is fine 30 fps video format NV12 and etc.
HOWEVER, the visualized output is GREEN 5 FPS VIDEO.
What I tried:
- I opened Windows default Camera application, the device opens and works just fine. No green output and around 30 fps.
- I've plugged other webcam device that gives YUY2 format and tried same pipeline above and it worked fine via Gstreamer.
- I've tested videotestsrc, it worked fine as well.
- I've added queue on pipeline and capsfilter to change format to I420 and etc. , it did not solve the problem. Same green 5 fps video.
I've added the output of the pipeline above. This is most basic gstreamer pipeline and seems OK but the visualized output is Green 5 fps video frames.
Basic pipeline output file: temp.txt
Queue capsfilter output file: temp4.txt