vpx.conf.xml 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. <configuration name="vpx.conf" description="VPX Config">
  2. <settings>
  3. <!-- <param name="debug" value="1"/> -->
  4. <!-- max bitrate the system support, truncate if over limit: bps string -->
  5. <!-- <param name="max-bitrate" value="5mb"/> -->
  6. <!-- maximum rtp payload size before encryption: 500..1440 -->
  7. <!-- <param name="rtp-slice-size" value="1200"/> -->
  8. <!-- minimum time to generate a new key frame in ms: 10..3000 /> -->
  9. <!-- <param name="key-frame-min-freq" value="250"/> -->
  10. <!-- integer, or 'auto', or 'cpu[/<divisor>[/<max>]]' -->
  11. <!-- <param name="dec-threads" value="cpu/2/4"/> -->
  12. <!-- <param name="enc-threads" value="1"/> -->
  13. </settings>
  14. <profiles>
  15. <profile name="vp8">
  16. <!-- integer, or 'auto', or 'cpu[/<divisor>[/<max>]]' -->
  17. <!-- <param name="dec-threads" value="cpu/2/4"/> -->
  18. <!-- <param name="enc-threads" value="1"/> -->
  19. <!-- 0..3 -->
  20. <!-- <param name="g-profile" value="2"/> -->
  21. <!-- DEFAULT | PARTITIONS -->
  22. <!-- <param name="g-error-resilient" value="PARTITIONS"/> -->
  23. <!-- ONE_PASS, FIRST_PASS, LAST_PASS"/> -->
  24. <!-- <param name="g-pass" value="ONE_PASS"/> -->
  25. <!-- 0..25 -->
  26. <!-- <param name="g-lag-in-frames" value="0"/> -->
  27. <!-- 0..100 -->
  28. <!-- <param name="rc-dropframe-thresh" value="0"/> -->
  29. <!-- 0, 1 -->
  30. <!-- <param name="rc-resize-allowed" value="1"/> -->
  31. <!-- 0.. -->
  32. <!-- <param name="rc-scaled-width" value="1"/> -->
  33. <!-- 0.. -->
  34. <!-- <param name="rc-scaled-height" value="1"/> -->
  35. <!-- 0..100 -->
  36. <!-- <param name="rc-resize-up-thresh" value="60"/> -->
  37. <!-- 0..100 -->
  38. <!-- <param name="rc-resize-down-thresh" value="30"/> -->
  39. <!-- VBR, CBR, CQ, Q -->
  40. <!-- <param name="rc-end-usage" value="CBR"/> -->
  41. <!-- bps string -->
  42. <!-- <param name="rc-target-bitrate" value="1mb"/> -->
  43. <!-- 0..63 -->
  44. <!-- <param name="rc-min-quantizer" value="0"/> -->
  45. <!-- 0..63 -->
  46. <!-- <param name="rc-max-quantizer" value="63"/> -->
  47. <!-- 0..1000 -->
  48. <!-- <param name="rc-undershoot-pct" value="100"/> -->
  49. <!-- 0..1000 -->
  50. <!-- <param name="rc-overshoot-pct" value="15"/> -->
  51. <!-- 1.. -->
  52. <!-- <param name="rc-buf-sz" value="5000"/> -->
  53. <!-- 1.. -->
  54. <!-- <param name="rc-buf-initial-sz" value="1000"/> -->
  55. <!-- 1.. -->
  56. <!-- <param name="rc-buf-optimal-sz" value="1000"/> -->
  57. <!-- 0..100 -->
  58. <!-- <param name="rc-2pass-vbr-bias-pct" value="50"/> -->
  59. <!-- 1.. -->
  60. <!-- <param name="rc-2pass-vbr-minsection-pct" value="0"/> -->
  61. <!-- 1.. -->
  62. <!-- <param name="rc-2pass-vbr-maxsection-pct" value="400"/> -->
  63. <!-- AUTO, DISABLED -->
  64. <!-- <param name="kf-mode" value="AUTO"/> -->
  65. <!-- 0.. -->
  66. <!-- <param name="kf-min-dist" value="0"/> -->
  67. <!-- 0.. -->
  68. <!-- <param name="kf-max-dist" value="360"/> -->
  69. <!-- 0..5 -->
  70. <!-- <param name="ss-number-layers" value="1"/> -->
  71. <!-- 0..5 -->
  72. <!-- <param name="ts-number-layers" value="1"/> -->
  73. <!-- 0..16 -->
  74. <!-- <param name="ts-periodicity" value="0"/> -->
  75. <!-- 0..3 -->
  76. <!-- <param name="temporal-layering-mode" value="0"/> -->
  77. <!-- params SET by codec_control -->
  78. <!-- -16..16 -->
  79. <!-- <param name="cpuused" value="-6"/> -->
  80. <!-- 0..3, if cpu==1 then 0 else 3 -->
  81. <!-- <param name="token-parts" value="3"/> -->
  82. <!-- 0.. -->
  83. <!-- <param name="static-thresh" value="100"/> -->
  84. <!-- 0..6 -->
  85. <!-- <param name="noise-sensitivity" value="1"/> -->
  86. </profile>
  87. <profile name="vp9">
  88. <!-- integer, or 'auto', or 'cpu[/<divisor>[/<max>]]' -->
  89. <!-- <param name="dec-threads" value="cpu/2/4"/> -->
  90. <!-- <param name="enc-threads" value="1"/> -->
  91. <param name="g-profile" value="0"/>
  92. <!-- DEFAULT | PARTITIONS -->
  93. <!-- <param name="g-error-resilient" value="PARTITIONS"/> -->
  94. <!-- ONE_PASS, FIRST_PASS, LAST_PASS"/> -->
  95. <!-- <param name="g-pass" value="ONE_PASS"/> -->
  96. <!-- 0..25 -->
  97. <!-- <param name="g-lag-in-frames" value="0"/> -->
  98. <!-- 0..100 -->
  99. <!-- <param name="rc-dropframe-thresh" value="0"/> -->
  100. <!-- 0, 1 -->
  101. <!-- <param name="rc-resize-allowed" value="1"/> -->
  102. <!-- 0.. -->
  103. <!-- <param name="rc-scaled-width" value="0"/> -->
  104. <!-- 0.. -->
  105. <!-- <param name="rc-scaled-height" value="0"/> -->
  106. <!-- 0..100 -->
  107. <!-- <param name="rc-resize-up-thresh" value="0"/> -->
  108. <!-- 0..100 -->
  109. <!-- <param name="rc-resize-down-thresh" value="0"/> -->
  110. <!-- VBR, CBR, CQ, Q -->
  111. <!-- <param name="rc-end-usage" value="CBR"/> -->
  112. <!-- bps string -->
  113. <!-- <param name="rc-target-bitrate" value="1mb"/> -->
  114. <!-- 0..63 -->
  115. <!-- <param name="rc-min-quantizer" value="0"/> -->
  116. <!-- 0..63 -->
  117. <!-- <param name="rc-max-quantizer" value="63"/> -->
  118. <!-- 0..100 -->
  119. <!-- <param name="rc-undershoot-pct" value="100"/> -->
  120. <!-- 0..100 -->
  121. <!-- <param name="rc-overshoot-pct" value="15"/> -->
  122. <!-- 1.. -->
  123. <!-- <param name="rc-buf-sz" value="5000"/> -->
  124. <!-- 1.. -->
  125. <!-- <param name="rc-buf-initial-sz" value="1000"/> -->
  126. <!-- 1.. -->
  127. <!-- <param name="rc-buf-optimal-sz" value="1000"/> -->
  128. <!-- 0..100 -->
  129. <!-- <param name="rc-2pass-vbr-bias-pct" value="50"/> -->
  130. <!-- 1.. -->
  131. <!-- <param name="rc-2pass-vbr-minsection-pct" value="0"/> -->
  132. <!-- 1.. -->
  133. <!-- <param name="rc-2pass-vbr-maxsection-pct" value="2000"/> -->
  134. <!-- AUTO, DISABLED -->
  135. <!-- <param name="kf-mode" value="AUTO"/> -->
  136. <!-- 0.. -->
  137. <!-- <param name="kf-min-dist" value="0"/> -->
  138. <!-- 0.. -->
  139. <!-- <param name="kf-max-dist" value="360"/> -->
  140. <!-- 0..5 -->
  141. <!-- <param name="ss-number-layers" value="1"/> -->
  142. <!-- 0..5 -->
  143. <!-- <param name="ts-number-layers" value="1"/> -->
  144. <!-- 0..16 -->
  145. <!-- <param name="ts-periodicity" value="1"/> -->
  146. <!-- 0..3 -->
  147. <!-- <param name="temporal-layering-mode" value="0"/> -->
  148. <!-- params SET by codec_control -->
  149. <!-- 0, 1 -->
  150. <!-- <param name="lossless" value="0"/> -->
  151. <!-- -8..8 -->
  152. <!-- <param name="cpuused" value="-8"/> -->
  153. <!-- 0..3, if cpu==1 then 0 else 3 -->
  154. <!-- <param name="token-parts" value="3"/> -->
  155. <!-- 0.. -->
  156. <!-- <param name="static-thresh" value="1000"/> -->
  157. <!-- 0..6 -->
  158. <!-- <param name="noise-sensitivity" value="0"/> -->
  159. <!-- 0.. -->
  160. <!-- <param name="max-intra-bitrate-pct" value="0"/> -->
  161. <!-- DEFAULT, SCREEN -->
  162. <!-- <param name="vp9e-tune-content" value="SCREEN"/> -->
  163. </profile>
  164. <profile name="conference">
  165. <param name="dec-threads" value="cpu/2/4"/>
  166. <param name="enc-threads" value="4"/>
  167. <codecs>
  168. <!-- profiles will be parsed at runtime
  169. to overwrite this profile params if codec matches -->
  170. <codec name="vp8" profile="vp8"/>
  171. <!-- <codec name="vp8" profile="conference-vp8"/> -->
  172. <codec name="vp9" profile="vp9"/>
  173. </codecs>
  174. </profile>
  175. <profile name="conference-vp8">
  176. <param name="dec-threads" value="cpu/2/4"/>
  177. <param name="enc-threads" value="cpu/2/4"/>
  178. <param name="g-profile" value="2"/>
  179. <!-- DEFAULT | PARTITIONS -->
  180. <param name="g-error-resilient" value="PARTITIONS"/>
  181. <!-- ONE_PASS, FIRST_PASS, LAST_PASS"/> -->
  182. <!-- <param name="g-pass" value="ONE_PASS"/> -->
  183. <!-- <param name="g-lag-in-frames" value="0"/> -->
  184. <!-- <param name="rc-dropframe-thresh" value="0"/> -->
  185. <!-- <param name="rc-resize-allowed" value="1"/> -->
  186. <!-- <param name="rc-scaled-width" value="0"/> -->
  187. <!-- <param name="rc-scaled-height" value="0"/> -->
  188. <!-- <param name="rc-resize-up-thresh" value="0"/> -->
  189. <!-- <param name="rc-resize-down-thresh" value="0"/> -->
  190. <!-- VBR, CBR, CQ, Q -->
  191. <param name="rc-end-usage" value="CBR"/>
  192. <!-- bps -->
  193. <param name="rc-target-bitrate" value="1mb"/>
  194. <param name="rc-min-quantizer" value="0"/>
  195. <param name="rc-max-quantizer" value="63"/>
  196. <param name="rc-undershoot-pct" value="100"/>
  197. <param name="rc-overshoot-pct" value="50"/>
  198. <param name="rc-buf-sz" value="5000"/>
  199. <param name="rc-buf-initial-sz" value="1000"/>
  200. <param name="rc-buf-optimal-sz" value="1000"/>
  201. <!-- <param name="rc-2pass-vbr-bias-pct" value="0"/> -->
  202. <!-- <param name="rc-2pass-vbr-minsection-pct" value="0"/> -->
  203. <!-- <param name="rc-2pass-vbr-maxsection-pct" value="0"/> -->
  204. <!-- AUTO, DISABLED -->
  205. <param name="kf-mode" value="AUTO"/>
  206. <param name="kf-min-dist" value="0"/>
  207. <param name="kf-max-dist" value="240"/>
  208. <!-- <param name="ss-number-layers" value="0"/> -->
  209. <!-- <param name="ts-number-layers" value="0"/> -->
  210. <!-- <param name="ts-periodicity" value="0"/> -->
  211. <!-- <param name="temporal-layering-mode" value="0"/> -->
  212. <!-- params SET by codec_control -->
  213. <param name="lossless" value="0"/>
  214. <!-- cpuused -16..16 -->
  215. <param name="cpuused" value="-6"/>
  216. <!-- cpu string or integer -->
  217. <param name="token-parts" value="cpu/2/3"/>
  218. <param name="static-thresh" value="100"/>
  219. <param name="noise-sensitivity" value="1"/>
  220. <!-- <param name="max-intra-bitrate-pct" value="0"/> -->
  221. </profile>
  222. </profiles>
  223. </configuration>