cmd/gif_mp4.bat

4 lines
143 B
Batchfile
Raw Normal View History

2019-06-12 05:41:31 +00:00
set basename=%~n1
set newname="%basename%.mp4"
ffmpeg -i %1 -pix_fmt yuv420p -preset placebo -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" %newname%