title: FFmpeg convert single image into video Android
body: <p>I am trying to convert a single image into a video using FFmpeg. I have tried following the files:</p>
  
  <pre><code>"ffmpeg  -analyzeduration 2147483647 -probesize 2147483647 -i " + packat.get(i).path +"-r 25 -t 1000 -y op.mp4"
  
  "ffmpeg -loop 1 -r 23.976 -i input.jpg -t 00:00:02 -vcodec qtrle -an output.mov"
  
  "ffmpeg -i c:\rawvideo\mask.bmp -loop 1 -r 29.97 -s 720x480
          -aspect 4:3 -t 00:04:05 -vcodec mjpeg -vb 11261600 -an
          c:\rawvideo\fullmask.avi"
  </code></pre>
  
  <p>But all of them give me this annoying error:</p>
  
  <pre><code> Can not process SOS before SOF, skipping marker parser used 0 bytes (0 bits) decode frame unused 0 bytes decoding for stream 0 failed 
  Could not find codec parameters for stream 0 (Video: mjpeg): unspecified size
  Consider increasing the value for the 'analyzeduration' and 'probesize' options /storage/sdcard0/cblVE/temp/0.jpg: could not find codec parameters 
  exit_program: 1 
  </code></pre>
  
  <p>Please help. I have searched for a solution from a week, but I have found nothing.</p>