FFmpeg/6.1.1-cpeAOCC-24.03 (FFmpeg-6.1.1-cpeAOCC-24.03.eb)
To access module help and find out for which stacks and partitions the module is
installed, use module spider FFmpeg/6.1.1-cpeAOCC-24.03
.
EasyConfig:
# Adapted by Kurt Lust (kurt.lust@uantwerpen.be) for use on LUMI from
# the CSCS and easybuilders recipes.
#
easyblock = 'ConfigureMake'
local_bzip2_version = '1.0.8' # http://www.bzip.org/downloads.html
local_fontconfig_version = '2.14.2' # https://www.freedesktop.org/software/fontconfig/release/
local_freetype_version = '2.13.2' # https://download.savannah.gnu.org/releases/freetype/
local_fribidi_version = '1.0.13' # https://github.com/fribidi/fribidi/releases
local_LAME_version = '3.100' # http://lame.sourceforge.net/
local_x264_version = '20231019' # Just follow EasyBuild as the distribution is currently a mess
local_x265_version = '3.5' # http://download.videolan.org/pub/videolan/x265/
local_zlib_version = '1.3.1' # https://zlib.net/
local_FFmpeg_version = '6.1.1' # https://ffmpeg.org/download.html#releases
name = 'FFmpeg'
version = local_FFmpeg_version
homepage = 'https://www.ffmpeg.org/'
whatis = [
'Description: A complete, cross-platform solution to record, convert and stream audio and video'
]
description = "A complete, cross-platform solution to record, convert and stream audio and video."
description = """
FFmpeg is the leading multimedia framework, able to decode, encode, transcode,
mux, demux, stream, filter and play pretty much anything that humans and
machines have created. It supports the most obscure ancient formats up to the
cutting edge. No matter if they were designed by some standards committee, the
community or a corporation. It is also highly portable: FFmpeg compiles, runs,
and passes our testing infrastructure FATE across Linux, Mac OS X, Microsoft
Windows, the BSDs, Solaris, etc. under a wide variety of build environments,
machine architectures, and configurations.
It contains libavcodec, libavutil, libavformat, libavfilter, libavdevice,
libswscale and libswresample which can be used by applications. As well as
ffmpeg, ffplay and ffprobe which can be used by end users for transcoding
and playing.
The FFmpeg project tries to provide the best technically possible solution
for developers of applications and end users alike. To achieve this we combine
the best free software options available. We slightly favor our own code to keep
the dependencies on other libs low and to maximize code sharing between parts of
FFmpeg. Wherever the question of "best" cannot be answered we support both
options so the end user can choose.
"""
docurls = [
'Manual pages in section 1 and 3',
'Web-based documentation at https://ffmpeg.org/documentation.html'
]
software_license_urls = [
'https://ffmpeg.org/legal.html',
]
toolchain = {'name': 'cpeAOCC', 'version': '24.03'}
source_urls = ['http://ffmpeg.org/releases/']
sources = [SOURCELOWER_TAR_BZ2]
checksums = ['5e3133939a61ef64ac9b47ffd29a5ea6e337a4023ef0ad972094b4da844e3a20']
builddependencies = [
('buildtools', '%(toolchain_version)s', '', True), # For NASM, see remarks in the README.md
]
dependencies = [
('zlib', local_zlib_version),
('bzip2', local_bzip2_version),
('LAME', local_LAME_version),
('x264', local_x264_version),
('x265', local_x265_version),
('X11', '%(toolchain_version)s'),
('fontconfig', local_fontconfig_version),
('freetype', local_freetype_version),
('FriBidi', local_fribidi_version),
]
# Doesn't need MPI, ROCm or BLAS, and module unload never fails so this is safe.
preconfigopts = 'module unload cray-libsci cray-mpich xpmem && '
prebuildopts = preconfigopts
preinstallopts = preconfigopts
configopts = '--enable-pic --enable-shared --enable-gpl --enable-version3 --enable-nonfree --cc="$CC" --cxx="$CXX" '
configopts += '--enable-libx264 --enable-libx265 --enable-libmp3lame --enable-libfreetype --enable-fontconfig '
configopts += '--enable-libfribidi --disable-sdl2'
postinstallcmds = [
'mkdir -p %(installdir)s/share/licenses/%(name)s',
'cp Changelog COPYING.* CREDITS LICENSE.md README.md RELEASE_NOTES %(installdir)s/share/licenses/%(name)s',
]
sanity_check_paths = {
'files': ['bin/ff%s' % x for x in ['mpeg', 'probe']] +
['lib/lib%s.%s' % (x, y) for x in ['avdevice', 'avfilter', 'avformat', 'avcodec', 'postproc',
'swresample', 'swscale', 'avutil'] for y in [SHLIB_EXT, 'a']] +
[f'share/licenses/{name}/LICENSE.md'],
'dirs': ['include']
}
sanity_check_commands = [
'ffmpeg -version',
'ffprobe -version',
]
moduleclass = 'vis'