#9690 closed enhancement (wontfix)
Option to override default decoders at build time
Reported by: | Cosmin Stejerean | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | unspecified | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
In some cases it would be useful to override the default decoders used by ffmpeg when creating a build. For example fdk_aac is a more robust AAC decoder than the built-in AAC decoder, and among other things it can decode xHE-AAC.
When building ffmpeg with fdk_aac it would be great if there was also an option to mark this as the default decoder so that it would get used automatically on AAC streams. Of course it's possible to manually override the decoder for a given input using -c:a fdk_aac before the -i input but this requires using a multi-step operation, first inspecting the source with ffprobe, determining what codec is being used to select the correct decoder and then issuing the desired ffmpeg command.
While this is fine for manual processing, for automated processing it's convenient to be able to point ffmpeg at any input and rely on it to do the right thing in a single shot.
Change History (3)
comment:1 by , 2 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:2 by , 2 years ago
If it's possible to specify the default AAC decoder at compile time (to say make FDK the default)? If so I agree this should be closed but would love an example of how to do it.
Given that it already is possible to choose the decoder at compile time, this seems unlikely to me.