0

I'm using ffmpeg to put a watermark on video but when my video has a name that contains brackets it's not doing anything

$a = "10 (1).mp4";
$cmd = "$ffmpeg -i $a -i $logo -filter_complex \"[1]colorchannelmixer=aa=0.7,scale=iw*0.4:-1[wm];[0][wm]overlay=x=(main_w-overlay_w):y=(main_h-overlay_h)/(main_h-overlay_h)\" watermarked1.mp4";
exec($cmd);

when I change the name to 10 its working

Nigel Ren
  • 56,122
  • 11
  • 43
  • 55
Hadi Ahmadi
  • 129
  • 12

0 Answers0