Dirty patch that removes the offending test:
diff --git a/ffmpeg/tests/test_ffmpeg.py b/ffmpeg/tests/test_ffmpeg.py
index 8dbc271..df0eb52 100644
--- a/ffmpeg/tests/test_ffmpeg.py
+++ b/ffmpeg/tests/test_ffmpeg.py
@@ -684,6 +684,7 @@ def test_mixed_passthrough_selectors():
]
+'''
def test_pipe():
width = 32
height = 32
@@ -741,6 +742,7 @@ def test_pipe():
out_data = p.stdout.read()
assert len(out_data) == frame_size * (frame_count - start_frame)
assert out_data == in_data[start_frame * frame_size :]
+'''
def test__probe():
Don't forget to apply the patch in PKGBUILD
prepare() {
cd "$srcdir/${_pkgname}-${pkgver}"
sed -i -e 's/collections.Iterable/collections.abc.Iterable/g' ffmpeg/_run.py
patch --forward --strip=1 --input="${srcdir}/test_pipe.patch"
}
Pinned Comments
xiota commented on 2023-06-17 22:09 (UTC) (edited on 2024-12-24 19:01 (UTC) by xiota)
There are currently two conflicting ffmpeg modules for python. This package provides the old implementation.
pypi/ffmpeg-python - Old implementation. Development has apparently been abandoned.
aur/python-ffmpeg-python
pypi/python-ffmpeg - New implementation. Not fully compatible with the old module. May have fewer features.
aur/python-python-ffmpeg
aur/python-python-ffmpeg-git