shithub: opus-tools

Download patch

ref: 839da0edc19e9d538501919f74ff36b96acb63a8
parent: 7734f55bc535c6d3d0fbb27c55e38f52ba6b7764
author: Gregory Maxwell <[email protected]>
date: Wed Sep 19 12:43:24 EDT 2012

Add some notes on the meaning of the complexity knob.

--- a/man/opusenc.1
+++ b/man/opusenc.1
@@ -100,7 +100,9 @@
 .IP "--hard-cbr"
 Use hard constant bitrate encoding
 .IP "--comp N"
-Encoding computational complexity (0-10, default: 10)
+Encoding computational complexity (0-10, default: 10). Zero gives the
+fastest encodes but lower quality, while 10 gives the highest quality
+but slower encoding.
 .IP "--framesize N"
 Maximum frame size in milliseconds (2.5, 5, 10, 20, 40, 60, default: 20)
 .br
--- a/src/opusenc.c
+++ b/src/opusenc.c
@@ -128,7 +128,7 @@
   printf(" --vbr              Use variable bitrate encoding (default)\n");
   printf(" --cvbr             Use constrained variable bitrate encoding\n");
   printf(" --hard-cbr         Use hard constant bitrate encoding\n");
-  printf(" --comp n           Encoding complexity (0-10, default: 10)\n");
+  printf(" --comp n           Encoding complexity (0-10, default: 10 (slowest))\n");
   printf(" --framesize n      Maximum frame size in milliseconds\n");
   printf("                      (2.5, 5, 10, 20, 40, 60, default: 20)\n");
   printf(" --expect-loss      Percentage packet loss to expect (default: 0)\n");