aws-lambda-python-opencv icon indicating copy to clipboard operation
aws-lambda-python-opencv copied to clipboard

Frame Count issue

Open markoliverbrawn opened this issue 6 years ago • 2 comments

CV good, but when I try to do: vc = cv2.VideoCapture("foo.mp4")

I find that: vc.get(cv2.CAP_PROP_FRAME_COUNT)

Is always returning 0.0

markoliverbrawn avatar Apr 16 '18 04:04 markoliverbrawn

I've been struggling with this exact same issue for a while - does anybody have a solution?

MorganBDT avatar Jan 23 '19 00:01 MorganBDT

I think this is related to this issue. You would need to link OpenCV against FFMPEG when building since AWS Lambda does not have FFMPEG by default and this package does not include it.

TylerSandman avatar Mar 09 '19 19:03 TylerSandman