Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions README.rst → README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
pyav-ffmpeg
===========
# pyav-ffmpeg

This project provides binary builds of FFmpeg and its dependencies for `PyAV`_.
These builds are used in order to provide binary wheels of PyAV, allowing
users to easily install PyAV without perform error-prone compilations.
This project provides binary builds of FFmpeg and its dependencies for [PyAV](https://github.com/PyAV-Org/PyAV). These builds are used in order to provide binary wheels of PyAV, allowing users to easily install PyAV without perform error-prone compilations.

The builds are provided for several platforms:

Expand All @@ -16,7 +13,7 @@ Features

Currently FFmpeg 8.1.2 is built with the following packages enabled for all platforms:

- lame 3.100.1 (basswood-io/lamer)
- [lamer](https://github.com/basswood-io/lamer) 3.101.0
- opus 1.6.1
- dav1d 1.5.3
- libsvtav1 4.1.0
Expand All @@ -33,4 +30,3 @@ The following additional packages are also enabled on Linux:
- nettle 3.10.2
- unistring 1.4.2

.. _PyAV: https://github.com/PyAV-Org/PyAV
4 changes: 2 additions & 2 deletions scripts/cibuildpkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def _build_with_make(self, package: Package, for_builder: bool) -> None:
def _build_lame(self, package: Package, for_builder: bool) -> None:
# basswood-io/lamer builds libmp3lame with a plain Makefile. Build only
# the static encoder library (the `lib` target, not the ncurses CLI
# frontend or mpglib decoder) as position-independent code -- it is
# frontend) as position-independent code -- it is
# linked into the shared libavcodec -- then install it where FFmpeg's
# configure looks (-lmp3lame, <lame/lame.h>).
package_source_path = os.path.join(
Expand All @@ -175,7 +175,7 @@ def _build_lame(self, package: Package, for_builder: bool) -> None:
env = self._environment(for_builder=for_builder)
prefix = self._prefix(for_builder=for_builder)

make_vars = ["DECODER=0"]
make_vars: list[str] = []
if platform.system() == "Windows":
# The CLANGARM64 toolchain ships llvm-ar/llvm-ranlib, not ar/ranlib.
if platform.machine().lower() in {"arm64", "aarch64"}:
Expand Down
6 changes: 3 additions & 3 deletions scripts/pkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ def __lt__(self, other):
codec_group = [
Package(
name="lamer",
source_url="https://github.com/basswood-io/lamer/archive/refs/tags/v3.100.1.tar.gz",
source_filename="lamer-3.100.1.tar.gz",
sha256="943eac863ff803b5a698cec0bdc483ce9081b1e74ca8978e94daafb44522c946",
source_url="https://github.com/basswood-io/lamer/archive/refs/tags/v3.101.0.tar.gz",
source_filename="lamer-3.101.0.tar.gz",
sha256="81839b16fdc401e20b73389d05f32a7656008f43bcb960feff290d6f08fc109e",
build_system="make",
),
Package(
Expand Down
Loading