I try to install FFmpeg directly from the source, and I keep getting this error:
gcc is unable to create an executable file. If gcc is a cross-compiler, use the --enable-cross-compile option. Only do this if you know what cross compiling means. C compiler test failed. If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to the ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "config.log" produced by configure as this will help solving the problem.
Can anyone help? In addition, yum install ffmpeg does not work.
Apparently with the limited information I have, you need to at least install gcc to compile ffmpeg. See instructions for compiling FFmpeg on CentOS . It is designed for CentOS, but should work for RHEL and Fedora.
gcc
Alternatively, you can simply use the static ffmpeg assembly instead of compiling, but it does not have the advantage of the configuration that compilation provides.
Note that stack overflows are limited to programming issues and discussions.