Guest User

Untitled

a guest
Jun 22nd, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. diff --git a/Makefile b/Makefile
  2. index 594e98b..1a3f689 100644
  3. --- a/Makefile
  4. +++ b/Makefile
  5. @@ -105,12 +105,12 @@ endif
  6.  
  7. SRC2 = $(SRCS) $(SRCCLI)
  8. # These should cover most of the important codepaths
  9. -OPT0 = --crf 30 -b1 -m1 -r1 --me dia --no-cabac --direct temporal --no-ssim --no-psnr
  10. -OPT1 = --crf 16 -b2 -m3 -r3 --me hex -8 --direct spatial --no-dct-decimate
  11. -OPT2 = --crf 26 -b2 -m5 -r2 --me hex -8 -w --cqm jvt --nr 100
  12. -OPT3 = --crf 18 -b3 -m9 -r5 --me umh -8 -t1 -A all --mixed-refs -w --b-pyramid --direct auto --no-fast-pskip
  13. -OPT4 = --crf 22 -b3 -m7 -r4 --me esa -8 -t2 -A all --mixed-refs --psy-rd 1.0:1.0
  14. -OPT5 = --frames 50 --crf 24 -b3 -m9 -r3 --me tesa -8 -t1 --mixed-refs
  15. +OPT0 = --crf 30 -b1 -m1 -r1 --me dia --no-cabac --direct temporal
  16. +OPT1 = --crf 16 -b2 -m3 -r3 --me hex --direct spatial --no-dct-decimate
  17. +OPT2 = --crf 26 -b2 -m5 -r2 --me hex --cqm jvt --nr 100
  18. +OPT3 = --crf 18 -b3 -m9 -r5 --me umh -t1 -A all --b-pyramid --direct auto --no-fast-pskip
  19. +OPT4 = --crf 22 -b3 -m7 -r4 --me esa -t2 -A all --psy-rd 1.0:1.0
  20. +OPT5 = --frames 50 --crf 24 -b3 -m9 -r3 --me tesa -t1 --mixed-refs
  21. OPT6 = --frames 50 -q0 -m9 -r2 --me hex -Aall
  22. OPT7 = --frames 50 -q0 -m2 -r1 --me hex --no-cabac
  23.  
  24. @@ -125,7 +125,7 @@ fprofiled:
  25. mv config.mak config.mak2
  26. sed -e 's/CFLAGS.*/& -fprofile-generate/; s/LDFLAGS.*/& -fprofile-generate/' config.mak2 > config.mak
  27. $(MAKE) x264$(EXE)
  28. - $(foreach V, $(VIDS), $(foreach I, 0 1 2 3 4 5 6 7, ./x264$(EXE) $(OPT$I) $(V) --progress -o $(DEVNULL) ;))
  29. + $(foreach V, $(VIDS), $(foreach I, 0 1 2 3 4 5 6 7, ./x264$(EXE) $(OPT$I) $(V) --threads 1 -o $(DEVNULL) ;))
  30. rm -f $(SRC2:%.c=%.o)
  31. sed -e 's/CFLAGS.*/& -fprofile-use/; s/LDFLAGS.*/& -fprofile-use/' config.mak2 > config.mak
  32. $(MAKE)
Add Comment
Please, Sign In to add comment