I'm looking to compile ffmpeg so that it supports only a handful of codecs. Specifically, only PCM codecs and MP3.
Any pointers on how to do that? Can it be done with compilation flags, or do I need to edit the code?
I'm looking to compile ffmpeg so that it supports only a handful of codecs. Specifically, only PCM codecs and MP3.
Any pointers on how to do that? Can it be done with compilation flags, or do I need to edit the code?
You can use
configure
with--disable-everything
and then enable only what you need, then build this configuration. More on this: Building FFmpeg. This way you don't need to touch source code (manual edits).Specifically what is affected and other switches (excerpt from
configure
script):