title: FFmpeg | Option loop not found
body: <p>The loop option is not working with gif image.<br>
  When I'm working with png image the code good.<br>
  But when I'm working with animated gif image the error is thrown <code>Option loop not found</code>.</p>
  
  <p>In my example I'm trying to create the video from input image with specific duration.</p>
  
  <pre><code>ffmpeg -loop 1 -t 5 -i 15324210315b56e3a78abe5.png -i watermark.png -filter_complex "[0]scale=trunc(iw/2)*2:trunc(ih/2)*2[v];[v][1]overlay=x=(W-w-10):y=(H-h-10)" output.mp4
  </code></pre>
  
  <p>Below command is not working</p>
  
  <pre><code>ffmpeg -loop 1 -t 5 -i 15323488345b55c9a2b2908.gif -i watermark.png -filter_complex "[0]scale=trunc(iw/2)*2:trunc(ih/2)*2[v];[v][1]overlay=x=(W-w-10):y=(H-h-10)" output.mp4
  </code></pre>