Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

FFmpeg command line to remove the watermark

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article introduces the knowledge of "the command line of FFmpeg to remove watermarks". Many people will encounter such a dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Now that you are familiar with the principle, let's take a look at the specific process of removing the watermark:

1. FFmpeg command line to remove watermark

Ffmpeg-I test.mp4-vf delogo=x=?:y=?:w=?:h=?:show=? Out.mp4

Second, command line parameter interpretation

-I: enter the file name of the video, here is test.mp4, and enter the name of the video file to which the watermark needs to be removed in actual use.

-vf delogo:-vf delogo means to use the filter for de-watermarking in ffmpeg

Do you know how to use a lot of money to show off your needs? Represents the parameters of the delogo filter, xrecoery ypenh has been detailed in the principle section, show indicates whether to display a rectangular box, if 0 means not to display, if 1 means to display, at this time a green rectangular box will be displayed in our selected area, and the default value of show is 0.

Note: when removing the watermark, we need to manually determine the rectangular area for filter operation according to the resolution of the video. This process may require us to keep trying to determine the best range of rectangular area. However, in this example, the watermark added in the previous section is taken as an example, so it is known that its position is 100-100-50-50-50-40-50, that is, the watermark starts from the (100-50) coordinates of the video picture, and the watermark is 250 pixels wide and 46 pixels high.

This is the end of the FFmpeg command line for removing watermarks. Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report