I try to create video AVI format from ID3D11Texture2D by using OpenCV.
Step 1 I transform texture into QByteArray and get QImage
Step 2 Then JPG format I save