Guest User

Untitled

a guest
Apr 17th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 1.02 KB | None | 0 0
  1. target = $(shell echo {0{1..9},{10..26}}.mkv)
  2. x264s = \
  3.      --cabac --ref=4 --deblock=-2:-2 --partitions=all --me=umh --subme=9 \
  4.      --psy --psy-rd=1.00:0.00 --mixed-ref --merange=24 \
  5.      --trellis=2 --8x8dct --fast-pskip --direct=auto \
  6.      --chroma-qp-offset=-2 --threads=12 --no-dct-decimate --no-sliced-threads --nr=0 \
  7.      --no-interlaced --bframes=8  --chroma-qp-offset=0 \
  8.      --b-pyramid=2 --b-adapt=2 --b-bias=0 --weightb --no-dct-decimate \
  9.      --weightp=2 --keyint=250 --min-keyint=23 --scenecut=40 \
  10.      --rc-lookahead=40 --no-mbtree --qcomp=0.60 \
  11.      --qpmin=9 --qpmax=30 --crf-max=30 --qpstep=4 \
  12.      --vbv-maxrate=40000 --vbv-bufsize=62500 --nal-hrd=none \
  13.      --ipratio=1.40 --pbratio=1.30 --aq-strength=0.90
  14.  
  15. all: $(target)
  16.  
  17. $(target): %.mkv: enc\\%.264 aud\\%.ac3
  18.     mkvmerge "$<" "aud\\$*.ac3" -o "$@"
  19.  
  20. enc\\%.264: enc\%.l.264
  21.     x264.64 "$<" --output "$@" --crf=16.5 $(x264s)
  22.  
  23. enc\\%.l.264 : scripts\%.avs
  24.     avs2yuv "$<" - | x264 - --demuxer y4m --qp 0 -o "$@"
  25.  
  26. aud\\%.ac3: audio
  27.  
  28. audio:
  29.     aud\aenc.bat
  30.     echo 1 > audio
Add Comment
Please, Sign In to add comment