title: FFMPEG API (compiling with specific formats)
body: <p>I am trying to compile FFMPEG to support a single video type (*.mp4).</p>
  
  <p>I have everything working when I compile for all, but I do not want the extra over-head when I will only use a single format.</p>
  
  <p>Here's my compile FLAGS now (non-working for MP4).  I am sure there are other codecs/decoders I need to specifically enable, but am just having a hard time finding them.</p>
  
  <p>Compiler directives showing the build flags below:</p>
  
  <pre><code>FLAGS="$FLAGS --disable-everything"
  FLAGS="$FLAGS --enable-encoder=mpeg4video" ## This is the question, what all needs enabling?
  </code></pre>
  
  <p>I just do not know video standards well enough to know exactly which codecs / encoders / etc. to turn on.</p>
  
  <pre><code>av_register_all();
  avdevice_register_all();
  
  byteCtx = av_alloc_put_byte(buffer, BUFFER_SIZE, 0, f, ReadFunc, NULL, SeekFunc);
  if (!byteCtx) {
      return;
  }
  // Open video file (here's the failure, doesn't happen when compiled for all)
  inputFormat = av_find_input_format("MP4");
  if (!inputFormat) {
      LOGE(ANDROID_LOG_ERROR, "NDK:", "Null inputformat!");
      return;
  }
  </code></pre>