casos.blogg.se

Delphi ffmpeg filters watermark
Delphi ffmpeg filters watermark








and refer to the input stream and the output stream of the video. This label will be used in the rest of the code.

delphi ffmpeg filters watermark

Here we load the file as a video source (by using movie) regardless of whether or not the file is an video. Movie=watermarklogo.png will load the file you want to use as the watermark. In this case, this is everything in the quotes. Inputvideo.avi is your input file specified by -i. Calling this command from another program should be simple enough.īreaking this down bit by bit to understand it:įfmpeg is the program you'll be using to add the watermark. Produces the video with the image "watermarklogo.png" in the top left hand corner.

delphi ffmpeg filters watermark

The command: ffmpeg –i inputvideo.avi -vf "movie=watermarklogo.png overlay=10:10 " outputvideo.flv










Delphi ffmpeg filters watermark