Package Details: python-ffmpeg-python 0.2.0-6

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: 14
Popularity: 0.79
First Submitted: 2023-06-17 21:59 (UTC)
Last Updated: 2024-04-16 06:45 (UTC)

Pinned Comments

xiota commented on 2023-06-17 22:09 (UTC) (edited on 2023-06-17 23:13 (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
    • aur/python-ffmpeg-python-git
  • pypi/python-ffmpeg - New implementation. May not be 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 Next › Last »

xeruf commented on 2023-04-27 20:24 (UTC)

maybe that check can be disabled temporarily in the PKGBUILD so not all checks need to be skipped?

xiota commented on 2023-04-07 07:52 (UTC) (edited on 2023-05-03 22:40 (UTC) by xiota)

-

tyrannis.hawk commented on 2023-04-07 07:05 (UTC)

One test is failing:

FAILED ffmpeg/tests/test_ffmpeg.py::test__probe - AssertionError: assert '7.035646' == '7.036000'

herbarium commented on 2023-02-12 10:14 (UTC)

This package's name causes confusion because there's a similar project which is actually called python-ffmpeg. Please rename this package to match the upstream name.

kajlao commented on 2023-01-17 01:18 (UTC)

Compiling fails.

blinry commented on 2022-09-22 17:39 (UTC)

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! :)

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