Package Details: python-pyffms2 0.5-1

Git Clone URL: https://aur.archlinux.org/python-pyffms2.git (read-only, click to copy)
Package Base: python-pyffms2
Description: pyffms2 – Python bindings for FFMS2
Upstream URL: https://github.com/bubblesub/pyffms2/
Licenses: LGPL-3.0-or-later
Submitter: Vekhir
Maintainer: Vekhir
Last Packager: Vekhir
Votes: 0
Popularity: 0.000000
First Submitted: 2023-01-17 04:23 (UTC)
Last Updated: 2025-09-12 07:47 (UTC)

Latest Comments

Vekhir commented on 2025-09-12 07:49 (UTC) (edited on 2025-09-12 07:59 (UTC) by Vekhir)

Updated to 0.5. The test suite now uses pytest.

The fix for the SyntaxWarning is here: https://github.com/bubblesub/pyffms2/pull/38

tsj commented on 2025-09-12 01:15 (UTC)

Had to do the following to compile.

  1. Version bump to 0.5
  2. Add to build function: sed -i -e 's/re.match(/re.match(r/' ffms2/get_library.py
  3. Comment out check function

Vekhir commented on 2024-09-07 08:35 (UTC)

@micwoj92 Please raise this issue upstream first.

micwoj92 commented on 2024-09-05 19:31 (UTC)

Getting different error in check now:

==> Starting check()... /build/python-pyffms2/src/pyffms2-0.4.5.5/ffms2/get_library.py:63: SyntaxWarning: invalid escape sequence '\d'   return int(re.match("^(\d+)", platform.architecture()[0]).group(1)) F ====================================================================== FAIL: test_sample_video (ffms2.test.TestFFMS2.test_sample_video) ---------------------------------------------------------------------- Traceback (most recent call last):   File "/build/python-pyffms2/src/pyffms2-0.4.5.5/ffms2/test.py", line 44, in test_sample_video     self.assertEqual(video_source.properties.RFFNumerator, 1) AssertionError: 1000 != 1  ---------------------------------------------------------------------- Ran 1 test in 0.026s  FAILED (failures=1) ==> ERROR: A failure occurred in check().     Aborting... 

Vekhir commented on 2023-07-18 15:37 (UTC)

Looks like an issue with outdated packages. Are all your packages up-to-date? Also, please build packages within a clean chroot, I wasn't able to reproduce the issue

sbrl commented on 2023-07-18 15:20 (UTC) (edited on 2023-07-18 15:20 (UTC) by sbrl)

This package fails to build for me:

==> Starting check()... E ====================================================================== ERROR: ffms2 (unittest.loader._FailedTest.ffms2) ---------------------------------------------------------------------- ImportError: Failed to import test module: ffms2 Traceback (most recent call last):   File "/usr/lib/python3.11/unittest/loader.py", line 440, in _find_test_path     package = self._get_module_from_name(name)               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3.11/unittest/loader.py", line 350, in _get_module_from_name     __import__(name)   File "/tmp/trizen-sbrl/python-pyffms2/src/pyffms2-0.4.5.5/ffms2/__init__.py", line 33, in <module>     from .libffms2 import *   File "/tmp/trizen-sbrl/python-pyffms2/src/pyffms2-0.4.5.5/ffms2/libffms2.py", line 9, in <module>     lib = get_library(           ^^^^^^^^^^^^   File "/tmp/trizen-sbrl/python-pyffms2/src/pyffms2-0.4.5.5/ffms2/get_library.py", line 45, in get_library     return load_library(            ^^^^^^^^^^^^^   File "/tmp/trizen-sbrl/python-pyffms2/src/pyffms2-0.4.5.5/ffms2/get_library.py", line 167, in load_library     return ctypes.CDLL(            ^^^^^^^^^^^^   File "/usr/lib/python3.11/ctypes/__init__.py", line 376, in __init__     self._handle = _dlopen(self._name, mode)                    ^^^^^^^^^^^^^^^^^^^^^^^^^ OSError: libavformat.so.59: cannot open shared object file: No such file or directory ---------------------------------------------------------------------- Ran 1 test in 0.000s  FAILED (errors=1) ==> ERROR: A failure occurred in check().     Aborting... :: Unable to build python-pyffms2 - makepkg exited with code: 4