Package Details: python-av 13.1.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: 2
Popularity: 0.000000
First Submitted: 2019-07-04 11:24 (UTC)
Last Updated: 2024-10-07 11:19 (UTC)

Latest Comments

1 2 3 Next › Last »

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

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

carlosal1015 commented on 2024-11-11 18:23 (UTC)

src/av/container/pyio.c:3339:157: error: passing argument 6 of ‘avio_alloc_context’ from incompatible pointer type [-Wincompatible-pointer-types]
 3339 |   __pyx_v_self->iocontext = avio_alloc_context(__pyx_v_self->buffer, __pyx_t_9, __pyx_t_10, ((void *)__pyx_v_self), __pyx_f_2av_9container_4pyio_pyio_read, __pyx_f_2av_9container_4pyio_pyio_write, __pyx_v_seek_func);
      |                                                                                                                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                                                                                                             |
      |                                                                                                                                                             int (*)(void *, const uint8_t *, int) {aka int (*)(void *, const unsigned char *, int)}
In file included from /usr/include/ffmpeg6.1/libavformat/avformat.h:319,
                 from /usr/include/ffmpeg6.1/libavdevice/avdevice.h:57,
                 from src/av/container/pyio.c:1300:
/usr/include/ffmpeg6.1/libavformat/avio.h:420:25: note: expected ‘int (*)(void *, uint8_t *, int)’ {aka ‘int (*)(void *, unsigned char *, int)’} but argument is of type ‘int (*)(void *, const uint8_t *, int)’ {aka ‘int (*)(void *, const unsigned char *, int)’}
  420 |                   int (*write_packet)(void *opaque, uint8_t *buf, int buf_size),
      |                   ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: command '/usr/bin/gcc' failed with exit code 1
==> ERROR: A failure occurred in build().
    Aborting...

yu17 commented on 2023-11-16 22:17 (UTC)

While ffmpeg4.4 was removed from the dependencies, export PKG_CONFIG_PATH="/usr/lib/ffmpeg4.4/pkgconfig" was still there! Please remove that, too.

That said, it seems that this package currently only build with ffmpeg 6.0. So building with ffmpeg-full as well as any other git version won't work either.

oysstu commented on 2023-11-08 10:10 (UTC)

Ah, brainfart. Saw the pinned comment and didn't check the dependency list. Great =)

peippo commented on 2023-11-08 10:08 (UTC) (edited on 2023-11-08 10:09 (UTC) by peippo)

@oysstu: indeed, also this PKGBUILD stopped using ffmpeg5, I’ll remove the cython0 still

oysstu commented on 2023-11-08 09:59 (UTC) (edited on 2023-11-08 10:03 (UTC) by oysstu)

Upstream issue for ffmpeg 6.0 seems to be resolved with v11.0.0. It also seems like it now builds with Cython 3, so the cython0 legacy package can be dropped.

peippo commented on 2023-03-18 17:53 (UTC)

Thanks for reporting this here and upstream, @Cebtenzzre! I’ll modify the PKGBUILD to build against fmpeg4.4, again

Cebtenzzre commented on 2023-03-17 20:43 (UTC)

This does not build against latest FFmpeg (6.0) - upstream issue here. Still builds fine against ffmpeg4.4.

peippo commented on 2022-03-13 11:05 (UTC)

@plater: thanks! Added it in 9.0.1-1, now builds in chroots.

piater commented on 2022-03-12 08:59 (UTC)

This fails to build if ffmpeg is not installed, e.g. when building in a clean chroot. The fix is to add export PKG_CONFIG_PATH=/usr/lib/ffmpeg4.4/pkgconfig to build() {}.