Watermark With ffmpeg

Questions involving a Windows version of FFmpeg.
Post Reply
Posts: 1
Joined: Fri Feb 01, 2019 9:25 am

Watermark With ffmpeg

Post by YiWhaB »

Hello every one,
I am trying to add a watermark in a video,at first i tried to just use drawtext command,but it's too time-consuming.
So,my first question is if i use drawtext command ,the full video is reencoded?and what is the fastest way for watermarking?
Then i tried to split the video into two and just add water mark at the beginning of the video,finally i concat the two parts of the video,
but when i tried to split the mkv file,it has chapter in its metadata .So i tried to use map_metadata ,but it didn't work.
and then i tried to split the avi file,but the result is that the result file's timeline in the player is not precise.
So,my second question is that how can i split the video efficiently?
Any help would be greatly appreciated.

ps:the command i use to split the video is ffmpeg -i xxx -ss

Posts: 255
Joined: Mon Feb 24, 2014 1:46 pm

Re: Watermark With ffmpeg

Post by pandy »

You can't avoid re-encoding video when applying watermark - perhaps you should focus on improving encoding efficiency if you are unsatisfied with current results.
In theory you could modify video in transformation domain so no classical re-encoding performed - this is feasible but there is no ready to use tool to perform such processing.

Post Reply