Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- setlocal EnableDelayedExpansion
- set outdir=C:\pup_resize
- if not exist %outdir% md %outdir%
- for /R %%f in (*.mp4) do (
- if not exist "%outdir%%%~pf" md "%outdir%%%~pf"
- ffmpeg -i "%%~df%%~pf%%~nf%%~xf" -c:v libx264 -preset fast -crf 24 -profile:v baseline -pix_fmt yuv420p -b:a 128k "%outdir%%%~pf%%~nf%%~xf"
- )
- pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement