I was able to add watermark to multiple video using

for %%a in ("*.ts") do ffmpeg -i "%%a" -i  logoCopy.png -filter_complex "overlay=main_w-overlay_w-40:40" "Logo\%%~na.mp4"

And now I'm trying to set the output to be 1920x1080 and the bitrate to 30000 and add watermark at the same time.

can anyone help, please.


Syntax is

for %%a in ("*.ts") do ffmpeg -i "%%a" -i logoCopy.png -filter_complex "overlay=main_w-overlay_w-40:40,scale=hd1080,setsar=1" -b:v 30M "Logo\%%~na.mp4"
  • Thanks for the answer it work great, But if I want to change the output size to less than 1920x1080 what I should put? – Bassel999 May 15 '18 at 21:08
  • scale=width:height – Gyan May 16 '18 at 4:45

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.