title: Unable to combine video with audio using FFMPEG android
body: <p>I am using FFMPEG shared library(.so) in my android app to add watermark in video, changing audio format from .wav to .mp3 and combine video with audio. I can able to run ffmpeg command successfully to add watermark for selected video, to change .wav format audio to .mp3. It is working fine. But while trying to combine audio with video, I got error <strong>"ffmpeg: Exit program called. 1"</strong>. I dont know what I am doing wrong. </p>
  
  <p>I have installed FFMPEG in my ubuntu 16.04LTS system and executed command from terminal to combine audio with video. It is working perfectly.</p>
  
  <p>But when using same command from android code to combine audio with video I got Exit program called. 1 error. Below commands are used to combine audio with video.</p>
  
  <ol>
  <li><p>ffmpeg -i output.mp4 -i outputaudio.wav -c copy output.mkv </p></li>
  <li><p>ffmpeg -i outputaudio.wav -i out.mp4 -vcodec copy abc.mkv </p></li>
  <li><p>ffmpeg -i input.mp4 -i input.mp3 -c copy -map 0:0 -map 1:0 output.mp4</p></li>
  </ol>
  
  <p>Any help is appreciated. Thanks in advance.</p>