I have this line in my code:
writer = cv.CreateVideoWriter(\'video.avi\', cv.CV_FOURCC(\'X\',\'V\',\'I\',\'D\'), 30 ,(480,800), 1)
Which output
It's not OpenCV that outputs this info. It's FFMPEG (which is called by OpenCV).
You can recompile FFMPEG to disable these debugs.