[FFmpeg-user] ffmpeg-0.10.4 does not build on recent Fedora 17

Reindl Harald h.reindl at thelounge.net
Wed Jul 18 12:17:35 CEST 2012



Am 18.07.2012 08:04, schrieb Carl Eugen Hoyos:
> Reindl Harald <h.reindl <at> thelounge.net> writes:
> 
>> %global ff_configure \
>> ../configure \\\
> 
> Just a few random comments:
> 
>>     --prefix=%{_prefix} \\\
>>     --bindir=%{_bindir} \\\
>>     --datadir=%{_datadir}/ffmpeg \\\
>>     --incdir=%{_includedir}/ffmpeg \\\
>>     --libdir=%{_libdir} \\\
>>     --mandir=%{_mandir} \\\
>>     --arch=%{_target_cpu} \\\
> 
>>     --extra-cflags="-O3 -march=corei7 -mtune=corei7 -mmmx 
>> -msse2 -msse3 -msse4.1 -msse4.2 -fopenmp -mfpmath=sse 
>> -fstack-protector --param=ssp-buffer-size=4 -pipe 
>> -D_FORTIFY_SOURCE=2 -fexceptions" \\\
> 
> I am really curious:
> Has any of these options a positive effect?
> If yes, I suspect they should be made default

not benchmarked, but i try to build software with optimized
flags for my hardware

"-fstack-protector --param=ssp-buffer-size=4" is not for performance
it is for security and fedora default

i doubt it is not a good DEFAULT optimize for corei7 :-)

>>     --enable-avfilter \\\
>>     --enable-postproc \\\
>>     --enable-swscale \\\
>>     --enable-bzlib \\\
>>     --enable-zlib \\\
> 
> These should be default and are therefore unneeded.

i know but prefer explicit options

>>     --enable-libfreetype \\\
>>     --enable-pthreads \\\
> Default (or am I wrong?)

maybe, se above

>>     --enable-fastdiv \\\
>>     --enable-pic \\\
> 
> If one of these two is needed (and good), I would suspect a bug.
> Could you elaborate?

--enable-pic was needed here a long time ago and i see
no reason to remove it

Regards
Harry

-------------- 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/20120718/a946d255/attachment.asc>


More information about the ffmpeg-user mailing list