title: FFmpeg pass arguments in a text file
body: <p>I'm trying to get around the 32767 characters limit regarding the command line length in Windows (sometimes it's less than that). I have a large number of boxes that I'm trying to draw on a video. Typically I can concatenate the draw commands using a comma (<code>,</code>) like so (the following command draws two boxes):</p>
  
  <pre><code>ffmpeg -i input.mp4 -vf "drawbox=enable='between(t, 1.5, 4)' : x=100 : y=100 : w=200 : h=200 : color=green,drawbox=enable='between(t, 9, 18)' : x=500 : y=10 : w=150 : h=150 : color=red" -codec:a copy output.mp4
  </code></pre>
  
  <p>However since I have many boxes to draw, the length of the entire command becomes too large.</p>
  
  <p>Does FFmpeg offer a way to pass all arguments in a text file instead of literal text? Something like this:</p>
  
  <pre><code>ffmpeg content(ffmpegCmd.txt)
  </code></pre>
  
  <p>If that's not possible, is it possible to "buffer" the arguments into separate commands while exporting the result only in the last command?</p>