Package Details: python-ffmpeg-python 0.2.0-7

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.37
First Submitted: 2023-06-17 21:59 (UTC)
Last Updated: 2024-12-24 18:23 (UTC)

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

Latest Comments

« First ‹ Previous 1 2 3

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