How to read from VideoCapture a bit depth > 8 bits in Python?

asked 2015-05-29 11:56:42 -0600

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,

edit retag flag offensive close merge delete

Comments

where does it say, that there are more than 8bits/channel ?

berak gravatar imageberak ( 2015-05-29 12:20:21 -0600 )edit