Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- echo Redimensionnement et conversion en H265
- echo Bas‚ sur FFMPEG www.ffmpeg.org
- mkdir convert
- rem sets the horizontal resolution:
- SET /P taille=R‚solution horizontale ?
- rem sets the CRF value:
- SET /P qualite=Quelle qualit‚ (de pr‚f‚rence autour de 20)
- rem Please add the full path to ffmpeg.exe if it is not in your system's PATH variable.
- rem To begin the conversion, drop the file(s) on the batch.
- @FOR %%A IN (%*) DO ffmpeg -i %%A -vf scale=%taille%:-1 -c:v libx265 -preset slow -crf %qualite% -c:a aac -strict experimental -b:a 128k ".\convert\%%~nA.mp4"
- @pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement