[FFmpeg-user] Linux 64 bit ffmpeg compilation

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Mar 2 10:27:43 EET 2021



> Am 02.03.2021 um 03:41 schrieb KRISHNAKUMAR N K <nk.krishnakumar at gmail.com>:
> 
> I have followed ffmpeg compilation guide "
> https://trac.ffmpeg.org/wiki/CompilationGuide/Centos" and its successful,
> would like to know FFmpeg is 64bit by default (or) should i need to enable
> any flags / properties.

This only depends on your toolchain:
If you don’t specify a compiler when calling configure the default system compiler will be used.
On Intel 64bit systems, the system compiler most likely will default to 64bit. But this is not necessarily always the case, and on non-Intel 64bit systems it is common for the system compiler to default to 32bit.

There is a configure option „--cc“ that you can use to force 32 or 64 bit compilation:
./configure --cc=gcc -m32
(Needs parentheses around gcc -m32!!)

Carl Eugen 


More information about the ffmpeg-user mailing list