ffmpeg_test.png

Preview video at the bottom

Installing FFmpeg

Centos 7

 **Install EPEL Release. EPEL support is required because the installation requires other repo sources sudo yum install -y epel-release rpm **If the prompt of missing code appears, execute this command sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7  **Import a code sudo rpm --import  http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro   **Install the nux dextop source sudo rpm -Uvh  http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm **Installing FFMPEG sudo yum install -y ffmpeg **Check whether FFMPEG is successfully installed. The version of FFMPEG will be displayed ffmpeg -version

FFmpeg de watermark

Generate a frame image from the video

 INFILE=FFmpeg_music_mv.mp4 ffmpeg -hide_banner -ss 3 -y -i "${INFILE}" -f image2 -vframes 1 ${INFILE}.jpg **FFmpeg-music-mv.mp4 is the video in the current directory **Get a frame image in the current directory FFmpeg-music-mv.mp4.jpg

Get watermark coordinates
reference resources: ffmpeg-watermark-position-extraction-tools

Open Web Page Upload the image obtained above, and manually move the mask to the watermark position [Resize] to cover the watermark

Command: the area will generate commands (only 15 seconds of video content will be captured)
Ffmpeg - ide_banner - googlevel error - y - i Source video name. mp4 - vf delogo=x=771: y=20: w=144: h=58: show=0 - t 15 De watermark output name.mp4

De watermark
 INFILE=FFmpeg_music_mv.mp4 # Source video ffmpeg -hide_banner -loglevel error -y -i FFmpeg_music_mv.mp4 -vf delogo=x=771:y=20:w=144:h=58:show=0 -t 15 222.mp4

Complete content removal time parameters: -t 15
command

 INFILE=Source Video.mp4 Ffmpeg - hide_banner - googlevel error - y - i Source Video. mp4 - vf delogo=x=240: y=446: w=256: h=114: show=0 After Process.mp4

Source video preview:
De watermark video preview:

End
If you think my article is useful to you, please feel free to appreciate it