Le 13 mai 2012 à 13:57, Carl Eugen Hoyos a écrit : > Lucas Soltic <soltic.lucas@...> writes: > >> Today I noticed something weird about the enabled decoders. >> Is it normal that ./configure --disable-yasm --disable-decoders >> --disable-encoders --disable-muxers gives me that? > >> Enabled decoders: >> h264 > >> Enabled hwaccels: >> h264_vda > > (I can only guess because I am not on OS X.) > By default, hwaccels are enabled / autodetected. Since you did not > disable hwaccels, h264_vda was detected and enabled and since it > required the h264 (software) decoder, this decoder was also enabled. > > I do understand why you suspect a bug, but it can be argued that > this is intended, if you want to disable the software decoder (and > don't need h264_vda), use --disable-hwaccels.
You are right. Using --disable-hwaccels removes h264 from the enabled decoders list. However it still seems a bit odd to enable a decoder when I ask to disable all of them. I'm using --disable-decoders so that I can do --enable-decoder=... for each decoder I want, and no other one. This is especially useful as I want to distribute binaries that are not concerned by royalties. But as I understand it, here it uses the hardware decoder, thus it's not a decoder made by FFmpeg, but a decoder provided by the OS, thus a binary using this hardware decoder should not be concerned by royalties. > Could you explain what you are trying to achieve with --disable-decoders > --disable-encoders --disable-muxers? If you only need demuxers, I > wonder how good they work with --disable-decoders... Well, it was just for testing purposes, I agree the options I put are meaningless. I added some --disable-... options only in order to make the output a bit shorter. Thanks for your help :) . > > Note that there is --disable-everything (which can be combined with > enable-options) which you may be searching for. > > Carl Eugen > > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
