Update handler.py

add output for framerate of video
This commit is contained in:
Janis Hutz
2023-03-17 12:24:19 +00:00
committed by GitHub
parent d8521321b2
commit c1dc26ff6b

View File

@@ -103,6 +103,8 @@ class Handler:
except TypeError:
self.infos = str(self.videometa.get("r_frame_rate"))
self.framerate = float(self.infos[:len(self.infos) - 2])
print('\n\nframe rate is: ', self.framerate, '\n\n')
# Splitting video into frames
try: