yta-video-frame-time 0.0.9__py3-none-any.whl → 0.0.11__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of yta-video-frame-time might be problematic. Click here for more details.
- yta_video_frame_time/t_fraction.py +4 -4
- {yta_video_frame_time-0.0.9.dist-info → yta_video_frame_time-0.0.11.dist-info}/METADATA +3 -2
- yta_video_frame_time-0.0.11.dist-info/RECORD +6 -0
- {yta_video_frame_time-0.0.9.dist-info → yta_video_frame_time-0.0.11.dist-info}/WHEEL +1 -1
- yta_video_frame_time-0.0.9.dist-info/RECORD +0 -6
- {yta_video_frame_time-0.0.9.dist-info → yta_video_frame_time-0.0.11.dist-info/licenses}/LICENSE +0 -0
|
@@ -354,7 +354,7 @@ class _T:
|
|
|
354
354
|
variation.
|
|
355
355
|
|
|
356
356
|
The formula:
|
|
357
|
-
- `int(t * fps)`
|
|
357
|
+
- `int(round(t * fps))`
|
|
358
358
|
"""
|
|
359
359
|
t = (
|
|
360
360
|
self.truncated(t)
|
|
@@ -542,7 +542,7 @@ class _Pts:
|
|
|
542
542
|
variation.
|
|
543
543
|
|
|
544
544
|
The formula:
|
|
545
|
-
- `int((pts * time_base) * fps)`
|
|
545
|
+
- `int(round((pts * time_base) * fps))`
|
|
546
546
|
"""
|
|
547
547
|
return self._t_handler.t.to_index(
|
|
548
548
|
self.to_t(pts, do_truncate = None),
|
|
@@ -758,9 +758,9 @@ def frame_t_to_index(
|
|
|
758
758
|
also provided 'fps'.
|
|
759
759
|
|
|
760
760
|
The formula:
|
|
761
|
-
- `int(t * fps)`
|
|
761
|
+
- `int(round(t * fps))`
|
|
762
762
|
"""
|
|
763
|
-
return int(
|
|
763
|
+
return int(round(t * fps))
|
|
764
764
|
|
|
765
765
|
def frame_index_to_t(
|
|
766
766
|
index: int,
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: yta-video-frame-time
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.11
|
|
4
4
|
Summary: Youtube Autonomous Video Frame Time Module
|
|
5
|
+
License-File: LICENSE
|
|
5
6
|
Author: danialcala94
|
|
6
7
|
Author-email: danielalcalavalera@gmail.com
|
|
7
8
|
Requires-Python: ==3.9
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
yta_video_frame_time/__init__.py,sha256=-YOa7lOKdiA3FwDEHHU1tHobnmhjFpTaVLfJQLZqoMI,22252
|
|
2
|
+
yta_video_frame_time/t_fraction.py,sha256=lH-rDL2ydoEZhrkgjNMiJpzL5dCy7FanLbTae79Pw1c,24045
|
|
3
|
+
yta_video_frame_time-0.0.11.dist-info/licenses/LICENSE,sha256=6kbiFSfobTZ7beWiKnHpN902HgBx-Jzgcme0SvKqhKY,1091
|
|
4
|
+
yta_video_frame_time-0.0.11.dist-info/METADATA,sha256=kxUqsrB1BwSwQMEc0dx_Bce5B85h7R5wyOWIE2q7vNo,538
|
|
5
|
+
yta_video_frame_time-0.0.11.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
|
|
6
|
+
yta_video_frame_time-0.0.11.dist-info/RECORD,,
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
yta_video_frame_time/__init__.py,sha256=-YOa7lOKdiA3FwDEHHU1tHobnmhjFpTaVLfJQLZqoMI,22252
|
|
2
|
-
yta_video_frame_time/t_fraction.py,sha256=vfLF1R-4PYfP9ItNxbCBM14ck9UBxRpfFy_idsb5ESo,24033
|
|
3
|
-
yta_video_frame_time-0.0.9.dist-info/LICENSE,sha256=6kbiFSfobTZ7beWiKnHpN902HgBx-Jzgcme0SvKqhKY,1091
|
|
4
|
-
yta_video_frame_time-0.0.9.dist-info/METADATA,sha256=Qwj6QcsZRcSZRURvdB3DHdiyEg3otcOROVwoVje4wG4,515
|
|
5
|
-
yta_video_frame_time-0.0.9.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
|
6
|
-
yta_video_frame_time-0.0.9.dist-info/RECORD,,
|
{yta_video_frame_time-0.0.9.dist-info → yta_video_frame_time-0.0.11.dist-info/licenses}/LICENSE
RENAMED
|
File without changes
|