Skip to content

v1.0.0

Choose a tag to compare

@moi15moi moi15moi released this 06 Dec 17:40
· 57 commits to main since this release

What's Changed

  • [abc_timestamps] frame_to_time - Raise error if the frame cannot be reprensented in the specified output unit by @moi15moi in #15
  • [abc_timestamps] Add new functions:
  • Use ffms2/bestsource instead of ffprobe by @moi15moi in #14
    • This is a major change, but it is mostly transparent. These are the change from the API standpoint:
      • Many change have been done to VideoTimestamps.from_video_file:
        • Added video_provider argument. It can be FFMS2VideoProvider or BestSourceVideoProvider
        • Renamed use_ffprobe_to_guess_fps to use_video_provider_to_guess_fps.
        • Removed rounding_method and last_timestamps.
      • Removed video_timestamps/ffprobe/*
      • Removed _version.py
  • Add documentation by @moi15moi in #25
  • [VideoTimestamps] Use duration of last frame by @moi15moi in #21
    • Previously, we were only using the PTS of each frame, and we extrapolated timestamps beyond the last frame's PTS.
      Now, we use the PTS of each frame, and for the last frame we use its duration. We no longer try to extrapolate timestamps past the actual video duration. If you request a frame beyond the video duration, an exception will be thrown.
      This affect VideoTimestamps and V2/V4 timestamps.
  • Configure Renovate by @renovate[bot] in #28

Full Changelog: 0.2.1...1.0.0