Skip to content

Commit

Permalink
Move comment from FrameUtility to Timestmaps
Browse files Browse the repository at this point in the history
  • Loading branch information
moi15moi committed Nov 11, 2023
1 parent 818e5c4 commit ad8a839
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions pyonfx/timestamps.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 0 additions & 2 deletions pyonfx/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ad8a839

Please sign in to comment.