BSD Ports

multimedia/ffmpeg4 4.4.4_5 MidnightBSD

Realtime audio/video encoder/converter and streaming server (legacy 4.* series)

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
a05b377b53
License
gpl2+, lgpl2.1+
Categories
multimedia, audio, net

Description

FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video. It includes libavcodec - the leading audio/video codec library.

In the other systems

SystemPortVersion
MidnightBSDmultimedia/ffmpeg44.4.4_5
FreeBSDmultimedia/ffmpeg44.4.8_2
NetBSDmultimedia/ffmpeg44.4.8nb3
DragonFlymultimedia/ffmpeg44.4.4_18
HardenedBSDmultimedia/ffmpeg44.4.8
GhostBSDmultimedia/ffmpeg44.4.8

Install

Binary package:

mport install ffmpeg4

From mports:

cd /usr/mports/multimedia/ffmpeg4 && make install clean

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

RUN_DEPENDS=	ffmpeg4>0:multimedia/ffmpeg4
LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg4

Dependencies

Configuration

Options name: multimedia_ffmpeg

OptionDefaultDescription
ALSAoff
AMR_NBoff
AMR_WBoff
AOMonAV1 video encoding/decoding via libaom
ARIBB24offARIB text and caption decoding via libaribb24
ASMon
ASSonSubtitles rendering via libass
BS2BoffBauer Stereophonic-to-Binaural filter
CACAoff
CDIOoff
CODEC2offCodec 2 audio encoding/decoding via libcodec2
DAV1DonAV1 video decoding via libdav1d
DAVS2offAVS2 decoding via libdavs2
DC1394offIIDC-1394 grabbing using libdc1394
DEBUGoff
DOCSoff
DRMonKMS grabbing using libdrm
FDK_AACoffAAC audio encoding via Fraunhofer FDK
FLITEoffVoice synthesis support via libflite
FONTCONFIGon
FREETYPEon
FREI0Ron
FRIBIDIoff
GCRYPToff
GLSLANGoffGLSL->SPIRV compilation via libglslang
GMEoffGame Music Emu demuxer
GMPon
GNUTLSon
GPL3onAllow (L)GPL version 3 code(cs)
GSMoff
ICONVon
ILBCoffInternet Low Bit Rate codec
JACKoff
KLVANCoffKernel Labs VANC processing
KVAZAARoffH.265 video codec support via Kvazaar
LADSPAoff
LAMEon
LENSFUNoff
LIBBLURAYoff
LIBRSVG2off
LIBRTMPoffRTMP(T)E protocol support via librtmp
LIBXML2on
LTOoff
LV2offLV2 audio filtering
MBEDTLSoff
MODPLUGoff
MYSOFAoffSOFAlizer binaural filter
NETWORKonNetworking support
NONFREEoffAllow use of nonfree code
NVENCoffNVIDIA decoder/encoder with CUDA support
OPENALoff
OPENCLoff
OPENGLoff
OPENH264offH.264 video codec support via OpenH264
OPENJPEGoff
OPENMPToffDecoding tracked files via libopenmpt
OPENSSLoff
OPENVINOoffOpenVINO as a DNN module backend for DNN based filters like dnn_processing
OPTIMIZED_CFLAGSon
OPUSon
POCKETSPHINXoffAutomatic Speech Recognition via PocketSphinx
PULSEAUDIOoff
RABBITMQoffAMQP 0-9-1 protocol via RabbitMQ
RAV1EoffAV1 encoding via librav1e
RISToffReliable Internet Stream Transport protocol via librist
RTCPUonDetect CPU capabilities at runtime
RUBBERBANDoffTime-stretching and pitch-shifting with librubberband
SDLoff
SMBoff
SNAPPYoff
SNDIOoff
SOXRoff
SPEEXoff
SRToffHaivision SRT protocol via libsrt
SSHoff
SVTAV1onAV1 encoding via SVT-AV1
SVTHEVCoffHEVC encoding via SVT-HEVC
SVTVP9offVP9 encoding via SVT-VP9
TENSORFLOWoffTensorFlow as a DNN module backend for DNN based filters like sr
TESSERACToffOptical Character Recognition via Tesseract
THEORAoffEncoding support for theora via libtheora
TWOLAMEoff
UAVS3DoffAVS3 decoding via libuavs3d
V4Lon
VAAPIon
VAPOURSYNTHoffVapourSynth demuxer
VDPAUon
VIDSTABoffVideo stabilization filter
VMAFonVMAF filter via libvmaf
VORBISon
VO_AMRWBENCoff
VPXon
VULKANoffVulkan filters
WEBPon
X264on
X265on
XAVS2offAVS2 encoding via libxavs2
XCBonX11 grabbing using XCB
XVIDoffEncoding support for MPEG-4 ASP via libxvid
XVIDEOoff
ZIMGoff"z" library video scaling filter
ZMQoffMessage passing via libzmq4
ZVBIoffTeletext support via libzvbi
USES
compiler:c11 cpe gmake localbase:ldflags perl5 pkgconfig shebangfix tar:xz
Service scripts
none

