Can VideoCapture read h.264 video data as byte array?

asked 2015-08-18 03:51:38 -0600

dattaraj gravatar image

I am reading h.264 video data as a byte array from a proprietary video format. Is there a way I can pass this byte array to the VideoCapture object to read instead of passing a file-name or stream URL? I am using OpenCV with Python.

Thanks, Dattaraj Rao

edit retag flag offensive close merge delete


You mean something like a memory stream?

LBerger gravatar imageLBerger ( 2015-08-19 01:41:24 -0600 )edit