Skip to content

Instantly share code, notes, and snippets.

@nathanchere
Created January 19, 2018 09:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nathanchere/2e83850be830333cc42280af0e5b57f4 to your computer and use it in GitHub Desktop.
Save nathanchere/2e83850be830333cc42280af0e5b57f4 to your computer and use it in GitHub Desktop.
Downsample mp4s in directory to 360p with ffmpeg
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