Files

Manual pages 22
  • ffmpeg(1)
  • ffmpeg-all(1)
  • ffmpeg-bitstream-filters(1)
  • ffmpeg-codecs(1)
  • ffmpeg-devices(1)
  • ffmpeg-filters(1)
  • ffmpeg-formats(1)
  • ffmpeg-protocols(1)
  • ffmpeg-resampler(1)
  • ffmpeg-scaler(1)
  • ffmpeg-utils(1)
  • ffplay(1)
  • ffplay-all(1)
  • ffprobe(1)
  • ffprobe-all(1)
  • libavcodec(3)
  • libavdevice(3)
  • libavfilter(3)
  • libavformat(3)
  • libavutil(3)
  • libswresample(3)
  • libswscale(3)
pkg-plist 222
  • bin/ffmpeg
  • bin/ffplay
  • bin/ffprobe
  • include/libavcodec/ac3_parser.h
  • include/libavcodec/adts_parser.h
  • include/libavcodec/avcodec.h
  • include/libavcodec/avdct.h
  • include/libavcodec/avfft.h
  • include/libavcodec/bsf.h
  • include/libavcodec/codec.h
  • include/libavcodec/codec_desc.h
  • include/libavcodec/codec_id.h
  • include/libavcodec/codec_par.h
  • include/libavcodec/d3d11va.h
  • include/libavcodec/dirac.h
  • include/libavcodec/dv_profile.h
  • include/libavcodec/dxva2.h
  • include/libavcodec/jni.h
  • include/libavcodec/mediacodec.h
  • include/libavcodec/packet.h
  • include/libavcodec/qsv.h
  • include/libavcodec/vaapi.h
  • include/libavcodec/vdpau.h
  • include/libavcodec/version.h
  • include/libavcodec/videotoolbox.h
  • include/libavcodec/vorbis_parser.h
  • include/libavcodec/xvmc.h
  • include/libavdevice/avdevice.h
  • include/libavdevice/version.h
  • include/libavfilter/avfilter.h
  • include/libavfilter/buffersink.h
  • include/libavfilter/buffersrc.h
  • include/libavfilter/version.h
  • include/libavformat/avformat.h
  • include/libavformat/avio.h
  • include/libavformat/version.h
  • include/libavresample/avresample.h
  • include/libavresample/version.h
  • include/libavutil/adler32.h
  • include/libavutil/aes.h
  • include/libavutil/aes_ctr.h
  • include/libavutil/attributes.h
  • include/libavutil/audio_fifo.h
  • include/libavutil/avassert.h
  • include/libavutil/avconfig.h
  • include/libavutil/avstring.h
  • include/libavutil/avutil.h
  • include/libavutil/base64.h
  • include/libavutil/blowfish.h
  • include/libavutil/bprint.h
  • include/libavutil/bswap.h
  • include/libavutil/buffer.h
  • include/libavutil/camellia.h
  • include/libavutil/cast5.h
  • include/libavutil/channel_layout.h
  • include/libavutil/common.h
  • include/libavutil/cpu.h
  • include/libavutil/crc.h
  • include/libavutil/des.h
  • include/libavutil/dict.h
  • include/libavutil/display.h
  • include/libavutil/dovi_meta.h
  • include/libavutil/downmix_info.h
  • include/libavutil/encryption_info.h
  • include/libavutil/error.h
  • include/libavutil/eval.h
  • include/libavutil/ffversion.h
  • include/libavutil/fifo.h
  • include/libavutil/file.h
  • include/libavutil/film_grain_params.h
  • include/libavutil/frame.h
  • include/libavutil/hash.h
  • include/libavutil/hdr_dynamic_metadata.h
  • include/libavutil/hmac.h
  • include/libavutil/hwcontext.h
  • include/libavutil/hwcontext_cuda.h
  • include/libavutil/hwcontext_d3d11va.h
  • include/libavutil/hwcontext_drm.h
  • include/libavutil/hwcontext_dxva2.h
  • include/libavutil/hwcontext_mediacodec.h
  • include/libavutil/hwcontext_opencl.h
  • include/libavutil/hwcontext_qsv.h
  • include/libavutil/hwcontext_vaapi.h
  • include/libavutil/hwcontext_vdpau.h
  • include/libavutil/hwcontext_videotoolbox.h
  • include/libavutil/hwcontext_vulkan.h
  • include/libavutil/imgutils.h
  • include/libavutil/intfloat.h
  • include/libavutil/intreadwrite.h
  • include/libavutil/lfg.h
  • include/libavutil/log.h
  • include/libavutil/lzo.h
  • include/libavutil/macros.h
  • include/libavutil/mastering_display_metadata.h
  • include/libavutil/mathematics.h
  • include/libavutil/md5.h
  • include/libavutil/mem.h
  • include/libavutil/motion_vector.h
  • include/libavutil/murmur3.h
  • include/libavutil/opt.h

