Log in

View Full Version : Media Player Classic Home Cinema (MPC-HC) - DXVA!


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 [73] 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410

Gus.
5th August 2008, 04:41
Is it at all possible to add a choice of Output Colorspaces, such as RGB32, YUY2, YV12, NV12, etc. to the player or decoder?

Thank You!

Aleksoid1978
5th August 2008, 04:55
yes, me too
rev 715 x86

For me crash too ... if WMR9 select, after i change to EVR - all fine.

Vista x64

saint-francis
5th August 2008, 04:58
Can anyone clue me in as to why all of my 6 channel audio tracks only play the front 2 main channels with MPC HC? PDVD plays them fine BTW. This is using the MPC HC internal everything.

sneaker_ger
5th August 2008, 10:37
Can anyone clue me in as to why all of my 6 channel audio tracks only play the front 2 main channels with MPC HC? PDVD plays them fine BTW. This is using the MPC HC internal everything.

Did you set the numbers of speakers in the filter settings right? Go to options->internal filters and then double click on AC3 (or DTS or AAC) under transform filters.

sneaker_ger
5th August 2008, 11:47
I'm getting blinking subtitles using the internal matroska splitter on mkvs with MPEG4/ISO/ASP video streams. No problems when using vfw compatibility mode or haali's media splitter though. It does not matter if I'm using internal subtitle filter or external VSFilter.
sample (http://netload.in/datei762c832b8740d4882e0f5199f66996ee/isovsvfw.zip.htm)

saint-francis
5th August 2008, 14:34
Did you set the numbers of speakers in the filter settings right? Go to options->internal filters and then double click on AC3 (or DTS or AAC) under transform filters.

Thanks! It's amazing that I have been using this player for years and never knew about that. It's because I just recently started using MPC HC without ffdshow now that I'm on a 64 bit os.

Shakey_Jake33
5th August 2008, 14:53
This isn't a bug in MPC-HC as such, just wanted to share something I noticed today. Some of you will know that Nvidia GPU's on laptops have a feature called Powermizer, which will dynamically downclock when idle. It's a great feature, but it really confuses EVR Custom Presenter. When full screen, my GPU will run at full 400MHz. When Windowed, it will downclock to 275MHz over time, and then 169MHz. This is fine, that's plenty for video... but this sequence of downclocking seems to confuse EVR Custom Presenter and it will drop loads of frames. I can close the player and start the video again in 169MHz mode and it will play fine, so it's clearly the sequence of the changing clock speed that screws something up in EVR, rather than the clock speed itself.

This does not happen in normal EVR or Haali Renderer, so I've had to revert back to 32-bit player/codecs so I can use Haali until he makes a 64-bit version. A shame because I like EVR Custom Presenter, but this behaviour makes it unsuitable for laptops with Nvidia GPU's and Powermizer enabled.

mariner
5th August 2008, 15:07
Is it at all possible to add a choice of Output Colorspaces, such as RGB32, YUY2, YV12, NV12, etc. to the player or decoder?

Thank You!

Thar would be great. Especially NV12 for ATI cards.

XibaD
5th August 2008, 15:34
Hi!

Can someone answer to my post? I don't understand quite clearly why DXVA can't be used in Windows XP x64 if Vista x64 is capable :)

Hi!

Is it possible to achieve DXVA with Windows XP x64 (not Vista x64). Because any option I set, MPC Video Decoder says "Not using DXVA".

Shakey_Jake33
5th August 2008, 15:57
^DXVA definately does work in Windows XP x64 because I use that OS myself. But it doesn't accelerate all files, only those which fit a certain specification. I don't know much about it because I don't need DXVA, but it does work.

SpAwN_gUy
5th August 2008, 16:02
maybe this is the wrong place to post.... but ..

can anyone fix internal matroska splitter, so it would respect "deafult tarck" for subtitles..
well, haali's has nice behaviour.. so if there are two(that's just to explain.. may be one) muxed in subtitles.. if for both streams "default" flag is set to no.. so when the mkv is played.. all muxed in subtitles are NOT shown...

(i.e. i have RusAC3 and EngAC3 and RusSUBs.. muxed in mkv.. for RusSUBs default=no.. so when i play the file.. i get Russina AC3... with NO subtitles..)

thanks.

alexins
5th August 2008, 16:05
Media Player Classic HomeCinema (x86), svn 717 (http://www.xvidvideo.ru/content/view/129/1/)
Media Player Classic HomeCinema (x64), svn 717 (http://www.xvidvideo.ru/content/view/130/1/)

Supported languages: CN, CZ, DE, ES, FR, HU, IT, KR, PL, RU, SK, TR, UA

Changes log (http://www.xvidvideo.ru/content/view/7/17/)

clsid
5th August 2008, 16:38
maybe this is the wrong place to post.... but ..

can anyone fix internal matroska splitter, so it would respect "deafult tarck" for subtitles..
well, haali's has nice behaviour.. so if there are two(that's just to explain.. may be one) muxed in subtitles.. if for both streams "default" flag is set to no.. so when the mkv is played.. all muxed in subtitles are NOT shown...

(i.e. i have RusAC3 and EngAC3 and RusSUBs.. muxed in mkv.. for RusSUBs default=no.. so when i play the file.. i get Russina AC3... with NO subtitles..)

thanks.
Since there is a good working alternative (Haali), improving the internal Matroska splitter of MPC is very low priority. Fixing bugs and improving stability is far more important at this moment.

STaRGaZeR
5th August 2008, 17:20
Since there is a good working alternative (Haali), improving the internal Matroska splitter of MPC is very low priority. Fixing bugs and improving stability is far more important at this moment.

Too bad there isn't an Haali x64 version yet, x64 users have to use the internal one.

cca
5th August 2008, 18:45
Rumor has it that the 64bit version of haali splitter will be released when the 64bit version of CoreAVC is released.

clsid
5th August 2008, 18:50
You can also just use the x86 version of MPC.

But fact remains that the lack of those unimportant Matroska features is really insignificant compared to other issues.

alexins
5th August 2008, 19:53
Media Player Classic HomeCinema (x64), svn 718 (http://www.xvidvideo.ru/content/view/132/1/)
Media Player Classic HomeCinema (x86), svn 718 (http://www.xvidvideo.ru/content/view/131/1/)

Supported languages: CN, CZ, DE, ES, FR, HU, IT, KR, PL, RU, SK, TR, UA

Changes: Disable the internal Matroska and Ogg splitters by default (= operate in low-merit mode). Currently Haali Media Splitter is far superior for these formats.

Changes log (http://www.xvidvideo.ru/content/view/7/17/)

ooferomen
5th August 2008, 20:10
has anyone got a chance to look into the MPC video decoder issue with the band of brothers hd dvd yet? :thanks:

STaRGaZeR
5th August 2008, 20:18
You can also just use the x86 version of MPC.

But fact remains that the lack of those unimportant Matroska features is really insignificant compared to other issues.

Haali splitter is one of the 2 or 3 reasons I use the x86 version instead of the x64 one.

Well the fact is that these features are not important if you use some super basic video+audio MKV. Anything more complex (even adding a simple hidden by default subtitle stream) = fail. But I agree other things have priority, and Haali is already there for us.

XibaD
5th August 2008, 21:42
^DXVA definately does work in Windows XP x64 because I use that OS myself. But it doesn't accelerate all files, only those which fit a certain specification. I don't know much about it because I don't need DXVA, but it does work.

I haven't found any yet... What you are saying? Is accelerated under Windows XP x64 or is it not? I don't understand quite well... :)

tetsuo55
5th August 2008, 22:28
I have been talking with a freind, and been reading a lot of DXVA documentation.

1. i have posted a plug-and-play commitable change to the level detection code, the freind helped me get it into actual c++ code. Its based on the ieee standards of SD and HD. The code now defines anything with a width of 1024 and higher as HD. This is correct according to all the documentation i have seen. i do not test for height as cropping makes the height an unreliable test.

2.after read a lot of documentation it seems like DXVA doesn't care about levels at all, this means that as soon as we find the correct commands we can have 16 ref frame SD files hardware decoded as level4.1, in other words the broken files would work, but it would still be a hack of sorts.

Below is the code, it needs to be commited to:
mpc-hc/trunk/src/filters/transform/mpcvideodec/FfmpegContext.c


int FFH264CheckCompatibility(int nWidth, int nHeight, struct AVCodecContext* pAVCtx, BYTE* pBuffer, UINT nSize)
{
H264Context* pContext = (H264Context*) pAVCtx->priv_data;
SPS* cur_sps;
PPS* cur_pps;

if (pBuffer != NULL)
av_h264_decode_frame (pAVCtx, pBuffer, nSize);

cur_sps = pContext->sps_buffers[0];
cur_pps = pContext->pps_buffers[0];

if (cur_sps != NULL)
{
// Check max num reference frame according to the level
#define MAX_DPB_41 8355840 // value for level 4.1 (that be HD for the uninitiated)
#define MAX_DPB_31 4608000 // value for level 3.1 (that be SD for the uninitiated)

if (cur_sps->ref_frame_count*nWidth*nHeight) > (MAX_DPB_41))
//width*height*ref_frame_count higher than max dpb is bad
return 2; // Too much ref frames
//got to check if this might in fact be SD. We assume anything with a width lower than 1024 is SD,
if(nWidth < 1024)
{
if (cur_sps->ref_frame_count*nWidth*nHeight) > (MAX_DPB_31))
// width*height*ref_frame_count higher than max dpb is bad
return 2;
}
}
//if control reaches this, we're inside DPB limits
return 0;
}


PS For those wondering this completely filters out the acciedental playback of 16 ref frame files unless they are valid which means they would need a very low resolution like 320x240

MatMaul
5th August 2008, 23:20
@tetsuo55 : actual implementations of DXVA support level 4.1 just fine for both SD and HD resolution so the actual code is OK.

the 11 refs restriction is a known bug and not a DXVA limitation

STaRGaZeR
6th August 2008, 00:29
What about a test version with tetsuo55's code?

ADude
6th August 2008, 02:15
Since there is a good working alternative (Haali), improving the internal Matroska splitter of MPC is very low priority. Fixing bugs and improving stability is far more important at this moment.

The Haali Splitter does not always work right for MPEG1 content, as I have posted twice in this thread... is there a way to contact the developer about that ?

Mercury_22
6th August 2008, 09:25
Since there is a good working alternative (Haali), improving the internal Matroska splitter of MPC is very low priority. Fixing bugs and improving stability is far more important at this moment.

Isn't this a bug ? :confused:

If this is the way we should think, one can also say there are better / "good working" alternatives for all MPC-HC internal (Transform) Fiters / decoders not only for internal Splitters so "improving the internal" (Transform) Fiters / decoders should also be "very low priority" !!! :( :confused:

In my opinion the internal Splitters (ogg, ts, ... also, not just Matroska) ARE THE ONE MAKING THE DIFFERENCE FOR MPC-HC, since the only "real" alternative it's Haali's (or none for 64-bit version), and for internal (Transform) Fiters / decoders are MANY MORE other "good working alternative" !!!

So i think fixing / improving the internal SPLITTERS (TS, OGG, Matroska, ... ) should be TOP PRIORITY !

But that's just me ! :D

P.S. The Haali Splitter does not always work right for MPEG1 content, as I have posted twice in this thread... is there a way to contact the developer about that ?
I can confirm that and not just for MPEG1 content !!! :(:helpful::thanks:

tetsuo55
6th August 2008, 09:54
@tetsuo55 : actual implementations of DXVA support level 4.1 just fine for both SD and HD resolution so the actual code is OK.

the 11 refs restriction is a known bug and not a DXVA limitation

The current code blocks a lot of valid files. And allows a lot of broken files.
-Files with more than 16 ref frames are very valid, this has been proven in the past.
-The current code allows SD files with too many ref frames to be decoded in DXVA model which causes crashes or green screens, some SD files have an upper limit of 8 or less ref frames

My code allows ALL valid files and blocks ALL invalid files completely accurately.
-It is based on the h264, DXVA, HD rules and guidelines.
-It is based on realworld tests in the past
-All the files that the current code is trying to block are still blocked with my code, but now in an accurate way.

---------------

The bug you're talking about has nothing to do with the blocking code, i'm very close to finding the cause.

Here is my theory in short:

DXVA does not talk about levels, the software is completely responsible for making sure the decoder sets the correct mode. When the software does not provide the needed information the decoder guesses the level. The problem is that nvidia and ati guess differently

clsid
6th August 2008, 11:42
The Haali Splitter does not always work right for MPEG1 content, as I have posted twice in this thread... is there a way to contact the developer about that ?Are you talking about MPEG1 inside Matroska container? Or the MPEG-PS splitter (which you should not enable) of Haali? There is a topic about Haali Media Splitter on this forum, you can report bugs there.

In my opinion the internal Splitters (ogg, ts, ... also, not just Matroska) ARE THE ONE MAKING THE DIFFERENCE FOR MPC-HC, since the only "real" alternative it's Haali's (or none for 64-bit version), and for internal (Transform) Fiters / decoders are MANY MORE other "good working alternative" !!!
So i think fixing / improving the internal SPLITTERS (TS, OGG, Matroska, ... ) should be TOP PRIORITY !The lack of a x64 version of Haali Media Splitter should only be a temporary problem. I strongly disagree with your opinion. As long a there are good (and free) alternatives for non-essential functionality (the internal filters), improving other functionality is far more important. Just to name a few: DXVA, EVR issues, and some stability issues. Once those issues have been addressed, the internal splitters can be improved. Supporting Theora in Ogg is the most important. Hidden/disabled streams in Matroska is not very important as you can also just manually select the desired streams.

And since Casimir's ToDo list is already several meters long, it doesn't help if everyone constantly keeps bitching about the same issues. It ain't gonna magically fix things quicker.

STaRGaZeR
6th August 2008, 11:43
Just complile a test version, I'd be pleased to test it ;)

tetsuo55
6th August 2008, 11:53
Just complile a test version, I'd be pleased to test it ;)

Yeah i am going to need your help later too, as you seem to have many borderline test cases.

So could someone please at least build a test-version with my code?


---

Casimir, How much ms lag does the Anti-Tearing code introduce?

Mercury_22
6th August 2008, 12:32
Are you talking about MPEG1 inside Matroska container? Or the MPEG-PS splitter (which you should not enable) of Haali? There is a topic about Haali Media Splitter on this forum, you can report bugs there.

The lack of a x64 version of Haali Media Splitter should only be a temporary problem. I strongly disagree with your opinion. As long a there are good (and free) alternatives for non-essential functionality (the internal filters), improving other functionality is far more important. Just to name a few: DXVA, EVR issues, and some stability issues. Once those issues have been addressed, the internal splitters can be improved. Supporting Theora in Ogg is the most important. Hidden/disabled streams in Matroska is not very important as you can also just manually select the desired streams.

And since Casimir's ToDo list is already several meters long, it doesn't help if everyone constantly keeps bitching about the same issues. It ain't gonna magically fix things quicker.

Ok I agree : let's NOT "keep bitching about the same issues." :)
I was just thinking that being able to play all those type of files (without external help / filters ) it's an "essential functionality" and for the moment it's more important than improving the quality. :stupid:

I just have one question for you about MPEG-PS splitter (which you should not enable) of Haali since enabling Haali's MPEG-PS splitter it's the only thing that allows me to play EVO files, what do you use for evo file ? :helpful:

MatMaul
6th August 2008, 13:14
Files with more than 16 ref frames are very valid, this has been proven in the past.
??? more than 16 refs is not compliant with the h264 standard, if you find a sample like this ask for a refund :P
-The current code allows SD files with too many ref frames to be decoded in DXVA model which causes crashes or green screens, some SD files have an upper limit of 8 or less ref frames
I'm waiting for a proof of that (samples please :) )
If you check the log I had nearly exactly the same code (rev 517) but some people complain here because some of their files didn't play anymore.

The bug you're talking about has nothing to do with the blocking code, i'm very close to finding the cause.

Here is my theory in short:

DXVA does not talk about levels, the software is completely responsible for making sure the decoder sets the correct mode. When the software does not provide the needed information the decoder guesses the level. The problem is that nvidia and ati guess differently
no. Casimir already knows what is the bug and it is not that : the algorithm which manage the release of the decoded pictures is not very good so with more than 10-11 refs the buffers are full and it hangs up.

tetsuo55
6th August 2008, 13:56
oops i meant more than 11 ref frames but less than 17 :P

The old code was not exactly the same as mine. Lets just test my code with a test-build before changing anything on the SVN.

Which file is the basis for the bug casimir is working on?

Since no-one seems to be stepping up to the plate i will try to encode a couple of 5 second test files later. Only borderline tests though. We need a group of guaranteed accurately encoded test files anyway

clsid
6th August 2008, 14:27
I was just thinking that being able to play all those type of files (without external help / filters ) it's an "essential functionality" and for the moment it's more important than improving the quality.Why is it such a big problem to use external filters? You also need external filters for formats that MPC-HC doesn't support by itself. More people care more about fully working DXVA than those Matroska features. This topic is the living proof of that. And if you read discussions/reviews of MPC on various sites, than the majority of complaints that users have are about stability.
You seem to care only about your own user experience. While I care about the user experience of the average user.

I just have one question for you about since enabling Haali's MPEG-PS splitter it's the only thing that allows me to play EVO files, what do you use for evo file ? :helpful:I don't play EVO files. The internal MPEG-PS/TS/PVA source filter is supposed to support EVO now I think, but I dunno if those changes are completed yet.

Mercury_22
6th August 2008, 15:43
Why is it such a big problem to use external filters? You also need external filters for formats that MPC-HC doesn't support by itself. More people care more about fully working DXVA than those Matroska features. This topic is the living proof of that. And if you read discussions/reviews of MPC on various sites, than the majority of complaints that users have are about stability.
You seem to care only about your own user experience. While I care about the user experience of the average user.
I don't play EVO files. The internal MPEG-PS/TS/PVA source filter is supposed to support EVO now I think, but I dunno if those changes are completed yet.

Look above it wasn't me that started this it just happens that I agree with all this, and I'm not refering only to Matroska splitter.
But like I've said before Ok I agree : let's NOT "keep bitching about the same issues."
Anyway thanks for the info on EVO but internal MPEG-PS/TS/PVA source filter it's still not working for evo and also for some ts . :thanks: :stupid:

Casimir666
6th August 2008, 21:03
I have been talking with a freind, and been reading a lot of DXVA documentation.

1. i have posted a plug-and-play commitable change to the level detection code, the freind helped me get it into actual c++ code. Its based on the ieee standards of SD and HD. The code now defines anything with a width of 1024 and higher as HD. This is correct according to all the documentation i have seen. i do not test for height as cropping makes the height an unreliable test.

2.after read a lot of documentation it seems like DXVA doesn't care about levels at all, this means that as soon as we find the correct commands we can have 16 ref frame SD files hardware decoded as level4.1, in other words the broken files would work, but it would still be a hack of sorts.

Below is the code, it needs to be commited to:
mpc-hc/trunk/src/filters/transform/mpcvideodec/FfmpegContext.c


int FFH264CheckCompatibility(int nWidth, int nHeight, struct AVCodecContext* pAVCtx, BYTE* pBuffer, UINT nSize)
{
H264Context* pContext = (H264Context*) pAVCtx->priv_data;
SPS* cur_sps;
PPS* cur_pps;

if (pBuffer != NULL)
av_h264_decode_frame (pAVCtx, pBuffer, nSize);

cur_sps = pContext->sps_buffers[0];
cur_pps = pContext->pps_buffers[0];

if (cur_sps != NULL)
{
// Check max num reference frame according to the level
#define MAX_DPB_41 8355840 // value for level 4.1 (that be HD for the uninitiated)
#define MAX_DPB_31 4608000 // value for level 3.1 (that be SD for the uninitiated)

if (cur_sps->ref_frame_count*nWidth*nHeight) > (MAX_DPB_41))
//width*height*ref_frame_count higher than max dpb is bad
return 2; // Too much ref frames
//got to check if this might in fact be SD. We assume anything with a width lower than 1024 is SD,
if(nWidth < 1024)
{
if (cur_sps->ref_frame_count*nWidth*nHeight) > (MAX_DPB_31))
// width*height*ref_frame_count higher than max dpb is bad
return 2;
}
}
//if control reaches this, we're inside DPB limits
return 0;
}


PS For those wondering this completely filters out the acciedental playback of 16 ref frame files unless they are valid which means they would need a very low resolution like 320x240

Release 1.1.174 with tetsuo55 code :
http://www.zshare.net/download/16631247cc8efe85/

Please let me know if this modification should be commited or not.

Tery
6th August 2008, 21:13
I really like, being able to choose which Screen to use when playing full screen, but sometimesI play video fullscreen on computer screen sometimes not, and it is really anoying to modify preferences each times.

Would it be possible to add command key, in preferences to be able to configure two keys (or more if people have more than two screen), to play full screen on screen 1 or 2 .... ?
Like F11 play full screen on screen1, and F12 play full screen on screen2.

Or something like two left click, play full screen on screen1 and two right click play it on screen2 ? (and two middle click play it on screen3 .... :D)

Thanks for your great work, keep going :)

Tery.

rica
6th August 2008, 21:19
Why is it such a big problem to use external filters? You also need external filters for formats that MPC-HC doesn't support by itself. More people care more about fully working DXVA than those Matroska features. This topic is the living proof of that. And if you read discussions/reviews of MPC on various sites, than the majority of complaints that users have are about stability.
You seem to care only about your own user experience. While I care about the user experience of the average user.


Hundred percent i agree; what i've been looking for ages a DX based player which i can easily select the filters i desire. (I've been normally using GraphEdit as my default player just for this reason.)
Subtitle DXVA feature is a bonus as well :)

