@Override
 protected void onDestroy() {
   if (mediaComposer != null) {
     mediaComposer.stop();
     isStopped = true;
   }
   super.onDestroy();
 }
 public void stopTranscode() {
   mediaComposer.stop();
 }