1

Topic: QSVEnc Settings

Hi,

what are your QSVEnc Setting for video quallity and small/optimum size ?

2

Re: QSVEnc Settings

'QSVEnc->Main->General Settings->Encoding mode' icq with lookahead *
'QSVEnc->Main->General Settings->Quantization strength' as low as you need to archive the quality you want.
'QSVEnc->Main->Restrictions->Format->H.265' *
'QSVEnc->Main->Rate Control' enable everything *
'QSVEnc->Main->Quality->best' *
'QSVEnc->Main->Trellis->all' *
'QSVEnc->Main->Lookahead' larger = better  *
'QSVEnc->Main->Lookahead quanlity->slow' *
'QSVEnc->Main->Lookahead windows' larger = better  (more than 80 is probably overkill) *
'QSVEnc->Main->Input butter->16' *
'QSVEnc->Frame->Adaptive frame placement for I-frames' should be enabled *
'QSVEnc->Frame->Adaptive frame placement for B-frames' should be enabled *
'QSVEnc->Frame->Max GOP' size: 0 *
'QSVEnc->Frame->Open GOP' should be enabled *
'QSVEnc->Frame->Strict GOP' should be disabled *
'QSVEnc->Frame->Adjust for scene change' should be enabled *
'QSVEnc->Frame->Slice Count->0' *
'QSVEnc->Frame->Maximum number of consequitive b-frames' more is better *
'QSVEnc->Frame->B-frame Pyramid' should be enabled *
'QSVEnc->Frame->Direct bias' should be enabled *
'QSVEnc->VUI/Color' should match the source

As a side note:
QSVEnc can even produce better quality is non-gpu settings are used, but Hybrid doesn't support those,...

Settings below are available only for software ecoding.
   --rdo                        use rate distortion optmization
   --inter-pred <int>           set minimum block size used for
   --intra-pred <int>           inter/intra prediction
                                  0: auto(default)   1: 16x16
                                  2: 8x8             3: 4x4
   --mv-search <int>            set window size for mv search
                                  default: 0 (auto)
   --mv-precision <int>         set precision of mv search
                                  0: auto(default)   1: full-pell
                                  2: half-pell       3: quater-pell

*  if your cpu with the installed drivers supports it


Cu Selur

3

Re: QSVEnc Settings

