Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
4th August 2008, 06:32 | #101 | Link | |
too much lurking
Join Date: Sep 2006
Location: Valhalla
Posts: 668
|
Quote:
For example: Is 720p considered SD or HD? ???? Honestly I haven't experimented with 1080p encoding too much recently but I can assure you that all of my 10 reference frame 720p encodings play back with DXVA just fine with MPC HC. I don't use Powerdvd for much more than playing from disk so I don't know what it's capable of. None the less this grey area needs to be addressed. |
|
4th August 2008, 09:18 | #102 | Link | |||
MPC-HC Project Manager
Join Date: Mar 2007
Posts: 2,317
|
Quote:
SD HD And then the sub profiles fast and anime Thanks i fixed the formula in the other thread and in MPC-HC Quote:
We are suggesting that their should be 2 presets HD SD (And then the sub profiles fast and anime) Then regardless of which hardware unit you actually use you either choose SD or HD depending on the resolution Quote:
HD is 736*???? or ????*592 to 1920*1088 --------- Ideally megui or x264 would have an interactive mode that would use a calculation of "height*width*framerate* to find the lowest possible LEVEL. And then encode at that level. This way the resulting file would be compatible with any device capable of playing that level and any device with a higher level than that. Encoded files would truly be portable across all hardware. The downside to this approach is that lower levels mean stricter limits on bitrate, a low resolution file encoded at level 3.1 would probably look a lot better visually. This why i suggest splitting the hardware profiles into 3 parts: HD, for all hardware that can play this SD, for all hardware that can play this at native resolution Custom profiles, based on level limits, for all hardware that do not have/support a 720*576(480) screen(this category already exists, the original xbox would belong here too because of its hardware limits as its actually a software decoder) Based on the above i would suggest the following Code:
Preset blend suggestion HD-L4.1-Anime_Toons HD-L4.1-Fast HD-L4.1-HQ HD-L4.1-Insane SD-L3.1-Anime_Toons SD-L3.1-Fast SD-L3.1-HQ SD-L3.1-Insane Unrestricted-Anime_Toons Unrestricted-Fast Unrestricted-HQ Unrestricted-Insane (device specific for handhelds and xbox) (left over unrestricted profiles) The Only difference between Unrestricted and HD/SD would be that the unrestricted profiles have been limited with the level limitations, other than that they can be exactly the same (which basically only means a bitrate and ref frame limitation) Last edited by tetsuo55; 4th August 2008 at 10:28. |
|||
4th August 2008, 12:34 | #103 | Link | |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
Quote:
MPC-HC decoder is accepting higher parameters than the commercial decoders but usually fails on older vDXVA videocards. @tetsuo55: ill see what i can do but remember DXVA is not universal and it is a microsoft implementation. Levels are implicit in DXVA 2.0 specs for SD and HD. Presets updated: v59.
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! Last edited by Sharktooth; 4th August 2008 at 13:50. |
|
4th August 2008, 13:48 | #104 | Link |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
Presets update: V60.
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
4th August 2008, 15:22 | #105 | Link | |
MPC-HC Project Manager
Join Date: Mar 2007
Posts: 2,317
|
Quote:
The capabilities of videocards to decode h264 streams is no different from other hardware (although there are lots of bugs!) Last edited by tetsuo55; 4th August 2008 at 15:48. |
|
4th August 2008, 15:26 | #106 | Link |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
nope... DXVA is tech that's part of the directx and it was implemented by microsoft.
different video cards have different capabilities, DXVA is made of a common API to let the programmer make common code for different video cards.
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! Last edited by Sharktooth; 4th August 2008 at 17:16. |
4th August 2008, 15:49 | #107 | Link | |
MPC-HC Project Manager
Join Date: Mar 2007
Posts: 2,317
|
Quote:
But because DXVA is such a pain in the ass all newer videocards have "Bitstreaming" which is basically a bluray decoder on the GPU die. If you look closely there is 0 difference between the settings to create a valid bluray file and a valid DXVA file. |
|
4th August 2008, 17:18 | #108 | Link |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
...except older DXVA enabled video cards that did that thru GPU programming...
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
5th August 2008, 14:25 | #109 | Link |
Registered User
Join Date: Sep 2002
Posts: 5
|
Is it possible to start with a DXVA preset, say DXVA-SD-Anime_Toons and change it to a one-pass Quality 22 CRF encode and still have the final output be DXVA compliant, or are 2 passes required to meet the DXVA specs? I'd like my encodes to work if I ever do buy a standalone device in the future, but I have plenty of disk space on my HTPC and I've seen multiple people say that CRF encodes provide better quality if you're not targeting a specific file size.
|
5th August 2008, 14:38 | #110 | Link |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
No. i will add the buffers for DXVA presets to be fully compliant. CRF and VBV (video buffer verifier) wont work as expected.
however it will all depend what will be the max bitrate of CRF 22 encode... if it's below the DXVA specs, it will work.
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
5th August 2008, 15:45 | #111 | Link | |
MPC-HC Project Manager
Join Date: Mar 2007
Posts: 2,317
|
Quote:
That feature is more of a hack than a real hardware decoder(as most of the work is still done in software) i hope its clear now that aside from a bug here and there(resulting on stricter or looser implementation of the h264 specs) the decoding engine for DXVA and Standalone is exactly the same thing in other words, anything encoded with the bluray profile will work perfectly fine on a DXVA card and vice-versa --------- Is it possible to use CRF and limit its bitrate at the same time, or would that make it useless? Depending on SD or HD the bitrate limit can be pretty high |
|
5th August 2008, 15:51 | #112 | Link | |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
Nope i already told you its not the same. DXVA has no theoretical level and bitrate decoding limits but the videocards ACTUALLY can decode full level 4.1 high profile specs and max bitrate (50Mbps) depending on videocard manufacturer and the decoder used. while blu-ray players have a cap at 40Mbps (10Mbps lower than Level 4.1 HP max bitrate) for discs and 54Mbps for other storage (exceeding level 4.1 by 4mbps for HP) ... and that is by specs.
the 2 things are completely different but videocards have just some things in common with BD players for simplicity. so encoding for DXVA playback wont ensure Blu-Ray compatibility! at all. h.264 DXVA has different specs than Blu-Ray or other standards: http://download.microsoft.com/downlo.../DXVA_H264.pdf more on DXVA 2.0: http://msdn.microsoft.com/en-us/library/aa965263.aspx DXVA is a Microsoft tech... and it's different from anything else. so this: Quote:
infact, if you think at the Radeon HD 2900 it has DXVA 2.0 support but it is NOT able to decode Blu-Ray streams coz DXVA was implemented thru shaders perfectly respecting the specs but, as i already said, the blu-ray and DXVA specs are different. for what concerns CRF and bitrate, if you are constrained with a bitrate, CRF has not much sense... use a RC mode.
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! Last edited by Sharktooth; 5th August 2008 at 16:36. |
|
6th August 2008, 10:41 | #113 | Link |
MPC-HC Project Manager
Join Date: Mar 2007
Posts: 2,317
|
i read those documents for another reason hehehe. So i agree with you at this point.
It gets even worse(good coding could force DXVA to decode 3.1 streams with the 4.1 engine, thus raising max DPB and allowing 16 ref frames in sd files) What i am asking for is a single profile that will create a file that will work on both bluray players and DXVA videocards |
6th August 2008, 12:51 | #114 | Link |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
i dont think ppl will agree on using a "minimum common denominator" preset for both BD and DXVA...
i can add a general use preset that will work for both though but i will not remove any of the BD or DXVA presets.
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! Last edited by Sharktooth; 6th August 2008 at 12:53. |
6th August 2008, 18:29 | #116 | Link |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
now 60, what?
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
6th August 2008, 18:48 | #118 | Link |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
psy-rdo on animes is not so efficient, maybe at all. so i disabled it in all anime/toons presets.
i used trellis 1 to enhance quality. trellis 2 is slow and tends to "flatten" the image in non RDO modes or when psy-rdo is disabled. feel free to edit our local the preset and use trellis 2 if you want. maybe i will change it at a later time.
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! Last edited by Sharktooth; 6th August 2008 at 18:53. |
6th August 2008, 19:25 | #120 | Link |
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
|
psy-rd = 0 deactivated.
it is active BY DEFAULT.
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
Tags |
megui, x264 presets |
|
|