Use the FFMPEG toolkit to remove the video watermark

1. ffmpeg tool installation:

https://ffmpeg.org/ visit the official website, here only the windows platform is installed
Insert picture description here
Insert picture description here

Folder after decompression:
Insert picture description here

The exe tool here can be used directly

2. Install the watermark positioning tool

Insert picture description here

After the tool is opened, it looks like this:

Insert picture description here

Select the watermark with the mouse, and the position and size of the watermark will be displayed at the top of the tool.

3. ffmpeg tool operation:

The command used is: ffmpeg -i video -vf delogo=x=18:y=9:w=179:h=63 new video

x, y are for locating the watermark position, w, h are for locating the size of the watermark, the data is taken

Insert picture description here

The order is x, y, w, h

For delogo, you can go to the ffmpeg official website to check the meaning of the relevant parameters http://ffmpeg.org/ffmpeg-all.html#delogo

Insert picture description here

If there are multiple watermarks, you can use the command directly:

ffmpeg -i video-vf delogo=x=18:y=9:w=179:h=63,delogo=x=?:y=?:w=?:h=?,delogo=x=?:y= ?:w=?:h=? New video

example:

After the operation is performed, the data is displayed, including the video size change after the watermark is removed, and the removal progress.

Insert picture description here

Guess you like

Origin blog.csdn.net/mozushixin_1/article/details/89189399