Skip to content

Commit 0039568

Browse files
committed
Merge branch 'main' of https://github.com/danionella/daio
2 parents 9b98f51 + 2f38b04 commit 0039568

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ license = {text = "MIT"}
1313
readme = "README.md"
1414
keywords = ["python", "HDF5", "data IO", "video IO"]
1515
requires-python = ">=3.8"
16-
dependencies = ["numpy","av<14","h5py","hdf5plugin"]
16+
dependencies = ["numpy","av","h5py","hdf5plugin"]
1717

1818
[project.urls]
1919
Homepage = "https://github.com/danionella/daio"

src/daio/video.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ def __init__(self, filename, format='gray', threading=True, thread_count=0, tole
2626
self._frame_to_pts = lambda n: round(n * self._pts_per_frame) + self.stream.start_time
2727
self.wiggle_pts = tolerance * self._pts_per_frame
2828
self.rewind()
29-
if self.container.format.variable_fps:
30-
warn_transcode(f'Variable frame rate video detected. Seeking will likely be unrealiable. I will warn again if I detect seek gitches')
3129
if self.stream.average_rate != self.stream.guessed_rate:
3230
warn_transcode(f'Average frame rate ({self.stream.average_rate}) is different from nominal frame rate ({self.stream.guessed_rate}). Seeking may be unrealiable. I will warn again if I detect seek gitches')
3331

0 commit comments

Comments
 (0)