[x265] multi-pass: enable slow-firstpass by default.
Deepthi Nandakumar
deepthi at multicorewareinc.com
Fri May 20 12:46:14 CEST 2016
# HG changeset patch
# User Deepthi Nandakumar <deepthi at multicorewareinc.com>
# Date 1463741055 -19800
# Fri May 20 16:14:15 2016 +0530
# Node ID 1b2b9128cffe63f3e19d130e9f15db3445b70abe
# Parent aca781339b4c8dae94ff7da73f18cd4439757e87
multi-pass: enable slow-firstpass by default.
The better the match across multi-pass encode settings, the better the
efficiency
improvement from each pass.
diff -r aca781339b4c -r 1b2b9128cffe doc/reST/cli.rst
--- a/doc/reST/cli.rst Tue May 10 15:33:17 2016 +0530
+++ b/doc/reST/cli.rst Fri May 20 16:14:15 2016 +0530
@@ -1360,13 +1360,13 @@
.. option:: --slow-firstpass, --no-slow-firstpass
- Enable a slow and more detailed first pass encode in multi-pass rate
- control mode. Speed of the first pass encode is slightly lesser and
- quality midly improved when compared to the default settings in a
- multi-pass encode. Default disabled (turbo mode enabled)
+ Enable first pass encode with the exact settings specified.
+ The quality in subsequent multi-pass encodes is better
+ (compared to first pass) when the settings match across each pass.
+ Default enabled.
- When **turbo** first pass is not disabled, these options are
- set on the first pass to improve performance:
+ When slow first pass is disabled, a **turbo** encode with the following
+ go-fast options is used to improve performance:
* :option:`--fast-intra`
* :option:`--no-rect`
diff -r aca781339b4c -r 1b2b9128cffe source/common/param.cpp
--- a/source/common/param.cpp Tue May 10 15:33:17 2016 +0530
+++ b/source/common/param.cpp Fri May 20 16:14:15 2016 +0530
@@ -221,7 +221,7 @@
param->rc.qblur = 0.5;
param->rc.zoneCount = 0;
param->rc.zones = NULL;
- param->rc.bEnableSlowFirstPass = 0;
+ param->rc.bEnableSlowFirstPass = 1;
param->rc.bStrictCbr = 0;
param->rc.bEnableGrain = 0;
@@ -415,7 +415,6 @@
param->bEnableRecursionSkip = 0;
param->maxNumReferences = 5;
param->limitReferences = 0;
- param->rc.bEnableSlowFirstPass = 1;
param->bIntraInBFrames = 1;
param->lookaheadSlices = 0; // disabled for best quality
// TODO: optimized esa
--
Deepthi Nandakumar
Engineering Manager, x265
Multicoreware, Inc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20160520/4101f95f/attachment.html>
More information about the x265-devel
mailing list