Ask Your Question

Revision history [back]

Failed to acquire random data

I'm coding a python program to capture images from a HTTP/S urls that is streaming videos. I realised that for HTTP url opencv works well, but it crashes when it tries to open a HTTPS url.

I happens just when it tries to create a object e.g. vc = cv2.VideoCapture(url).

URL to try with:

  • https://storage.googleapis.com/dev-brdu1976/268.mov
  • https://archive.org/download/Sleepfor1950/Sleepfor1950.mp4

error:

 ([tls @ 0x7fdd2402a700] Failed to acquire random data).

Do you know how could I setup opencv to work with https/tls video streaming?