2015-05-29 12:19:02 -0600 | asked a question | How to read from VideoCapture a bit depth > 8 bits in Python? When I read from a video file using VideoCapture, I can only get 8 bits video frames, even when the video has more depth. According to ffmpeg, Input #0, avi, from 'asd.avi': Duration: 00:00:01.77, start: 0.000000, bitrate: 345615 kb/s Stream #0:0: Video: rawvideo, bgr24, 800x600, 352246 kb/s, 30 tbr, 30 tbn, 30 tbc I would appreciate if someone knows how to make VideoCapture read video files deeper than 8 bits/pixel using Python. Thank you, |