Some of the settings to choose might depend on CPU model ?
as I can`t select:

'QSVEnc->Main->Restrictions->Format->H.265' *
'QSVEnc->Frame->B-frame Pyramid' should be enabled *
'QSVEnc->Frame->Direct bias' should be enabled *

4

Re: QSVEnc Settings

Some of the settings to choose might depend on CPU model ?

Yes. (that is why I added the '*')
If you call QSVEncC with '--check-features' you get something like:

QSVEncC.exe --check-features
QSVEncC (x64) 2.21 by rigaya, Nov 15 2015 18:44:38 (VC 1900/Win/avx2)
based on Intel(R) Media SDK Encoding Sample 6,0,0,98947
  avi reader:   enabled
  avs reader:   enabled
  vpy reader:   enabled
  avqsv reader: enabled [H.264/AVC, HEVC, MPEG2, VC-1]

Environment Info
OS : Windows 10 (x64)
CPU: Intel Core i7-4770K @ 3.50GHz [TB: 3.80GHz] (4C/8T) <Haswell>
RAM: Used 6596 MB, Total 32634 MB
GPU: Intel HD Graphics 4600 (20EU) 1250MHz (20.19.15.4331)
Media SDK Hardware API v1.16
Supported Enc features:
Codec: H.264/AVC
             CBR   VBR   AVBR  QVBR  CQP   VQP   LA    LAHRD ICQ   LAICQ VCM
RC mode       o     o     o     o     o     o     o     o     o     o     o
Fixed Func    x     x     x     x     x     x     x     x     x     x     x
Interlace     o     o     o     o     o     o     o     o     o     o     o
SceneChange   o     o     o     o     o     o     x     x     o     x     o
VUI info      o     o     o     o     o     o     o     o     o     o     o
Trellis       o     o     o     o     o     o     o     o     o     o     o
Adaptive_I    x     x     x     x     x     x     x     x     x     x     x
Adaptive_B    x     x     x     x     x     x     x     x     x     x     x
WeightP       x     x     x     x     x     x     x     x     x     x     x
WeightB       x     x     x     x     x     x     x     x     x     x     x
B_Pyramid     o     o     o     o     o     x     o     x     o     o     o
 +Scenechange x     x     x     x     x     x     x     x     x     x     x
 +ManyBframes o     o     o     o     o     x     x     x     o     x     o
Ext_BRC       o     o     o     o     x     x     x     x     o     x     o
MBBRC         o     o     o     o     x     x     x     x     o     x     o
LA Quality    x     x     x     x     x     x     o     o     x     o     x
QP Min/Max    o     o     o     o     o     o     o     o     o     o     o
IntraRefresh  x     x     x     x     x     x     x     x     x     x     x
No Debloc     x     x     x     x     x     x     x     x     x     x     x
Windowed BRC  x     x     x     x     x     x     o     o     x     x     x
PerMBQP(CQP)  x     x     x     x     o     o     x     x     x     x     x
DirectBiasAdj x     x     x     x     x     x     x     x     x     x     x
MVCostScaling x     x     x     x     x     x     x     x     x     x     x

Codec: MPEG2
             CBR   VBR   AVBR  QVBR  CQP   VQP   LA    LAHRD ICQ   LAICQ VCM
RC mode       o     o     o     x     o     o     x     x     x     x     x
Fixed Func    o     o     o     x     o     o     x     x     x     x     x
Interlace     o     o     o     x     o     o     x     x     x     x     x
SceneChange   o     o     o     x     o     o     x     x     x     x     x
VUI info      o     o     o     x     o     o     x     x     x     x     x
Trellis       o     o     o     x     o     o     x     x     x     x     x
Adaptive_I    o     o     o     x     o     o     x     x     x     x     x
Adaptive_B    o     o     o     x     o     o     x     x     x     x     x
WeightP       o     o     o     x     o     o     x     x     x     x     x
WeightB       o     o     o     x     o     o     x     x     x     x     x
B_Pyramid     o     o     o     x     o     x     x     x     x     x     x
 +Scenechange x     x     x     x     x     x     x     x     x     x     x
 +ManyBframes o     o     o     x     o     x     x     x     x     x     x
Ext_BRC       o     o     o     x     x     x     x     x     x     x     x
MBBRC         o     o     o     x     x     x     x     x     x     x     x
LA Quality    x     x     x     x     x     x     x     x     x     x     x
QP Min/Max    o     o     o     x     o     o     x     x     x     x     x
IntraRefresh  o     o     o     x     o     o     x     x     x     x     x
No Debloc     o     o     o     x     o     o     x     x     x     x     x
Windowed BRC  o     o     o     x     o     o     x     x     x     x     x
PerMBQP(CQP)  x     x     x     x     x     x     x     x     x     x     x
DirectBiasAdj o     o     o     x     o     o     x     x     x     x     x
MVCostScaling o     o     o     x     o     o     x     x     x     x     x



Supported Vpp features:
Resize                o
Deinterlace           o
Denoise               o
Detail Enhancement    o
Proc Amp.             o
Image Stabilization   o
Video Signal Info     x
FPS Conversion        o
FPS Conversion (Adv.) o


Media SDK Software unavailable.

as output where 'x' means the feature is supported by your current driver&cpu combination.
For example for H.265 encoding an Intel Skylake CPU is needed.

Cu Selur

5

Re: QSVEnc Settings

I see, nice and thx smile

6

Re: QSVEnc Settings

Also note that depending on the encoding more some of the features are not available on all CPUs.

Cu Selur