We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23d02ba commit 8db9b74Copy full SHA for 8db9b74
ffmpeg/tests/test_ffmpeg.py
@@ -79,6 +79,14 @@ def test_fluent_complex_filter():
79
).output('dummy2.mp4')
80
81
82
+@pytest.mark.skipif(sys.version_info < (3, 6), reason='requires python3.6 or higher')
83
+def test_pathlike_input_output():
84
+ from pathlib import Path
85
+ base = ffmpeg.input(Path("dummy.mp4"))
86
+ base.output(filename=Path("dummy2.mp4"))
87
+ base.output(Path("dummy3.mp4"))
88
+
89
90
def test_node_repr():
91
in_file = ffmpeg.input('dummy.mp4')
92
trim1 = ffmpeg.trim(in_file, start_frame=10, end_frame=20)
0 commit comments