I have the following code which adds a small overlay text over my video:
ffmpeg -i video.mp4 -vf "drawtext=fontfile=path\font.ttf:text='ABC':fontcolor=black:fontsize=45:box=1:boxcolor=white@1:boxborderw=5:x=(w-text_w)/2:y=50:enable='gte(t,5)',drawtext=fontfile=path\font.ttf:text='DEF':fontcolor=black:fontsize=45:box=1:boxcolor=white@1:boxborderw=5:x=(w-text_w)/2:y=100:enable='gte(t,5)'" -codec:a copy output.mp4
I have around videos for which I want to do the same command. I have the 100 commands ready through excel formulas. Now, can someone please help me how I can execute these 100 FFMPEG commands as a batch file on Windows 11?