diff --git a/src/sticker_convert/utils/media/codec_info.py b/src/sticker_convert/utils/media/codec_info.py index e50f844..cd43f34 100755 --- a/src/sticker_convert/utils/media/codec_info.py +++ b/src/sticker_convert/utils/media/codec_info.py @@ -257,7 +257,7 @@ def _get_file_fps_frames_duration_pillow( else: duration_gcd = durations_gcd(*durations) frames_apparent = total_duration / duration_gcd - fps = frames_apparent / total_duration * 1000 + fps = float(frames_apparent / total_duration * 1000) return fps, frames, total_duration return 0.0, 1, 0