[FFmpeg-user] Using CPU Capabilties

Reindl Harald h.reindl at thelounge.net
Thu May 17 19:27:14 CEST 2012

Am 15.05.2012 19:33, schrieb Carl Eugen Hoyos:
> Tarun singhal <tsinghal18 <at> gmail.com> writes:
>> I am using *--enable-runtime-cpudetect *while configuring.
> That is only a good idea if you plan to distribute your FFmpeg 
> binary, or in other words: Do not use this option if you 
> compile FFmpeg for yourself

one question to this

i usually compile with runtime-cpudetec combined with
explicit CFLAGS reflecting the best possible options
for all CPUs in my working and private environment

my idea for this is that GCC can especially by
"-mtune=core2 -msse4.1" optimize any binary code
while with "runtime-cpudetect" on my personal
workstation AVX can be used which is not available
currently on all machines

is my assumption completly wrong here?

--enable-runtime-cpudetect --extra-cflags='-O6 -march=core2 -mtune=core2 -mmmx -msse2 -msse3 -msse4.1 -fopenmp
-mfpmath=sse -fno-delete-null-pointer-checks -fstack-protector --param=ssp-buffer-size=4 -pipe -D_FORTIFY_SOURCE=2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20120517/a8643de7/attachment.asc>

More information about the ffmpeg-user mailing list