title: How to add text in video without using ffpeg Android?
body: <p>I am using MediaMuxer and MediaExtractor to transcode video. Now i want to add text on video at certain position. How can i achieve this? Basically i am recording video and transcode it in lower resolution now i want to add text overlay without using ffmpeg. I tried to add watermark by using ffmpeg but it takes too much time. I am using <a href="https://github.com/WritingMinds/ffmpeg-android-java" rel="nofollow noreferrer">this</a> library.This is my command:</p>
  
  <pre><code>String[] complexCommand = {"-y" ,"-i", "/storage/emulated/0/Download/VID.mp4","-strict",
                          "experimental", "-vf", "movie="
                          +"/storage/emulated/0/Download/iqm_logo.png [watermark]; [in][watermark] overlay=main_w/2-overlay_w/2:450 [out]",
                          "-b:v", "1540k", "-c:v", "libx264","-threads","30","-preset","ultrafast","-r", "30","-s", "1080x1920","-c:a", "copy",
                          "/storage/emulated/0/Download/watermark.mp4"};
  </code></pre>