user30577: 
When using ffmpeg -i input1 -i input2 ... -filter_script filter_complex.txt output.mkv I can't seem to get the stream from the filter_complex.txt file to be recognized by ffmpeg. If I add -map [v], then it doesn't recognize the [v] like it would normally and says there's an unconnected output.

This is less important, but I haven't found a way to do something like ffmpeg -i inputs.txt ... to avoid the character limit yet, so if you know a way to do that, that would be nice.


Reason: I'm trying to use ffmpeg to overlay many images (~100) onto a video at various points and need to use files so I'm not going over the command line limit of 2k-8k characters in windows.

user34285: Use -filter_script:v for video.
Ref: https://ffmpeg.org/ffmpeg-all.html#Generic-options
-filter_script[:stream_specifier] filename (output,per-stream)

PS: I just discovered (right now), that you can also use filter_complex_script (:v not needed). -filter_complex_script seems the more advanced approach.

30577: <ol>
<li><p>When using <code>ffmpeg -i input1 -i input2 ... -filter_script filter_complex.txt output.mkv</code> I can't seem to get the stream from the filter_complex.txt file to be recognized by ffmpeg. If I add <code>-map [v]</code>, then it doesn't recognize the <code>[v]</code> like it would normally and says there's an unconnected output.</p>
</li>
<li><p>This is less important, but I haven't found a way to do something like <code>ffmpeg -i inputs.txt ...</code> to avoid the character limit yet, so if you know a way to do that, that would be nice.</p>
</li>
</ol>
<p>Reason: I'm trying to use ffmpeg to overlay many images (~100) onto a video at various points and need to use files so I'm not going over the command line limit of 2k-8k characters in windows.</p>
 34285: <p>Use <code>-filter_script:v</code> for video.</p>
<p>Ref: <a href="https://ffmpeg.org/ffmpeg-all.html#Generic-options" rel="nofollow noreferrer">https://ffmpeg.org/ffmpeg-all.html#Generic-options</a></p>
<pre><code>-filter_script[:stream_specifier] filename (output,per-stream)
</code></pre>
<p>PS: I just discovered (right now), that you can also use <code>filter_complex_script</code> (<code>:v</code> not needed). <code>-filter_complex_script</code> seems the more advanced approach.</p>
