Very cool, thanks for the patch, sin! Because I needed a version that works right now, I forked the package to https://aur.archlinux.org/packages/python-ffmpeg-patched-git. Let me know when you've applied the patch, getzze, so that I can remove it again! :)
Search Criteria
Package Details: python-ffmpeg-python 0.2.0-7
Package Actions
| Git Clone URL: | https://aur.archlinux.org/python-ffmpeg-python.git (read-only, click to copy) |
|---|---|
| Package Base: | python-ffmpeg-python |
| Description: | (old) Python bindings for FFmpeg with complex filtering support |
| Upstream URL: | https://github.com/kkroening/ffmpeg-python |
| Licenses: | Apache-2.0 |
| Conflicts: | python-python-ffmpeg |
| Submitter: | xiota |
| Maintainer: | xiota |
| Last Packager: | xiota |
| Votes: | 15 |
| Popularity: | 0.004140 |
| First Submitted: | 2023-06-17 21:59 (UTC) |
| Last Updated: | 2025-09-23 04:18 (UTC) |
Dependencies (10)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-ffplayoutAUR, ffmpeg-cudaAUR, ffmpeg-gitAUR, ffmpeg-amd-fullAUR, ffmpeg-full-gitAUR, ffmpeg-amd-full-gitAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-headlessAUR, ffmpeg-obsAUR, ffmpeg-libfdk_aacAUR)
- python
- python-graphviz
- git (git-gitAUR, git-glAUR) (make)
- python-build (make)
- python-installer (make)
- python-setuptools (make)
- python-wheel (make)
- python-pytest (check)
- python-pytest-mock (check)
Required by (12)
Sources (5)
Latest Comments
« First ‹ Previous 1 2 3
blinry commented on 2022-09-22 17:39 (UTC)
sin commented on 2022-07-14 15:56 (UTC)
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"
}
FabioLolix commented on 2022-03-23 16:43 (UTC)
FYI tests are failing currently https://github.com/kkroening/ffmpeg-python/issues/636
xiretza commented on 2021-12-15 10:22 (UTC)
Upstream is obviously abandoned, if anyone wants to backport any necessary fixes, feel free to adopt the package - https://github.com/kkroening/ffmpeg-python/pull/330 looks like what's needed for the collections.abc issue, but it doesn't apply cleanly.
getzze commented on 2021-12-14 10:00 (UTC)
A quick fix, add this to the PKGBUILD:
prepare() {
cd "$srcdir/${_pkgname}-${pkgver}"
sed -i -e 's/collections.Iterable/collections.abc.Iterable/g' ffmpeg/_run.py
}
magicgoose commented on 2021-12-13 21:59 (UTC)
this is likely because it's not updated to support Python 3.10
mokkurkalve commented on 2021-12-13 02:02 (UTC)
Building fails in check() - even in clean chroot, like here. I put the output on pastebin: https://pastebin.com/1EeqWMyE
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-pythonpypi/python-ffmpeg - New implementation. Not fully compatible with the old module. May have fewer features.
aur/python-python-ffmpegaur/python-python-ffmpeg-git