title: Android built in Camera encoder VS FFMPEG --- Speed
body: <p>How does recording a 1080P, H264 encoded video in android camera application is realtime fast but encoding  a video in android using FFMPEG is slow at the same video size?</p>
  
  <p>I know FFMPEG is a software level encoder and it wont support any hardware features. </p>
  
  <p>I know camera applications directly get buffer data from camera driver.</p>
  
  <p>But actually where the difference happens??</p>
  
  <p>Why camera application is Realtime fast???</p>
  
  <p>Does it use GPU and OpenGL features of the phone to encode the video so that its so realtime fast??</p>
  
  <p>Because both Camera Application and FFMPEG runs on same mobile but still camera encodes H264 realtime ???</p>