title: How to delogo center in ffmpeg
body: <p>How to delogo on center image in ffmpeg? To delogo top left, I use something like this.</p>
  
  <p><code>ffmpeg -i tes.png -vf "delogo=x=10:y=10:w=40:h=40" a.png</code></p>
  
  <p>But for delogo on center image, I experiment like this but show error.
  <code>ffmpeg -i tes.png -vf "delogo=x=(W-w)/2:y=(H-h)/2:w=40:h=40" a.png</code></p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>Thanks for all replies that tell me that delogo only accept absolute integer. Maybe my next strategy is measure width &amp; height of image via ffmpeg, calculate, then set as value of delogo. I'll accept an answer who able to make that script work automatically.</p>