FFmpeg is a complete, cross-platform solution to record, convert and stream
audio and video. It includes libavcodec - the leading audio/video codec
library.
===> The following configuration options are available for ffmpeg-9.0.2_2,1:
ALSA=off: ALSA audio architecture support
AMR_NB=off: AMR Narrow Band audio support (opencore)
AMR_WB=off: AMR Wide Band audio support (opencore)
AOM=on: AV1 video encoding/decoding via libaom
ARIBB24=off: ARIB text and caption decoding via libaribb24
ASM=on: Use optimized assembly code
ASS=on: Subtitles rendering via libass
BS2B=off: Bauer Stereophonic-to-Binaural filter
CACA=off: libcaca graphics library support
CDIO=off: CDIO support via libcdio
CODEC2=off: Codec 2 audio encoding/decoding via libcodec2
DAV1D=on: AV1 video decoding via libdav1d
DC1394=off: IIDC-1394 grabbing using libdc1394
DEBUG=off: Build with debugging support
DOCS=on: Build and/or install documentation
DRM=on: KMS grabbing using libdrm
DVD=on: Support for DVD
FDK_AAC=off: AAC audio encoding via Fraunhofer FDK
FLITE=off: Voice synthesis support via libflite
FONTCONFIG=on: X11 font configuration support
FREETYPE=on: TrueType font rendering support
FREI0R=on: Frei0r video plugins support
FRIBIDI=off: Bidirectional text support via GNU FriBidi
GME=off: Game Music Emu demuxer
GSM=off: GSM codec support
HARFBUZZ=on: Text shaping via HarfBuzz
ICONV=on: Encoding conversion support via iconv
ILBC=off: Internet Low Bit Rate codec
JACK=off: JACK audio server support
JXL=on: JPEG XL image format via libjxl
KVAZAAR=off: H.265 video codec support via Kvazaar
LADSPA=off: LADSPA audio plugins support
LAME=on: LAME MP3 audio encoder support
LCMS2=on: Little CMS 2.x support
LIBBLURAY=on: Blu-ray discs support via libbluray
LIBPLACEBO=on: GPU filters from libplacebo
LIBRSVG2=on: SVG vector graphics support via librsvg2
LIBXML2=on: XML parser support via libxml2
LTO=on: Use Link-Time Optimization
LV2=off: LV2 audio filtering
MFX=off: Intel MediaSDK (aka Quick Sync Video)
MODPLUG=off: ModPlug decoder support
MYSOFA=off: SOFAlizer binaural filter
NETWORK=on: Networking support
NVENC=on: NVIDIA decoder/encoder with CUDA support
OPENAL=off: Audio support via OpenAL
OPENCL=off: Heterogeneous computing via OpenCL
OPENGL=off: 2D/3D rendering support via OpenGL
OPENH264=off: H.264 video codec support via OpenH264
OPENJPEG=off: JPEG 2000 support via OpenJPEG
OPENMPT=off: Decoding tracked files via libopenmpt
OPTIMIZED_CFLAGS=on: Use extra compiler optimizations
OPUS=on: Opus audio codec support
POCKETSPHINX=off: Automatic Speech Recognition via PocketSphinx
PULSEAUDIO=off: PulseAudio sound server support
RABBITMQ=off: AMQP 0-9-1 protocol via RabbitMQ
RAV1E=off: AV1 encoding via librav1e
RIST=off: Reliable Internet Stream Transport protocol via librist
RTCPU=on: Detect CPU capabilities at runtime
RUBBERBAND=off: Time-stretching and pitch-shifting with librubberband
SDL=off: Simple Direct Media Layer support
SMB=off: SMB network protocol support
SNAPPY=off: Snappy compression library support
SNDIO=off: Sndio audio support
SOXR=off: SoX resampler support via libsoxr
SPEEX=off: Speex audio format support
SRT=on: Haivision SRT protocol via libsrt
SSH=off: SSH protocol support
SVTAV1=on: AV1 encoding via SVT-AV1
TENSORFLOW=off: TensorFlow as a DNN module backend
TESSERACT=off: Optical Character Recognition via Tesseract
THEORA=off: Encoding support for theora via libtheora
TWOLAME=off: TwoLAME MP2 audio encoder support
V4L=on: Video 4 Linux support
VAAPI=on: VAAPI (GPU video acceleration) support
VAPOURSYNTH=off: VapourSynth demuxer
VDPAU=on: VDPAU (GPU video acceleration) support
VIDSTAB=off: Video stabilization filter
VMAF=on: VMAF filter via libvmaf
VORBIS=on: Ogg Vorbis audio codec support
VO_AMRWBENC=off: AMR Wide Band encoding via vo-amrwbenc
VPL=off: Intel libvpl (aka Quick Sync Video)
VPX=on: VP8/VP9 video codec support
VULKAN=on: Vulkan filters
VVENC=off: H.266/VVC encoding support via VVenC
WEBP=on: WebP image format support
X264=on: H.264 video codec support via x264
X265=on: H.265 video codec support via x265
XCB=on: X11 grabbing using XCB
XVID=off: Encoding support for MPEG-4 ASP via libxvid
XVIDEO=off: X11 Video extension library support
ZIMG=off: "z" library video scaling filter
ZMQ=off: Message passing via libzmq4
ZVBI=off: Teletext support via libzvbi
====> Licensing options
GPL3=on: Allow (L)GPL version 3 code(cs)
NONFREE=off: Allow use of nonfree code
====> RTMP(T)E protocol support: you can only select none or one of them
GCRYPT=off: Use GNU crypt library instead of OpenSSL
GMP=on: GMP (multiple precision arithmetic) support
====> SSL protocol support: you can only select none or one of them
GNUTLS=on: SSL/TLS support via GnuTLS
OPENSSL=off: SSL/TLS support via OpenSSL
===> Use 'make config' to modify these settings
port moved here from multimedia/recmpeg on 2025-01-01 REASON: Has expired: Depends on deprecated and obsolete library libfame, consider migrating to multimedia/ffmpeg
port moved here from multimedia/dumpmpeg on 2025-01-01 REASON: Has expired: Obsolete utility, consider using multimedia/ffmpeg
port moved here from multimedia/libav on 2021-05-31 REASON: Has expired: Unmaintained upstream, use multimedia/ffmpeg instead
Number of commits found: 653 (showing only 100 on this page) #
multimedia/ffmpeg: Update to 9.0.1
Support for (lib)celt, (lib)glslang and (lib)shaderc is removed upstream
Remove support for (lib)lensfun as it doesn't work with the old release
we have in tree
Changelog:
https://code.ffmpeg.org/FFmpeg/FFmpeg/src/tag/n9.0.1/Changelog
PR: 297355
Exp-run by: antoine
multimedia:{ffmpeg,handbrake}: Switch dependency from onevpl to libvpl
onevpl has been superceded by libvpl upstream. So switch dependencies
of dependent ports.
PR: 293561
Reported by: Yuichiro NAITO <[email protected]>
Approved by: portmgr (blanket; switch deprecated dependencies)
multimedia/ffmpeg: add a configure patch
When pushing ffmpeg 8.0.1 I forgot the to git add the configure patch
to fix detection of support for symbol versionning
PR: 291868
multimedia/ffmpeg: update to 8.0.1
- fix XCB option [1]
- add a nox11 flavor [2]
- detect breakage in symbol versionning detection [3]
- incorporate a chromium patch to readd av_stream_get_first_dts()
necessary to unbundle ffmpeg in chromium distributions like
qt*-webengine. as of today chromium devs has not found a way to
avoid using this function so they keep readding this function in
their bundled version of ffmpeg.
PR: 290246 [1]
PR: 278705 [2]
PR: 291868 [3]
*/*: Bump multimedia/openh264 consumers after dc94e01
net/freerdp{,3} have been already bumped in e447cd0, so not being bumped
again.
Bumped by the following one-liner:
$ git grep -l libopenh264 | \
grep '^.*/.*/Makefile$'| \
xargs -t -n1 portedit bump-revision -i
Approved by: portmgr (blanket)
security/mbedtls: Move to security/mbedtls2
The port has expired but isn't removed yet because there are still too
many consumers. Rename it because the name "security/mbedtls" makes it
look like it's the default version.
PR: 283792
multimedia/ffmpeg: enable LTO by default on aarch64 and amd64
6% faster decode at least with HEVC and MPEG-2 (HDTV) + -vf bwdif
PR: 271798
Inspired by: Apline, Arch, Chimera, CRUX, Fedora, OpenMandriva, Solus
Reviewed by: olivier
graphics/libjxl: force rebuild consumers after 4c1f4b3f46bc
$ ffmpeg
ld-elf.so.1: Shared object "libjxl.so.0.9" not found, required by
"libavcodec.so.60"
Reported by: vvd
multimedia/ffmpeg: swap _IMPLIES for VULKAN and GLSLANG
- Vulkan Video doesn't need either glslang or shaderc
- For consistency with graphics/libplacebo
PR: 276469
Suggested by: vvd
multimedia/x265: force rebuild consumers after 645419c8e465
$ ffmpeg
ld-elf.so.1: Shared object "libx265.so.192" not found, required by
"libavcodec.so.60"
PR: 274526
Reported by: vvd (on dev-commits-ports-main@ list)
Reported by: Kevin Oberman (on multimedia@ list)
multimedia/ffmpeg*: enable support for the .data.rel.ro section
enable support for the .data.rel.ro section because the arm64
assembly code in ffmpeg depends on it in case of -pie and -fPIC
Reviewed by: jbeich
Differential Revision: https://reviews.freebsd.org/D41609
multimedia/ffmpeg: unbreak VULKAN=off after 685e477b807c
ERROR: libplacebo >= 4.192.0 not found using pkg-config
/usr/local/include/libplacebo/vulkan.h:21:10: fatal error: 'vulkan/vulkan.h'
file not found
#include <vulkan/vulkan.h>
^~~~~~~~~~~~~~~~~
PR: 261302
Reported by: Matthew Wener
multimedia/ffmpeg: unbreak SVTVP9=on after 685e477b807c
===> Applying distribution patches for ffmpeg-6.0,1
1 out of 1 hunks failed--saving rejects to libavcodec/allcodecs.c.rej
1 out of 3 hunks failed--saving rejects to libavformat/dashenc.c.rej
3 out of 9 hunks failed--saving rejects to libavformat/matroskaenc.c.rej
===> FAILED Applying distribution patch
master-0001-Add-ability-for-ffmpeg-to-run-svt-vp9.patch with -p1
PR: 261302
multimedia/ffmpeg: unbreak SVTHEVC=on after 685e477b807c
===> Applying distribution patches for ffmpeg-6.0,1
3 out of 4 hunks failed--saving rejects to configure.rej
1 out of 1 hunks failed--saving rejects to libavcodec/allcodecs.c.rej
===> FAILED Applying distribution patch
0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch with -p1
PR: 261302
Reported by: VVD
multimedia/ffmpeg: enable NVENC by default
- NVIDIA GPUs are popular on FreeBSD (due to direct vendor support)
- No extra dependencies for package-only users
- No changes at runtime unless explicitly requested
PR: 264027
multimedia/ffmpeg: fix build with SDL option enabled
Since this is a patch that has already applied to the ffmpeg upstream,
we should either apply this patch or upgrade to an fixed upstream
version, see:
https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/e5163b1d3438
This issue has existed for some time and despite the port being
upgraded in between, therefore I'll commit the patch under the
"just fix it" exception granted by portmgr, it can be removed by
the maintainers when ffmpeg is upgraded to a fixed version.
PR: 266299
Reported by: [email protected] (Martin Neubauer)
Approved by: portmgr (implicit)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
multimedia/ffmpeg: define option MFX only on i386/amd64 (+)
Intel Media SDK available only for i386 and amd64 intel architectures,
so adjust options list to not include MFX on any other arches
Approved by: portmgr blanket
multimedia/ffmpeg: Update default OPTIONS for THEORA, XVID, WEBP
Details:
- Remove THEORA and XVID from default OPTIONS:
Both formats can be decoded using ffmpeg's internal decoders. For
encoding, both formats are superseded for almost all practical
purposes by H264,H265,AV1,etc.
- Modify _DESC for THEORA and XVID to make it more clear that this is
only required if someone wants to use those libs for encoding.
- Add WEBP (ubiquitous image format) to default OPTIONS.
PR: 261752
Reported by: jbeich