![]() ![]() In some cases you might not know the exact dimensions of the videos you’ll be watermarking. We specify a specific position of the overlay in pixels – 10:10 puts the video 10 pixels from the top and 10 pixels from the right. Once you have ffmpeg installed, adding a watermark is as easy as passing your existing source through an overlay filter like so: ffmpeg -i test.mp4 -i watermark.png -filter_complex "overlay=10:10" test1.mp4īasically, we’re passing in the original video, and an overlay image as inputs, then passing it through the filter, and saving the output as test1.mp4. Then you don’t have to worry about including and installing all the right dependencies and codecs you will be using. The easiest way to install ffmpeg is to download a pre-built binary for your specific platform. ![]() ![]() FFMPEG filters provide a powerful way to programmatically enhance or alter videos, and it’s fairly simple to add a watermark to a video using the overlay filter. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |