Hi,
I am getting different frame count for the same video on different machines.
Code used to find frame count:
import cv2
cap= cv2.VideoCapture("2653582916.mp4")
i=0
while(cap.isOpened()):
ret, frame = cap.read()
if ret == False:
break
i+=1
print(i)
Output on machine 1 72
Output on machine 2 80
System Information Machine 1 OpenCV = 4.1.1.26 OS = Ubuntu 18.04.4 LTS 16 Core / 32GB RAM Machine 2 OpenCV = 4.1.1.26 OS = Ubuntu 18.04.3 LTS 8 Core /16GB RAM
frame count will vary depends on machines? please help me out.