BSD Ports

multimedia/x264 0.165.3223_1 FreeBSD

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

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
fd826f45f6
License
GPLv2
Categories
multimedia
Package size
66.1 KiB, 171.2 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/x2640.165.3223_1
OpenBSDmultimedia/x26420250909
NetBSDmultimedia/x26420250608
DragonFlymultimedia/x2640.164.3095_2
MidnightBSDmultimedia/x2640.164.3095_2

Install

Binary package:

pkg install x264

From the ports tree:

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

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

RUN_DEPENDS=	x264>0:multimedia/x264

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_1-0.164.3095_2-
FreeBSD:14:quarterly0.165.3223_10.165.3223_1n/a0.164.3095_2-
FreeBSD:15:latest0.165.3223_10.165.3223_1n/a0.164.3095_20.164.3095_2
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

As this port's Makefile names them.

Library 1

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

Build dependencies 69
Run dependencies 66
Required by 1

Configuration

Options name: multimedia_x264

OptionDefaultDescription
BASHonInstall programmable completions for Bash
FFMSonFFmpeg Source input support
LAVFonlibav* format input support (requires FFmpeg)
LSMASHonL-SMASH library support
SWSCALEonResize video filter
USES
meson pkgconfig python:build shebangfix
Service scripts
none

Files

distinfo 1
FileSizeSHA256
meson-ports-x264-00852f599572d10798b2dafd2c5286213d0ce795_GL0.tar.gz1.055671e+06b50a394f63fa9d59bb3cb2344444d91ab5d2571a83ee2a17a550f6346a6b3612

Commit history 3

DateCommitCreditsLog message
fd826f45f6 Daniel Engberg multimedia/x264: Fix detection of cpu cores
Partially revert changes in upstream commit da14df5535fd46776fb1c9da3130973295c87aca References: https://code.videolan.org/videolan/x264/-/commit/da14df5535fd46776fb1c9da3130973295c87aca
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)