Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo off
- for %%f in (*x264*.mkv) do (call :convertit "%%f"
- )
- goto :EOF
- :convertit
- setlocal ENABLEDELAYEDEXPANSION
- set input=%~1
- set end=ReEncode_BTV.mkv
- set output=%input:x264=HEVC%
- set endbit=%output:*HEVC-=%
- call set output=%%output:!endbit!=!end!%%
- set qual=18
- ffmpeg -i "%input%" -metadata title="%output%" -c:v hevc_nvenc -rc constqp -cq %qual% -rc-lookahead 32 -g 600 -c:a copy -c:s copy "%output%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement