"100","MEMBERSHIPVIP",1
"200","MEMBERSHIPVIPPLUS",1
"ELSE","MEMBERSHIPVIP",1
ffmpeg -f lavfi -i color=s=1080x1920 -loop 1 -t 0.08 -i "%~1" -filter_complex "[1:v]scale=1080:-2,setpts=if(eq(N\,0)\,0\,1+1/0.02/TB),fps=25[fg]; [0:v][fg]overlay=y=-'t*h*0.02':eof_action=endall[v]" -map "[v]" output-nomusic.mp4 |
#Reduce input file resolution by half :: -vf "scale=trunc(iw/4)*2:trunc(ih/4)*2" | |
#Reduce quality (Higher is lower qualuty) :: -crf 24 | |
#Codec :: -vcodec libx265 OR -vcodec libx264 | |
ffmpeg -i input.mp4 -vf "scale=trunc(iw/4)*2:trunc(ih/4)*2" -vcodec libx264 -crf 24 output.mp4 |