I'm trying to remove logo from an .mp4 video format with ffmpeg on linux machine without re-encoding (for preserving the same quality) with the following command:

ffmpeg -i input.mp4 -vf delogo=x=270:y=190:w=40:h=40 -c:a copy output.mp4 

and it give me the following errors:

Unrecognized option 'vf'

then a new error came up:

Unable to find a suitable output format for 'delogo=x=270:y=190:w=40:h=40'

ffmpeg always updating and it seems that they change command line arguments alot so any material or tutorial i find online seems to get out-dated quickly

I review their website documentation but can't get it to work, I think i'm missing something...?

so what is the correct command line in linux shell also, how to view or find out exactly the area coordinates to be removed before actually removing logo/overlaying it and keep testing every while

and how to overlay a solid color in certain area instead of removing logo transparently as well?

  • It is discouraged to crosspost the same question on multiple Stack Exchange sites (and it is offtopic on Stack Overflow; that site is for programming questions only). – LordNeckbeard Aug 20 '15 at 18:03
  • Understood Sir, Pardon me for writing the same question on the other site as well, but i figured out the other is having much more traffic volume than this, also found 8K ffmpeg specific questions there as well, I might vote for deleting this one. – SilverShadow Aug 21 '15 at 2:24

Your command is missing double quotes around the filter definition :

ffmpeg -i input.mp4 -vf "delogo=x=270:y=190:w=40:h=40" -c:a copy output.mp4

(as explained in FFmpeg filters documentation)

Nevertheless, this filter will decode and re-encode your video stream.

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.