Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-04-09T17:53:40.067Z
Answers.Text: So stupid. That did it. Thank you very much.
Answers.UserDisplayName: JHandin
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-05-09T21:26:50.110Z
Answers.Text: You should mark this answer as the solution, otherwise the question will keep popping out in the homepage :)
Answers.UserDisplayName: mcont
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-04-08T22:19:34.597Z
Answers.LastActivityDate: 2020-04-08T22:19:34.597Z
Answers.UserDisplayName: llogan
Body: <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>
  
Tags: <ffmpeg><windows><command-line>
Title: ffmpeg batch overlay Error: "Cannot find a matching stream for unlabeled input pad 1 on filter Parsed_overlay_0"
UserDisplayName: JHandin
ThreadText: # ffmpeg batch overlay Error: "Cannot find a matching stream for unlabeled input pad 1 on filter Parsed_overlay_0"
  
  (Asked by: username_0 on 2020-04-08)
  
  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?
  
  **Tags:** ffmpeg, windows, command-line
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-04-08. Score: 1
  
  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
  
  ```
  
  > **Comments:**
  > **username_0**: So stupid. That did it. Thank you very much.  
  > **username_2**: You should mark this answer as the solution, otherwise the question will keep popping out in the homepage :)  
  
  ---
  
  