-
-
Save karim23657/e3239ee4e04d92d2028fbc46d4c9649d to your computer and use it in GitHub Desktop.
Downsample mp4s in directory to 360p with ffmpeg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for %%f in (*.mp4) do call ffmpeg -i "%%~nf.mp4" -vcodec libx264 -vf scale=-1:360 -r 12 -preset fast -acodec copy "%%~nf.360p.mp4" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment