Skip to content

Instantly share code, notes, and snippets.

@freedomlang
freedomlang / install-ffmpeg-centos.sh
Last active December 23, 2023 21:43 — forked from cbosco/install-ffmpeg-centos.sh
Compile ffmpeg in CentOS 7
#!/bin/bash
if [ "`/usr/bin/whoami`" != "root" ]; then
echo "You need to execute this script as root."
exit 1
fi
###############################################################################
# ffmpeg installer for centos 7
# based on instructions at https://trac.ffmpeg.org/wiki/CompilationGuide/Centos