ITADN
moi15moi/VideoTimestamps

版本发布 8

v1.1.01.1.0
? · 2025-12-28

## What's Changed * Add extracttimestamps utility by @moi15moi in https://github.com/moi15moi/VideoTimestamps/pull/41 * Cleanup code by @moi15moi in https://github.com/moi15moi/VideoTimestamps/pull/42 **Full Changelog**: https://github.com/moi15moi/VideoTimestamps/compare/1.0.0...1.1.0

v1.0.01.0.0
? · 2025-12-06

## What's Changed * [abc_timestamps] ``frame_to_time`` - Raise error if the frame cannot be reprensented in the specified output unit by @moi15moi in https://github.com/moi15moi/VideoTimestamps/pull/15 * [abc_timestamps] Add new functions: * Add ``time_to_time`` by @moi15moi in https://github.com/moi15moi/VideoTimestamps/pull/16 + c876438df7dbd3438a982df7cbc273b1d2233ccf * Add ``pts_to_time`` by @moi15moi in https://github.com/moi15moi/VideoTimestamps/pull/18 * Add ``time_to_pts`` by @moi15moi in e1739f3bacab698549e758d54af21c1d782ffde8 * Use ffms2/bestsource instead of ffprobe by @moi15moi in https://github.com/moi15moi/VideoTimestamps/pull/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 https://github.com/moi15moi/VideoTimestamps/pull/25 * We now have a documentation available at https://moi15moi.github.io/VideoTimestamps/ * [VideoTimestamps] Use duration of last frame by @moi15moi in https://github.com/moi15moi/VideoTimestamps/pull/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 https://github.com/moi15moi/VideoTimestamps/pull/28 **Full Changelog**: https://github.com/moi15moi/VideoTimestamps/compare/0.2.1...1.0.0

v1.0.0rc31.0.0rc3预发布
? · 2025-12-06

## What's Changed * Build sdist in build_wheel by @moi15moi in https://github.com/moi15moi/VideoTimestamps/pull/19 * Add documentation by @moi15moi in https://github.com/moi15moi/VideoTimestamps/pull/25 * Simplify ci + remove support 3.9 + add support for 3.14 by @moi15moi in https://github.com/moi15moi/VideoTimestamps/pull/26 * Switch from macos-13 to macos-15-intel runner by @moi15moi in https://github.com/moi15moi/VideoTimestamps/pull/27 * Configure Renovate - autoclosed by @renovate[bot] in https://github.com/moi15moi/VideoTimestamps/pull/28 * Update actions/upload-artifact action to v5 by @renovate[bot] in https://github.com/moi15moi/VideoTimestamps/pull/32 * Update actions/setup-python action to v6 by @renovate[bot] in https://github.com/moi15moi/VideoTimestamps/pull/31 * Update actions/checkout action to v5 by @renovate[bot] in https://github.com/moi15moi/VideoTimestamps/pull/30 * Update dependency python to 3.14 by @renovate[bot] in https://github.com/moi15moi/VideoTimestamps/pull/29 * Use duration of last frame by @moi15moi in https://github.com/moi15moi/VideoTimestamps/pull/21 * Update actions/checkout action to v6 by @renovate[bot] in https://github.com/moi15moi/VideoTimestamps/pull/33 * Update dependency videolan/dav1d to v1.5.2 by @renovate[bot] in https://github.com/moi15moi/VideoTimestamps/pull/36 * Update dependency FFmpeg/FFmpeg to n8.0.1 by @renovate[bot] in https://github.com/moi15moi/VideoTimestamps/pull/38 ## New Contributors * @renovate[bot] made their first contribution in https://github.com/moi15moi/VideoTimestamps/pull/28 **Full Changelog**: https://github.com/moi15moi/VideoTimestamps/compare/1.0.0rc2...1.0.0rc3

v1.0.0rc21.0.0rc2预发布
? · 2025-10-26

## What's Changed * Raise error if the frame cannot be reprensented in the specified output unit by @moi15moi in https://github.com/moi15moi/VideoTimestamps/pull/15 * [abc_timestamps] Add time_to_time by @moi15moi in https://github.com/moi15moi/VideoTimestamps/pull/16 * [abc_timestamps] pts_to_time by @moi15moi in https://github.com/moi15moi/VideoTimestamps/pull/18 * Use ffms2/bestsource instead of ffprobe by @moi15moi in https://github.com/moi15moi/VideoTimestamps/pull/14 **Full Changelog**: https://github.com/moi15moi/VideoTimestamps/compare/0.2.1...1.0.0rc2

v0.2.10.2.1
? · 2025-08-21

## What's Changed - Add py.typed file to conform to PEP 561 (https://github.com/moi15moi/VideoTimestamps/commit/1e00cfc066d3b77970a66f88d1abee3eb346b320) - Use SPDX expression for `project.license` and use `project.license-files` in `pyproject.toml` (https://github.com/moi15moi/VideoTimestamps/commit/a3eca5e5af9ccdff4c772f37e5624ccb552dafe3 + https://github.com/moi15moi/VideoTimestamps/commit/dce59e6955f21672d53a7d355f9b1abef567f6bb) **Full Changelog**: https://github.com/moi15moi/VideoTimestamps/compare/0.2.0...0.2.1

v0.2.00.2.0
? · 2025-04-28

## What's Changed * Add support for v1 timestamps file by @moi15moi in https://github.com/moi15moi/VideoTimestamps/pull/10 * Support timestamps file with empty line or only have a carriage return by @moi15moi in https://github.com/moi15moi/VideoTimestamps/pull/11 * Add TimeUnitConverter by @moi15moi in https://github.com/moi15moi/VideoTimestamps/pull/12 **Full Changelog**: https://github.com/moi15moi/VideoTimestamps/compare/0.1.1...0.2.0

v0.1.10.1.1
? · 2025-01-03

## What's Changed * Add ``__eq__`` and ``__hash__`` method to ABCTimestamps by @moi15moi in https://github.com/moi15moi/VideoTimestamps/pull/8 * Add ruff support by @moi15moi in https://github.com/moi15moi/VideoTimestamps/pull/7 **Full Changelog**: https://github.com/moi15moi/VideoTimestamps/compare/0.1.0...0.1.1

v0.1.00.1.0
? · 2024-12-16

## What's Changed * Refactor by @moi15moi in https://github.com/moi15moi/VideoTimestamps/pull/4 (fix #2 and #3) * Remove support for v1 timestamps file by @moi15moi in https://github.com/moi15moi/VideoTimestamps/pull/5 ## Release Notes This release introduces **breaking changes** and is **not compatible** with the previous version (v0.0.1). ### Key Changes: - **Flexible Time Units**: Previously, the API only supported timestamps in milliseconds. In v0.1.0, we’ve introduced support for timestamps in any unit, requiring a significant module refactor. ### Transition Guidance: - To help migrate from v0.0.1 to v0.1.0, refer to the updated [example file](https://github.com/moi15moi/VideoTimestamps/blob/578373a5b83402d849d0e83518da7549edf8e03d/examples/get_timestamps.py). - Updated docstrings throughout the module provide additional details. **Full Changelog**: https://github.com/moi15moi/VideoTimestamps/compare/0.0.1...0.1.0