aws-lambda-python-opencv
aws-lambda-python-opencv copied to clipboard
Frame Count issue
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
I've been struggling with this exact same issue for a while - does anybody have a solution?
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.