# ffmpeg-6.0 built on AMD EPYC server git clone https://github.com/mstorsjo/fdk-aac.git cd fdk-aac CC=/opt/AMD/aocc-compiler-4.0.0/bin/clang CFLAGS='-march=native' CXX=/opt/AMD/aocc-compiler-4.0.0/bin/clang++ CXXFLAGS="$CFLAGS" ./configure --prefix=/opt/ffmpeg/6-0 --libdir=/opt/ffmpeg/6-0/lib64 make -j32 make install xzcat ffmpeg-6.0.tar.xz | tar -xpf - cd ffmpeg-6.0 . /opt/AMD/setenv_AOCC.sh export LD_LIBRARY_PATH=/usr/local/lib64:$LD_LIBRARY_PATH export LIBRARY_PATH=/usr/local/lib64:$LIBRARY_PATH ./configure --prefix=/opt/ffmpeg/6-0 --cpu=native --cc=clang --objcc=clang --enable-cuda-nvcc --nvcc=/opt/nvidia/hpc_sdk/Linux_x86_64/2023/compilers/bin/nvcc --enable-shared --enable-libfdk-aac --enable-gpl --enable-nonfree --enable-libx265 --enable-libvpx --enable-libopus make -j32 make install $ ffmpeg ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers built with AMD clang version 14.0.6 (CLANG: AOCC_4.0.0-Build#434 2022_10_28) (based on LLVM Mirror.Version.14.0.6) configuration: --prefix=/opt/ffmpeg/6-0 --cpu=native --cc=clang --objcc=clang --enable-cuda-nvcc --nvcc=/opt/nvidia/hpc_sdk/Linux_x86_64/2023/compilers/bin/nvcc --enable-shared --enable-libfdk-aac --enable-gpl --enable-nonfree --enable-libx265 --enable-libvpx --enable-libopus libavutil 58. 2.100 / 58. 2.100 libavcodec 60. 3.100 / 60. 3.100 libavformat 60. 3.100 / 60. 3.100 libavdevice 60. 1.100 / 60. 1.100 libavfilter 9. 3.100 / 9. 3.100 libswscale 7. 1.100 / 7. 1.100 libswresample 4. 10.100 / 4. 10.100 libpostproc 57. 1.100 / 57. 1.100 Hyper fast Audio and Video encoder usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...