Removing / Overlaying logo on mp4 video format with ffmpeg on linux 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?
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.