fatalpop
Registered Member
- Jan 8, 2012
- 54
- 3
So far I have this code which batch watermarks videos using FFMPEG:
What I'm trying to figure out is how I can control the duration of the watermark so that it appears 60 seconds into the video and disappears 15 seconds later.
I also need the code to be able to be run in batch.
Any help in figuring this out would be appreciated.
Code:
for %%a in ("C:\filepath\*.mp4") do ffmpeg -i "%%a" -q 40 -s 640x480 -vf "movie=watermark.png [watermark]; [in][watermark] overlay=x=(main_w-overlay_w)/2:y=(main_h-overlay_h)/2 [out]" "C:\filepath\%%~na.mp4"
What I'm trying to figure out is how I can control the duration of the watermark so that it appears 60 seconds into the video and disappears 15 seconds later.
I also need the code to be able to be run in batch.
Any help in figuring this out would be appreciated.