We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ea902c commit 44c81e6Copy full SHA for 44c81e6
imageio_ffmpeg/_io.py
@@ -153,8 +153,8 @@ def count_frames_and_secs(path):
153
path,
154
"-map",
155
"0:v:0",
156
- "-c",
157
- "copy",
+ "-vf",
+ "null",
158
"-f",
159
"null",
160
"-",
tests/test_io.py
@@ -40,7 +40,7 @@ def test_ffmpeg_version():
40
def test_read_nframes():
41
nframes, nsecs = imageio_ffmpeg.count_frames_and_secs(test_file1)
42
assert nframes == 280
43
- assert 13.80 < nsecs < 13.99
+ assert 13.80 < nsecs <= 14.00
44
45
46
def test_read_frames_resource_warning():
0 commit comments