Package Details: python-ffmpeg-progress-yield 0.7.8-1

Git Clone URL: https://aur.archlinux.org/python-ffmpeg-progress-yield.git (read-only, click to copy)
Package Base: python-ffmpeg-progress-yield
Description: Run an ffmpeg command with its progress yielded.
Upstream URL: https://github.com/slhck/ffmpeg-progress-yield
Licenses: MIT
Submitter: ruahcra
Maintainer: ruahcra (sian1468)
Last Packager: sian1468
Votes: 2
Popularity: 0.002783
First Submitted: 2021-04-29 09:51 (UTC)
Last Updated: 2023-06-02 06:59 (UTC)

Latest Comments

martin-de commented on 2023-05-16 22:26 (UTC)

For me it works again now after the latest changes; does no longer loop while resolving dependencies for a "jack"-provider.

eclairevoyant commented on 2023-05-16 20:59 (UTC) (edited on 2023-05-16 21:04 (UTC) by eclairevoyant)

Why was ffmpeg moved to checkdepends? Isn't the whole point of this to run ffmpeg commands?

I don't see anything clear from the previous comments, and I have never had issues with makechrootpkg to build this either.

sian1468 commented on 2023-05-16 05:16 (UTC)

@martin-de sorry for late reply.

  1. namcap can make some false positive for python program/module. [1]
  2. As program that have dependency to this python module already have ffmpeg as dependency so I will move ffmpeg to check dependency for avoid problem in some AUR helper/ABS helper.

[1] https://wiki.archlinux.org/title/Namcap#Dependencies

martin-de commented on 2023-05-10 08:33 (UTC) (edited on 2023-05-10 08:40 (UTC) by martin-de)

I'm sorry to say, but there are still problems.

This package is required as a dependency for your "ffmpeg-normalize" package. I use this command line when building "ffmpeg-normalize".

sudo makechrootpkg -cnr $CHROOT -I python-ffmpeg-progress-yield-0.7.4-1-any.pkg.tar.zst

which installs the dependent package. This usually works, but now I'm getting the error

loading packages...
resolving dependencies...
:: There are 2 providers available for jack:
:: Repository extra
   1) jack2  2) pipewire-jack

Enter a number (default=1): error: invalid number: y

Enter a number (default=1): error: invalid number: y

Enter a number (default=1): error: invalid number: y

It's an endless loop that I can only break off manually. As I see, the choice for the package is answered incorrectly, with 'y' instead of a digit or a simple <CR>; but I don't know why.

If I move the 'ffmpeg' package from the depends array to the makedepends array following my recommendation from the last comment, it works again:

==> Installing missing dependencies...
resolving dependencies...
:: There are 2 providers available for jack:
:: Repository extra
   1) jack2  2) pipewire-jack

Enter a number (default=1): 
looking for conflicting packages...

I cannot explain why. Following the 'namcap' analysis, the 'ffmpeg' package (and also 'python-colorama') are not dependent at runtime, so they could remain in the makedepends array.

Please try and see if you get the same results.

sian1468 commented on 2023-05-07 10:25 (UTC)

@martin-de Fixed, thank you.

martin-de commented on 2023-05-07 07:39 (UTC) (edited on 2023-05-07 07:40 (UTC) by martin-de)

(1) Build fails during test due to missing dependency of 'ffmpeg'.

(2) 'python-setuptools' should be moved from makedepends- to the depends-array since it's needed by 'usr/bin/ffmpeg-progress-yield'.