Kado
6th August 2008, 21:49
I want to translate MPC HC to Portuguese, how can I do it? I it's a text based file it would be nice!:)

clsid
6th August 2008, 21:59
Download "mplayerc.rc" from the SVN repository. It is text based. Translate that and send it to Casimir.

Casimir666
6th August 2008, 22:04
Can somebody try this release of VSFilter with Haali Renderer and told me if it solve the freeze problem in mpc :

http://www.zshare.net/download/16633220b12de839/

@Kado
Someone is already working on the Portuguese translation, but thanks for your proposition :-)

alexins
6th August 2008, 22:48
Release 1.1.174 with tetsuo55 code :
http://www.zshare.net/download/16631247cc8efe85/

Please let me know if this modification should be commited or not.

Checked on files different formats, problems were not.

Kado
6th August 2008, 23:01
@clsid
:thanks:

@Casimir
Is the translation "European Portuguese" or "Brazilian Portuguese"? Because they are not the same.

rica
6th August 2008, 23:10
Checked on files different formats, problems were not.

I was hoping to give good news but sorry;
VC1 problems with nvidia cards is still going on.
MPC-HC never accepts any other external decoder for VC1 except WM Video decoder DMO.
No problems have been living in h264 though.

STaRGaZeR
6th August 2008, 23:20
I was hoping to give good news but sorry;
VC1 problems with nvidia cards is still going on.
MPC-HC never accepts any other external decoder except WM Video decoder DMO.
No problems have been living in h264 though.

