title: Android - using MediaCodec with byte array only
body: <p>I'm moving around  some samples of MediaCodec usage through the BigFlake and Grafika examples.</p>
  
  <p>I cant find any example or way to create video without GLsurface as a buffer.</p>
  
  <p>my app using customize byte array and send it to FFmpeg  library-which create and encode video file.
  but i like to add support for 4.3/4.4 version with the media codec.</p>
  
  <p>Is there any way to send a byte[] array to the Encoder ?
  for example if i like to use onPreviewFrame(byte[] frame) ,from the camera.<br/>
  I dont want to send it to the glsurface,just encode it as is.</p>
  
  <p>Any idea?</p>