The first 100 are listed.

distinfo 4
FileSizeSHA256
ffmpeg-4.4.4.tar.xz9.565584e+06e80b380d595c809060f66f96a5d849511ef4a76a26b76eacf5778b94c3570309
0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch24259376ea23e9d876390fbca936c80cb437bb9daa6232ff65df0ea91673e18b739ff
0002-doc-Add-libsvt_hevc-encoder-docs.patch5336d16589efc4be2602a9f436e9938cfee0cc7b5ccd7a4a6b41c0c9a59ae0859fda
master-0001-Add-ability-for-ffmpeg-to-run-svt-vp9.patch33497b7d722dfce20b73e9d5c73d55ffe041bbdc92a3c4a5c5d766b6b3040671b4052
Master sites 1
  • https://ffmpeg.org/releases/

Commit history 3

DateCommitCreditsLog message
a05b377b53 Lucas Holt *: bump PORTREVISION for the textproc/libxml2 2.15 shared library change (#848)
`textproc/libxml2` 2.15 changed SONAME from `libxml2.so.2` to `libxml2.so.16` **and** removed ELF symbol versioning entirely — the new library defines no `LIBXML2_*` versions at all. Consumers built against the old library were never rebuilt, so they still record a dependency on `libxml2.so.2` plus version requirements nothing can satisfy, and fail at load time: ``` ld-elf.so.1: /usr/local/lib/libxml2.so.2: version LIBXML2_2.4.30 required by /usr/local/lib/libevdocument3.so.4 not defined ``` ### Scope `Tools/scripts/bump_revision.pl -f -l textproc/libxml2` — **436 Makefiles**: 323 revisions incremented, 113 gained a `PORTREVISION` line. The diff touches nothing but `PORTREVISION` lines (verified: `git diff -U0` shows no other changed line), and spot-checked ports still …
1c7e6ed56b Lucas Holt */*: bump PORTREVISION after multimedia/openh264 update to 2.6.0
openh264 2.6.0 changed its shared library version from libopenh264.so.6 to libopenh264.so.8, so every port that links against it must be rebuilt. Bump PORTREVISION on the direct consumers. www/ungoogled-chromium is not listed because it was updated to 149.0.7827.200 in the same batch and is already built against the new library. AI-Assisted-by: Claude Opus 4.8 (1M context) <[email protected]> Signed-off-by: Lucas Holt <[email protected]>
8fb69ee61c Lucas Holt multimedia/ffmpeg4: fix custom prefix package metadata
Do not include the standard mtree in the custom-prefix package, since mport runs mtree before preexec and mtree refuses a missing /usr/local/ffmpeg4 root. Install the ldconfig hint in the normal localbase directory so LIB_DEPENDS can find the legacy ffmpeg libraries. AI-Assisted-by: OpenAI Codex <[email protected]> Signed-off-by: Lucas Holt <[email protected]>