user29229: I am trying to create a batch file to run this script to add a watermark on each file in a folder
ffmpeg -i input.mov -i watermark.png -filter_complex "overlay=10:10" output.mov

The script above works fine but when I try to run the batch I get Error: "Cannot find a matching stream for unlabeled input pad 1 on filter Parsed_overlay_0"
@echo off
REM Add watermark to video batch
for %%a in (*.mov) do ( ffmpeg "%%a" -i watermark.png -filter_complex "overlay=10:10" "output\%%~na.mov"
)
pause

What am I missing?

user1760: Looks like you forgot -i. Try:
@echo off
REM Add watermark to video batch
for %%a in (*.mov) do ( ffmpeg -i "%%a" -i watermark.png -filter_complex "overlay=10:10" "output\%%~na.mov"
)
pause


29229: <p>I am trying to create a batch file to run this script to add a watermark on each file in a folder</p>

<pre><code>ffmpeg -i input.mov -i watermark.png -filter_complex "overlay=10:10" output.mov
</code></pre>

<p>The script above works fine but when I try to run the batch I get Error: "Cannot find a matching stream for unlabeled input pad 1 on filter Parsed_overlay_0"</p>

<pre><code>@echo off
REM Add watermark to video batch
for %%a in (*.mov) do ( ffmpeg "%%a" -i watermark.png -filter_complex "overlay=10:10" "output\%%~na.mov"
)
pause
</code></pre>

<p>What am I missing?</p>
 1760: <p>Looks like you forgot <code>-i</code>. Try:</p>

<pre><code>@echo off
REM Add watermark to video batch
for %%a in (*.mov) do ( ffmpeg -i "%%a" -i watermark.png -filter_complex "overlay=10:10" "output\%%~na.mov"
)
pause
</code></pre>
