Package Details: python-av 14.2.0-1

Git Clone URL: https://aur.archlinux.org/python-av.git (read-only, click to copy)
Package Base: python-av
Description: Pythonic bindings for FFmpeg
Upstream URL: https://pyav.basswood-io.com
Licenses: BSD-3-Clause
Submitter: peippo
Maintainer: peippo
Last Packager: peippo
Votes: 6
Popularity: 0.83
First Submitted: 2019-07-04 11:24 (UTC)
Last Updated: 2025-02-25 15:38 (UTC)

Latest Comments

1 2 3 4 Next › Last »

peippo commented on 2025-04-08 09:00 (UTC)

PyAV-14.3.0 needs cython>=3.1 to compile, waiting for it to release before bumping version

peippo commented on 2025-02-25 14:23 (UTC)

Ha, now 14.2.0 got released

micwoj92 commented on 2025-02-25 11:05 (UTC)

Ugh, so there is av and pyav which looks like the same software by same person/people? I was watching pyav pypi package.

https://pypi.org/project/av/
https://pypi.org/project/pyav/
https://github.com/PyAV-Org/PyAV
https://github.com/basswood-io/PyAV

peippo commented on 2025-02-25 10:52 (UTC)

Not sure from where you got the v14.2.1 - on PyPi, on Conda and on GitHub the newest version is 14.1.0

micwoj92 commented on 2025-02-22 19:12 (UTC)

Thanks, I got confused because .pyi files are also used by mypy as stub files.

I opened issue on namcap repo for this: https://gitlab.archlinux.org/pacman/namcap/-/issues/97

peippo commented on 2025-02-21 13:28 (UTC)

pyx are the source code, pyi the compiled cython modules

micwoj92 commented on 2025-02-20 20:07 (UTC) (edited on 2025-02-20 20:09 (UTC) by micwoj92)

You are right, I only checked .py files. In the resulting package the imports are in .pyi files:

usr/lib/python3.13/site-packages/av/sidedata/motionvectors.pyi:import numpy as np
usr/lib/python3.13/site-packages/av/audio/frame.pyi:import numpy as np
usr/lib/python3.13/site-packages/av/video/frame.pyi:import numpy as np
usr/lib/python3.13/site-packages/av/video/frame.pyi:from PIL import Image

Out of curiosity I tried to run Demo from homepage without pillow installed, but then it fails with

Traceback (most recent call last):
  File "<python-input-8>", line 2, in <module>
    frame.to_image().save(f"frame-{index:04d}.jpg")
    ~~~~~~~~~~~~~~^^
  File "av/video/frame.pyx", line 266, in av.video.frame.VideoFrame.to_image
ModuleNotFoundError: No module named 'PIL'

But the av/video/frame.pyx file is nowhere to be found on my filesystem.

peippo commented on 2025-02-20 10:54 (UTC) (edited on 2025-02-20 10:55 (UTC) by peippo)

@micowoj92: I beg to differ, here are two lines of many on which those packages are imported:

https://github.com/PyAV-Org/PyAV/blob/main/av/audio/frame.pyx#L98 https://github.com/PyAV-Org/PyAV/blob/main/av/video/frame.pyx#L279

micwoj92 commented on 2025-02-19 22:25 (UTC)

python-numpy and python-pillow deps are not needed.

peippo commented on 2024-11-11 21:13 (UTC)

Please update to the current version of ffmpeg, then it should build