BSD Ports

multimedia/libx264 0.165.3223_1 FreeBSD

H.264/MPEG-4 AVC Video Encoding (Library)

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
2212974bcc
License
GPLv2
Categories
multimedia
Package size
576.9 KiB, 1671.8 KiB installed

Description

x264 is a free library for encoding H.264/AVC (aka MPEG-4 Part 10) video streams.

Encoder features * CAVLC/CABAC * Multi-references * Intra: all modes (4x4 and 16x16 with all predictions) * Inter P: all partitions (from 16x16 down to 4x4) * Inter B: partitions from 16x16 down to 8x8 (including SKIP/DIRECT) * Ratecontrol: constant quantizer, constant bitrate, or multipass ABR * Scene cut detection

In the other systems

SystemPortVersion
FreeBSDmultimedia/libx2640.165.3223_1
DragonFlymultimedia/libx2640.164.3095
MidnightBSDmultimedia/libx264

Install

Binary package:

pkg install libx264

From the ports tree:

cd /usr/ports/multimedia/libx264/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	libx264>0:multimedia/libx264
LIB_DEPENDS=	libx264.so:multimedia/libx264

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.165.3223_10.165.3223_10.164.30950.164.30950.165.3223_1
FreeBSD:14:quarterly0.165.3223_10.165.3223_1n/a0.164.30950.165.3223_1
FreeBSD:15:latest0.165.3223_10.165.3223_1n/a0.164.30950.164.3095
FreeBSD:15:quarterly0.165.3223_10.165.3223_1n/an/an/a
FreeBSD:16:latest0.165.3223_10.165.3223_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 10
Required by 1325

The first 100 are listed.

Configuration

No options to configure.

Service scripts
none

Files

pkg-plist 5
  • include/x264.h
  • include/x264_config.h
  • lib/libx264.so
  • lib/libx264.so.
  • libdata/pkgconfig/x264.pc

Commit history 2

DateCommitCreditsLog message
2212974bcc Piotr Kubaj multimedia/x264: fix build on powerpc64*
1. Properly define macros to fix build. 2. Enable VSX on powerpc64le and on powerpc64 if it's available.
c4b338b45f Daniel Engberg multimedia/*x264: Update to 0.165.3223 and transfer maintainership
* Switch to GStreamer's meson branch as it simplifies builds and is faster * Transfer maintainership to multimedia * Remove DEBUG, GPAC, OPENCL and PGO options By switching to Meson we can utilize the framework for debug builds GPAC is broken upstream OPENCL (lookahead) has very little advantage now that core count for CPUs are much higher than a decade ago and with x264's limited parallelization. It's also much simplier than x264's other code paths. PGO pulls in GCC with no to little benefit * Add LTO and OPTIMIZED_CFLAGS options Available only on aarch64 and amd64, enabled by default Reviewed by: bofh (previous iteration and discussed on Matrix)