Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set ep=summer wars
- set x264=F:\264.exe
- set avs2yuv=F:\RipBot264v1.14.5\Tools\avs2yuv\avs2yuv.exe
- set x264params=--threads 6 --profile high --level 4.1 --stats "%ep%.stats" --deblock -2:-2 --bframes 8 --b-pyramid normal --ref 4 --qpmin 9 --qpmax 26 --qcomp 0.7 --no-mbtree --merange 24 --me umh --subme 9 --partitions all --psy-rd 0.85:0 --no-dct-decimate --trellis 2 --b-adapt 2 --direct auto --weightp 2 --aq-strength 0.9 --sar 1:1
- "%avs2yuv%" "%ep%.avs" - -o "H:\%ep%.avs" | "%x264%" - --stdin y4m --pass 1 --crf 17 --slow-firstpass %x264params% --output NUL 2>"ep_%ep%.log"
- for /F "tokens=7 delims=. " %%A in ('findstr encoded ep_%ep%.log') do set bitrate=%%A
- echo %bitrate%
- "%x264%" --pass 2 --bitrate %bitrate% %x264params% --output "%ep%.mkv" "H:\%ep%.avs"
- pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement