Video writing is too slow in OpenCV

Please post the text not images and include all of the output from getBuildInformation.

Those variables were introduced after OpenCV 4.8.0 so it is likely you are using main 4.8.0 and one of the latest commits from the contrib branch. Use commits from the tip of the 4.x branch in both repos or the 4.8.0 tag on both branches.