[Libav-user] H.264 always enabled on OS X.. ?
soltic.lucas at gmail.com
Sun May 13 16:26:35 CEST 2012
Le 13 mai 2012 à 13:57, Carl Eugen Hoyos a écrit :
> Lucas Soltic <soltic.lucas at ...> 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:
>> Enabled hwaccels:
> (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
> Libav-user at ffmpeg.org
More information about the Libav-user