diff --git a/f/FFmpeg/FFmpeg-5.1.2-GCCcore-11.3.0-CUDA-11.7.0.eb b/f/FFmpeg/FFmpeg-5.1.2-GCCcore-11.3.0-CUDA-11.7.0.eb new file mode 100644 index 00000000..21a934fa --- /dev/null +++ b/f/FFmpeg/FFmpeg-5.1.2-GCCcore-11.3.0-CUDA-11.7.0.eb @@ -0,0 +1,50 @@ +easyblock = 'ConfigureMake' + +name = 'FFmpeg' +version = '5.0.1' +versionsuffix = '-CUDA-%(cudaver)s' + +homepage = 'https://www.ffmpeg.org/' +description = "A complete, cross-platform solution to record, convert and stream audio and video." + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} + +source_urls = [ + 'https://%(namelower)s.org/releases/', +] +sources = [SOURCELOWER_TAR_BZ2] +checksums = ['28df33d400a1c1c1b20d07a99197809a3b88ef765f5f07dc1ff067fac64c59d6'] + +builddependencies = [ + ('binutils', '2.38'), + ('pkgconf', '1.8.0'), +] +dependencies = [ + ('CUDA', '11.7.0', '', True), + ('nvcodec', '11.1.5.1', '', True), + ('NASM', '2.15.05'), + ('zlib', '1.2.12'), + ('bzip2', '1.0.8'), + ('x264', '20220620'), + ('LAME', '3.100'), + ('x265', '3.5'), + ('X11', '20220504'), + ('freetype', '2.12.1'), + ('fontconfig', '2.14.0'), + ('FriBidi', '1.0.12'), +] + +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 ' +configopts += '--enable-cuda-nvcc --enable-cuvid --enable-nvenc --enable-nvdec --enable-libnpp ' +configopts += '--extra-cflags=-I${EBROOTCUDA}/include --extra-ldflags=-L${EBROOTCUDA}/lib64 ' + +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']], + 'dirs': ['include'] +} + +moduleclass = 'vis' diff --git a/f/FFmpeg/FFmpeg-5.1.2-GCCcore-11.3.0.eb b/f/FFmpeg/FFmpeg-5.1.2-GCCcore-11.3.0.eb new file mode 100644 index 00000000..6311b477 --- /dev/null +++ b/f/FFmpeg/FFmpeg-5.1.2-GCCcore-11.3.0.eb @@ -0,0 +1,48 @@ +# IT4Innovations 2022 +# JK + +easyblock = 'ConfigureMake' + +name = 'FFmpeg' +version = '5.1.2' + +homepage = 'https://www.ffmpeg.org/' +description = "A complete, cross-platform solution to record, convert and stream audio and video." + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} + +source_urls = ['https://%(namelower)s.org/releases/'] +sources = [SOURCELOWER_TAR_BZ2] +checksums = ['39a0bcc8d98549f16c570624678246a6ac736c066cebdb409f9502e915b22f2b'] + +builddependencies = [ + ('binutils', '2.38'), + ('pkgconf', '1.8.0'), +] +dependencies = [ + ('NASM', '2.15.05'), + ('zlib', '1.2.12'), + ('bzip2', '1.0.8'), + ('x264', '20220620'), + ('LAME', '3.100'), + ('x265', '3.5'), + ('X11', '20220504'), + ('freetype', '2.12.1'), + ('fontconfig', '2.14.0'), + ('FriBidi', '1.0.12'), +] + +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' + +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']], + 'dirs': ['include'] +} + +sanity_check_commands = ['ffmpeg --help'] + +moduleclass = 'vis' diff --git a/n/nvcodec/nvcodec-11.1.5.1.eb b/n/nvcodec/nvcodec-11.1.5.1.eb new file mode 100644 index 00000000..da29dbb4 --- /dev/null +++ b/n/nvcodec/nvcodec-11.1.5.1.eb @@ -0,0 +1,33 @@ +# IT4Innovations 2022 +# JK + +easyblock = 'ConfigureMake' + +name = 'nvcodec' +version = '11.1.5.1' + +homepage = 'https://www.ffmpeg.org/' +description = "FFmpeg version of headers required to interface with Nvidias codec APIs." + +toolchain = SYSTEM + +source_urls = ['https://github.com/FFmpeg/nv-codec-headers/releases/download/n%(version)s/'] +sources = ['nv-codec-headers-%(version)s.tar.gz'] +checksums = ['a28cdde3ac0e9e02c2dde7a1b4de5333b4ac6148a8332ca712da243a3361a0d9'] + +builddependencies = [ + ('binutils', '2.38'), +] +dependencies = [ + ('CUDA', '11.7.0', '', True), +] + +skipsteps = ['configure'] +installopts = " PREFIX=%(installdir)s " + +sanity_check_paths = { + 'files': [], + 'dirs': ['include', 'lib'], +} + +moduleclass = 'lib'