sus
Regular Member
- Nov 16, 2017
- 272
- 110
I am using a code below to add watermark on bulk video. It is working fine but I want to limit my watermark for first 30 second and last 30 second. What should I do?
Code:-
for %%a in ("*.mp4") do ffmpeg -i "%%a" -i watermark.png -filter_complex "overlay=enable='lte(t,30)':main_w-(overlay_w+10):main_h-(20+overlay_h)" "newfiles\%%~na.mp4"
pause
So that is my code. I have done google search, read all thread and forums but I couldnot understand them. So please enlighten me.
Below are some link to my answer. But I didnot understand them so please any one help me.
Stackflow :- https://stackoverflow.com/questions/9160771/ffmpeg-watermark-first-30-second
Superuser :- https://superuser.com/questions/683...r-the-first-30-seconds-in-a-video-with-ffmpeg
Any help will be appreciated.
Code:-
for %%a in ("*.mp4") do ffmpeg -i "%%a" -i watermark.png -filter_complex "overlay=enable='lte(t,30)':main_w-(overlay_w+10):main_h-(20+overlay_h)" "newfiles\%%~na.mp4"
pause
So that is my code. I have done google search, read all thread and forums but I couldnot understand them. So please enlighten me.
Below are some link to my answer. But I didnot understand them so please any one help me.
Stackflow :- https://stackoverflow.com/questions/9160771/ffmpeg-watermark-first-30-second
Superuser :- https://superuser.com/questions/683...r-the-first-30-seconds-in-a-video-with-ffmpeg
Any help will be appreciated.