title: Convert byte array to playable mp4 file
body: <p>I need to do some processing on the raw file bytes and the algorithm is fine with working on .wav file but the problem is the .mp4 files it is not playable at all.
  I think the problem that the file contains raw bytes only and no header</p>
  
  <p>please help me</p>
  
  <pre><code>public void convert(String maskFlag, File endFile) 
  {
      byte[] rawData = getarr(originalFile);
      byte[] effectedData = rawData.clone();
  
      effectedData = changePitch(rawData, parameters.getPitch());
      effectedData = changeVolume(effectedData, parameters.getVolume());
      effectedData = changeSpeed(effectedData, parameters.getSpeed());
  
      FileOutputStream out = new FileOutputStream(endFile);
      out.write(effectedData);
      out.close();
  }
  
  byte[] getarr(File file) throws Exception 
  {
     InputStream fis = new FileInputStream(file);
     fis = new FileInputStream(file);
     byte [] byteArr = IOUtils.toByteArray(fis);
     return byteArr;
  }
  </code></pre>