when I use for %%a in ("*.mp4") do ffmpeg -i "%%a" -i watermark-image.png -filter_complex "overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2" -codec:a copy "newfiles\%%~na.mp4" pause i makes all the videos to 0kb.

  • What output do you receive when trying to run the script? Does the same ffmpeg command (without the 'for' loop) successfully watermark one file? – grawity May 3 at 12:12
  • it doesn't even open – DmarZX May 3 at 12:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.