From ad8a83900ef607fa7ec82da1d0a2636b4b8c9a2f Mon Sep 17 00:00:00 2001 From: moi15moi Date: Sat, 11 Nov 2023 16:16:14 -0500 Subject: [PATCH] Move comment from FrameUtility to Timestmaps --- pyonfx/timestamps.py | 1 + pyonfx/utils.py | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pyonfx/timestamps.py b/pyonfx/timestamps.py index 01543df7..363ee869 100644 --- a/pyonfx/timestamps.py +++ b/pyonfx/timestamps.py @@ -267,6 +267,7 @@ def _parse_v2_and_v4_file( class Timestamps: """Timestamps object contains informations about the timestamps of an video. + Both Constant Frame Rate (CFR) and Variable Frame Rate (VFR) videos are supported. Video player have 2 methods to deal with timestamps. Some floor them and other round them. This can lead to difference when displaying the subtitle. diff --git a/pyonfx/utils.py b/pyonfx/utils.py index 92ab610a..158ab19d 100644 --- a/pyonfx/utils.py +++ b/pyonfx/utils.py @@ -142,8 +142,6 @@ class FrameUtility: You can use it to iterate over the frames going from ``start_ms`` to ``end_ms`` and perform operations easily over multiple frames. - Both Constant Frame Rate (CFR) and Variable Frame Rate (VFR) videos are supported. - Parameters: start_ms (positive int): Initial time in ms. end_ms (positive int): Final time in ms.