- 
    
Bug
 - 
    Resolution: Fixed
 - 
    
P2: Important
 - 
    6.7.1
 - 
    None
 
- 
        
 - 
        Multimedia, weeks 15-16, Multimedia, weeks 18-19, Multimedia Current w28 ...
 
When using V4L2 loopback to create a capture device with yuv420p pixel format, the video frame colors are skewed.
Steps to reproduce:
- Create a loopback capture device with the v4l2loopback kernel module: sudo modprobe v4l2loopback video_nr5
 - Play test stream over loopback device using ffmpeg: ffmpeg -re -f lavfi -i testsrc -vf format=yuv420p -f v4l2 /dev/video5
 - Preview loopback camera using the declarative-camera or camera examples
 
Expected
- Test video is shown as normal
 
Actual
- Video brightness (Y-plane) is shown normally with colors (UV) being warped.
 - Using ffplay or VLC for preview shows correct colors
 
- relates to
 - 
                    
QTBUG-137872 tst_qvideoframecolormanagement fails on IMC1 and IMC3 formats on imx6
-         
 - Open
 
 -         
 - 
                    
QTBUG-134196 R16 video texture formats don't have a working fallback for GLES 2.0
-         
 - Closed
 
 -         
 
| For Gerrit Dashboard: QTBUG-126277 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 647424,4 | WIP: Use the naïve calculation of UV stride in mapping of YUV formats | dev | qt/qtmultimedia | Status: NEW | -2 | +1 | 
| 604132,7 | WIP: tst_qvideoframecolormanagement: Skip failing pixel formats on GLES2 | dev | qt/qtmultimedia | Status: DEFERRED | -2 | 0 | 
| 640122,6 | QVideoFrame: Correct alignment of U and V planes for IMC1 and IMC3 | dev | qt/qtmultimedia | Status: DEFERRED | 0 | 0 |