This new code is only the H.264 detection formula, it does not affect VC-1 files. If you're trying to load Cyberlink's VC-1 decoder, it doesn't work for me too. I think this is a problem of the filter itself, not of MPC-HC, it can only be used inside PDVD, pretty much like Nero 8 filters only working inside Nero Showtime.

I've tested every H.264 file I have and all of them play like with the official revs. The only problematic samples are the ones I've already submmited here and to Casimir, but they're not related with this new code. Obviously Sample 3 is fixed, but it was in the official revs too since the introduction of the 11+ ref limitation. Looks like we need to enconde specific files to do a real test of the edges of the formula.

rica
6th August 2008, 23:23
Sorry i posted before reading the code.

gngn
7th August 2008, 02:15
Release 1.1.174 with tetsuo55 code :
http://www.zshare.net/download/16631247cc8efe85/

Please let me know if this modification should be commited or not.

with this release MPC-HC will try to decode more (i have a few files that even the "oficial" release will try to decode in DXVA-mode resulting in freezing playback after a few seconds) of the problematic files on my Nvidia in DXVA-mode resulting in broken playback. DXVA-mode does work for all those files (i have correct playback for a few seconds until video freezes, but sound will continue) , but something goes then wrong.

MPC-HC playes following files in software-mode, the version with tetsuo55 code in DXVA, but my Nvidia cant handle them in DXVA:

Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.1
Format settings, CABAC : Yes
Format settings, ReFrames : 13
Codec ID : V_MPEG4/ISO/AVC
Duration : 24mn 10s
Nominal bit rate : 954 Kbps
Width : 704 pixels
Height : 480 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.118
Title : Episode02: Ana
Writing library : x264 - core 55 svn-663C
Encoding settings : cabac=1 / ref=10 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=7 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=2 / deadzone=15,6 / chroma_qp_offset=0 / threads=3 / nr=0 / decimate=0 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=0 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=954 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.1:15.0


Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.1
Format settings, CABAC : Yes
Format settings, ReFrames : 12
Codec ID : V_MPEG4/ISO/AVC
Duration : 24mn 23s
Nominal bit rate : 1167 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps
Standard : NTSC
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.141
Title : sola 14 (OVA)
Writing library : x264 - core 56 svn-680
Encoding settings : cabac=1 / ref=9 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=6 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=1 / bime=1 / keyint=240 / keyint_min=24 / scenecut=36(pre) / rc=2pass / bitrate=1167 / ratetol=3.0 / rceq='blurCplx^(1-qComp)' / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30
Language : Japanese

betaking
7th August 2008, 02:55
Originally Posted by Casimir666
Release 1.1.174 with tetsuo55 code :
http://www.zshare.net/download/16631247cc8efe85/

Please let me know if this modification should be commited or not.
I can not download. who can up it to rapidshare.com! thanks!

neoufo51
7th August 2008, 03:07
Originally Posted by Casimir666
Release 1.1.174 with tetsuo55 code :
http://www.zshare.net/download/16631247cc8efe85/

Please let me know if this modification should be commited or not.
I can not download. who can up it to rapidshare.com! thanks!
http://rapidshare.com/files/135430352/mplayerc_1.1.174.0.rar.html

betaking
7th August 2008, 03:50
http://rapidshare.com/files/135430352/mplayerc_1.1.174.0.rar.html
:) thanks!

marc99
7th August 2008, 07:15
Release 1.1.174 with tetsuo55 code :
http://www.zshare.net/download/16631247cc8efe85/

Please let me know if this modification should be commited or not.

Not all my files with low resolution and 16 ref frames decoded properly with DXVA (stop after a few frames). Limitation 11+ is better. I suggest tetsuo55 code and 13+ ref. frames limitation (official 3.1 level max for 720x480 and probably less).