OSDN Git Service

エンコードオプションを調整(ビットレート指定からCRF指定に)
authorbutameron <butameron@opap.jp>
Sun, 19 Jun 2016 11:19:50 +0000 (20:19 +0900)
committerbutaman <butaman_git@ebuta.net>
Mon, 28 Nov 2016 12:33:59 +0000 (21:33 +0900)
Makefile

index 8bc0da4..d1900ed 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -19,8 +19,9 @@ REMUXER:=$(ENC_UTIL_DIR)/remuxer.exe
 \r
 AOPTION=-b 256000 --profile 2\r
 AOPTION_ECO=-b 64000 --profile 29\r
-VOPTION=--opencl --bitrate 1500 --vbv-maxrate 3500 --vbv-bufsize 3400 --profile high --preset slower --partitions all --me umh --subme 10 --merange 24 --ref 6 --bframes 5 --b-pyramid normal --no-dct-decimate --no-fast-pskip --qcomp 0.70 --qpstep 20 \r
-VOPTION_ECO=--opencl --bitrate 230 --profile main --preset slower --8x8dct --partitions "p8x8,b8x8,i8x8,i4x4" --me "umh" --subme 10 --merange 24 --ref 6 --bframes 5 --b-pyramid normal --no-dct-decimate --no-fast-pskip --qcomp 0.70 --qpstep 20 \r
+VOPTION_COMMON=--me umh --subme 9 --merange 16 --ref 8 --bframes 5 --b-pyramid normal --no-dct-decimate --no-fast-pskip --qcomp 0.70 --qpmin 0 --qpstep 8 --scenecut 65 --aq-mode 1 --aq-strength 0.8 --keyint 240 --min-keyint 24\r
+VOPTION=    --opencl --crf 16 --vbv-maxrate 3500 --vbv-bufsize 3400 --profile high --preset slower --partitions all $(VOPTION_COMMON)\r
+VOPTION_ECO=--opencl --bitrate 230  --profile main --preset slower --8x8dct --partitions "p8x8,b8x8,i8x8,i4x4"      $(VOPTION_COMMON)\r
 VOPT_FAST=--analyse none --subme 1 --me dia\r
 VOPT_SLOW=\r
 FPS=24\r
@@ -59,10 +60,9 @@ $(TMPV2): $(TMPV1)
 \r
 \r
 $(TMPV1): $(wildcard *.avs) $(wildcard doga/*.avs) $(wildcard doga/_output/*.avi) $(VER_AVS)\r
-       $(X264) $(VOPTION) --pass 1 $(VOPT_FAST) -o $(TMPV1) $(IN_AVS)\r
-       $(X264) $(VOPTION) --pass 2 $(VOPT_SLOW) -o $(TMPV1) $(IN_AVS)\r
-       \r
+       $(X264) $(VOPTION) $(VOPT_SLOW) -o $(TMPV1) $(IN_AVS)\r
        \r
+\r
 $(TMPA1): $(wildcard sound/*.avs) $(wildcard sound/*.wav) $(wildcard sound/*.mp3) $(wildcard sound/*.aac) $(wildcard sound/*.m4a)\r
        $(AVS2WAV) $(IN_AVS)  - |$(FDKAAC) $(AOPTION) -o $(TMPA1) -\r
        \r