Settings for DXVA?

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
edk
Posts: 6
Joined: Thu Mar 19, 2009 5:57 pm

Settings for DXVA?

Post by edk »

Dear All,

I would like to encode video with Handbrake on windows platform with DXVA support, but I don't know what settings to use. I haven't found a definitive answer as to what settings I should use.

Here: http://www.nepherte.be/encode-movies-with-handbrake/ I have found this:

Code: Select all

ref=5:mixed-refs:bframes=3:weightb:direct=auto:b-pyramid:me=umh:8x8dct:partitions=all:vbv-bufsize=50000:vbv-maxrate=50000:trellis=2
And here: http://www.avsforum.com/avs-vb/archive/ ... 72503.html this:

Code: Select all

level=4.1:ref=4:mixed-refs:bframes=3:b-rdo:bime:weightb:direct=auto:filter=-1,-1:subme=6:trellis=2:partitions=p8x8,b8x8,i4x4,i8x8:8x8dct:me =umh
What do you experts think? And should different settings be used for 1080p, 720p and DVD sources?
Northy
Enlightened
Posts: 134
Joined: Fri May 16, 2008 1:06 pm

Re: Settings for DXVA?

Post by Northy »

From another site.
DXVA compliancy consists of three parts:
- The number of reference frames
- Macroblock options: no P4x4 blocks
- Maximum bitrate of 50000 kbit


The number of reference frames
***1080P Normal movie + Animation***
ref= 4 (max. resolution = 1920x1088) < 3 ref = not good enough for AHD
ref= 5 (max. resolution = 1920x864) < 3 ref = not good enough for AHD
ref= 6 (max. resolution = 1920x720) < 3 ref = not good enough for AHD

***720p Normal movie + Animation***
ref= 09 (max. resolution = 1280x720) < 5 ref = not good enough for AHD
ref= 10 (max. resolution = 1280x648) < 5 ref = not good enough for AHD
ref= 11 (max. resolution = 1280x588) < 5 ref = not good enough for AHD
ref= 12 (max. resolution = 1280x540) < 5 ref = not good enough for AHD

Macroblock options: no P4x4 blocks
- analyse=0x3:0x113 (anything else is either bad or not dxva compliant)

Maximum bitrate of 50000 kbit
- vbv_maxrate= (50000 max.)

When all these requirements are met, the encode is DXVA compliant.
Hope that helps you :)
Post Reply