7

I'm trying to remove a logo from an .MP4 video format with ffmpeg on a 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 gives 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 is always updating and it seems that they change command line arguments a lot so any material or tutorial I find online seems to get outdated quickly.

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

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?

2
  • 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).
    – llogan
    Commented Aug 20, 2015 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. Commented Aug 21, 2015 at 2:24

1 Answer 1

6

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.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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