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

Momber
9th May 2010, 02:29
Like, 7 is actually fast, while Vista is constantly crawling?
The vastly improved pre-fetching and memory-caching?
The improved DWM and Aero, that actually improve video playback?
Lower overall resource usage (maybe short of HDD space)?
The vastly improved CPU scheduler for multi-core systems?
The not-annoying UAC (granted you might call that "cosmetic")?

Granted, some of these features were back-ported with the Vista Platform Update, but shrug, thats basically 7 tech.

I guess i could find more points, but shrug. 95% of the people i know that switched from Vista to 7 were stunned by the improvements, and very good out-of-the-box experience. But hey, YMMV. But whats the advantage sticking with Vista? :)

But seriously, if you use XP, switch already. EVR and Aero will give you much better playback.

Sorry for joining the Off-Topic posts, lets all get back to MPC-HC now.. =)

FYI, 7 sucks ass. Major.
I tried it for a few days on a dedicated HTPC and went back to Vista SP2.

decapitado
9th May 2010, 09:07
FYI, 7 sucks ass. Major.
I tried it for a few days on a dedicated HTPC and went back to Vista SP2.
What problems did you have?

DJ_Phatic
9th May 2010, 12:29
Perhaps this is an issue because of how the MPC-HC subtitle engine works or the splitter or a limitation of MKV but I cannot get the "forced" flag to display within a subtitle stream.

I have demuxed a blu-ray, the main english subtitle stream contains 81 forced captions which I have chosen to keep within BDSup2Sub and converted to .idx/.sub. I have checked within SubResync that the forced flags are for only the parts which are spoken in a foreign language.

Within the .idx file I have the following:
# ON: displays only forced subtitles, OFF: shows everything
forced subs: ON

My understanding is that the forced flag subtitles should only be displayed, though I am not sure if the subtitle stream has to be enabled for this to happen or that the forced subs will be displayed regardless (what I am hoping to achieve).

I have created the MKV and the set subtitle stream to preferred and forced to No.

Playing the MKV in MPC-HC 1.3.1862.0 with Subtitles set to Enable the subtitle stream plays but it displays all subtitles, forced flag and standard. If Subtitles are disabled then no subtitles appear.

If I change the forced attribute of the subtitle stream to Yes in the MKV header the same as above occurs.

I know that the solution to get only the forced flag subtitles to display are to extract only these into a seperate subtitle stream and set this to force within the MKV and enable subtitles within MPC-HC but I am looking for a solution so that subtitles which are either flagged as forced or the stream is forced will display regardless of whether Subtitles are enabled/disabled within MPC-HC. Similar to if I played back the blu-ray disc in a blu-ray player the subtitles with a forced flag within a subtitle stream will appear even though that subtitle track is not enabled.

I hope that makes sense. I have a feeling that this is not an easy fix.

xiulet
9th May 2010, 16:30
hi, all

with svn 1862 x32, l5.1 video( sansung demo oceanic life) stop working for me on dxva.

svn 1856 x32, dxva l5.1 is ok!

thank you, adéu

clsid
9th May 2010, 16:46
You need to enable "Skip level check" in the compatibility settings.

L5.1 support is currently disabled by default for ATI users because it doesn't work for everyone. An UVD version check needs to be implemented before it can be re-enabled.

Underground78
9th May 2010, 17:03
An UVD version check needs to be implemented before it can be re-enabled.

It seems that there was something like that because with my HD2600XT which has a UVD version, DXVA was automatically skipped for L5.1 with the first version with L5.1 support ...

clsid
9th May 2010, 17:13
If it skipped DXVA before it was because you don't have the 10.4 driver installed. But even with that driver installed L5.1 is probably not going to work on your card, because it hasn't got UVD+ or UVD2.

tetsuo55
9th May 2010, 17:45
MPC-HC lacks high DPI awareness (http://www.google.de/search?hl=de&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&q=windows+7+high+dpi&btnG=Suche&aq=f&aqi=&aql=&oq=&gs_rfai=), there is a very good video on channel9 (http://channel9.msdn.com/posts/yochay/Windows-7-Graphics--High-DPI/) explaining why is it important and how to implement it.patch welcome ;)
I agree its important, but we dont have any devs working on this stuff

xiulet
9th May 2010, 18:09
hi, all

with svn 1862 x32, l5.1 video( sansung demo oceanic life) stop working for me on dxva.

svn 1856 x32, dxva l5.1 is ok!

thank you, adéu

ok, i saw, only work if i activate 'skip all checks', , does this option make any negative influence on dxva quality video ?

thanks you, adéu.

clsid
9th May 2010, 18:58
The checks are there to prevent problems with DXVA. Disabling the level check is usually safe. Disabling the ref frame check may lead to decoding issues such as artifacts.

Underground78
9th May 2010, 19:30
If it skipped DXVA before it was because you don't have the 10.4 driver installed. But even with that driver installed L5.1 is probably not going to work on your card, because it hasn't got UVD+ or UVD2.

It was installed normally but who knows ...

tycoonheart
9th May 2010, 20:09
Hey guys, I have a bit of a subtitle issue. I've got DVDs and Blurays ripped as mkvs (using MakeMKV). DVD subs work perfectly in MPC-HC. But Bluray subs don't work at all.

I'm using all internal filters, the Subtitle menu is greyed out. Doesn't matter if I use the VC-1 DXVA filter or the non-DXVA one. The blurays have PGS subs.

I've made sure "Autoload subtitles" is selected under options. Build # for MPC-HC says 1.3.1862.0.

What am I doing wrong here guys?

rack04
9th May 2010, 20:54
Wondering if anyone is experiencing studdering and pixelation when seeking? I'm using Win7 64bit, Nvidia 8800gt 197.57, MPC-HC x32 r1862, ffdshow x32 r3422, and EVR Custom Pres. The studdering goes away but the pixelation still exists if I use the internal h264 filter.

EDIT: What I can't figure out is why it only happens with files that I encodes with x264 r1583.

Fadeout
10th May 2010, 01:21
I don't know what the hell is wrong but with FLAC audio (stereo setup) I get very low volume if I use the internal decoder.

Then if I swap vsync on and off the volume goes normal. If I relaunch the problem reappears no matter of vsync setting. ffdshow as decoder also works ok.

How the hell is possible that vsync affects audio?

Snowknight26
10th May 2010, 01:45
You get low volume because there is no internal downmixing for PCM. Hopefully its on the todo list.

HayateYuki
10th May 2010, 09:43
Wondering if anyone is experiencing studdering and pixelation when seeking? I'm using Win7 64bit, Nvidia 8800gt 197.57, MPC-HC x32 r1862, ffdshow x32 r3422, and EVR Custom Pres. The studdering goes away but the pixelation still exists if I use the internal h264 filter.

EDIT: What I can't figure out is why it only happens with files that I encodes with x264 r1583.

Well, even not at seeking, studdering could happen at some non-H264 files... such as Dvix files..

I feel strange that if I changed back EVR Custom/Sync to just EVR, all things go normal... of cause, no any subtitle could be displayed without DirectVobSub. However, if DirectVobSub not be loaded , it still could be in DXVA mode...

Fadeout
10th May 2010, 18:06
Is there a way to use DXVA without the internal splitter? The internal one seems unable to load linked files.

Steveo08
10th May 2010, 18:47
Is there a way to use DXVA without the internal splitter? The internal one seems unable to load linked files.



yes, try haali

http://haali.su/mkv/

Fadeout
10th May 2010, 19:33
In MPC-HC if I install Haali then DXVA is disabled as well.

edigee
10th May 2010, 19:42
In MPC-HC if I install Haali then DXVA is disabled as well.

I only use Haali + DXVA from quite a while (since first versions of MPC-HC emerged) and it always worked for me.
Be sure not to use an external subtitle filter(VS filter) but only the internal MPC-HC one.
See a DXVA tutorial here:
http://wp.me/PrgSo-2n

Steveo08
10th May 2010, 20:27
In MPC-HC if I install Haali then DXVA is disabled as well.



just if you use haali video renderer instead of vmr9/evr, what you are talking about was just the splitter in haali and that does not have to do anything with dxva.

Fadeout
10th May 2010, 20:43
I even disinstalled VS filter.

When I install Haali it asks me if I want to disable the internal splitter of MPC. I check the box, so the internal splitter is disabled. But then the player uses CoreAVC and not DXVA (and I see Haali being used). If I disable CoreAVC I get the error that it can't find a codec for video.

Now I actually managed to make DXVA work with Haali, but I had to DISABLE DXVA in the transform filter panel. Why?

Also: the filter says that it's using Microsoft DTV-DVD Video Decoder.

But then I also can't enable CoreAVC at least for those files that DXVA has trouble reading since it gets always loaded or not at all.

I'm using MPC-HC 64bit SVN 1845 and EVR Custom pres.

Keiyakusha
10th May 2010, 20:48
But then the player uses CoreAVC and not DXVA (and I see Haali being used). If I disable CoreAVC I get the error that it can't find a codec for video.
Disable custom media type for h264 in haali splitter settings (if you have it ON)

Now I actually managed to make DXVA work with Haali, but I had to DISABLE DXVA in the transform filter panel. Why?.
Which means now you using something else for DXVA, but not MPC-HC
Edit: yep, Microsoft's decoder is used.

deets
10th May 2010, 20:54
I cant seem to get DXVA for VC1 working. mpc codec is used, but not using dxva. h.264 works fine. this is vc1 in mkv from my blu ray rips

Fadeout
10th May 2010, 20:55
Disable custom media type for h264 in haali splitter settings (if you have it ON)
It is off.


Which means now you using something else for DXVA, but not MPC-HC
Edit: yep, Microsoft's decoder is used.
I guess so, but if I enable MPC DXVA then I get a black screen, audio goes on a few seconds, then stops.

I get DXVA working only if I disinstall Haali.

clsid
10th May 2010, 21:03
Use a more recent version of MPC-HC and enable the internal H.264 DXVA decoder. The black screen issue was recently fixed.

Fadeout
10th May 2010, 21:34
Use a more recent version of MPC-HC and enable the internal H.264 DXVA decoder. The black screen issue was recently fixed.
Yes, that fixed the problem, thanks.

Now I'm at it I have another minor issue.

I have overbright colors in MPC. As soon I boot the Catalyst Control Panel this gets fixed without even changing anything. This should be related to the color range but there's no program running that would change that beside Windows 7 itself.

So is there a way to get colors right by default without requiring me to boot the control panel every time? Is there something in Aero that messes with this?

EDIT:
If it can help understanding: VLC doesn't show any problem. WMP instead has the problem but, if the video is stopped and I seek, the colors are right, as soon I press "play" the video brights up to the bad values.

clsid
10th May 2010, 21:44
You need to disable "dynamic contrast" in the catalyst control panel.

Fadeout
10th May 2010, 21:48
You need to disable "dynamic contrast" in the catalyst control panel.
It is.

But then as soon as I boot the panel, the problem gets fixed, so it's like it stays enabled till I boot the control panel. If I reboot, the problem is back there.

EDIT: Ok, fixed this too. Had to go through Regedit looking for "DynamicContrast" and replacing manually every 1 with 0.

That worked.

Fadeout
11th May 2010, 00:43
Ok, still not done.

SVN 1875 now refuses DXVA even with videos that previously worked perfectly with DXVA. For example a 1080p 5.0 with 8 ref frames played perfectly before, now refuses DXVA. Also the famous Planet Earth clip was working perfect with DXVA (ATI 4850), now it falls back to software.

I guess due to: Improved DXVA compatibility check

Aleksoid1978
11th May 2010, 05:40
Ok, still not done.

SVN 1875 now refuses DXVA even with videos that previously worked perfectly with DXVA. For example a 1080p 5.0 with 8 ref frames played perfectly before, now refuses DXVA. Also the famous Planet Earth clip was working perfect with DXVA (ATI 4850), now it falls back to software.

I guess due to: Improved DXVA compatibility check

http://img26.imageshack.us/img26/7971/mpco.th.png (http://img26.imageshack.us/i/mpco.png/)

Momber
11th May 2010, 07:23
What problems did you have?
This is really not the thread to rant about MS operating systems per se, it would be off-topic.
I already feel bad for replying at all.
My apologies.

Mixer73
11th May 2010, 11:03
I'm running build 1862 here and I have very reproducable hanging with MPC-HC. I'm running EVR-Sync in D3D Fulscreen (seems to be the best option for me).

Symptom is that if you play one video by Explorer association, and try to play another while the first is playing, MPC-HC hangs:

Description:
A problem caused this program to stop interacting with Windows.

Problem signature:
Problem Event Name: AppHangB1
Application Name: mpc-hc.exe
Application Version: 1.3.1862.0
Application Timestamp: 4be4aa9f
Hang Signature: 63fb
Hang Type: 2048
OS Version: 6.0.6002.2.2.0.256.1
Locale ID: 3081
Additional Hang Signature 1: c2dab22b2df581dda845d0d33d01fab5
Additional Hang Signature 2: 94bf
Additional Hang Signature 3: 54947a886f92e9b26fd4e97d7b0ec124
Additional Hang Signature 4: 63fb
Additional Hang Signature 5: c2dab22b2df581dda845d0d33d01fab5
Additional Hang Signature 6: 94bf
Additional Hang Signature 7: 54947a886f92e9b26fd4e97d7b0ec124

This same hanging symptom seems also to happen if I stop the video without pressing CRTL-C to get out of D3D Fullscreen but I can't seem to get to do it now. When it hangs it seems to hang on to the display surface until Windows forcibly kills the task off.

System is Q6600, Intel 965 chipset, 4Gb RAM, Windows Vista x64, Nvidia GTX260 with 191.07 driver.

I think I've had this symptom for quite a while, so I don't think its a recent regression or anything like that.

Anybody else seen this happen?

EDIT: Definitely to do with D3D Full Screen, if I CRTL-C, the playback stops and another video will play just fine.

fastplayer
11th May 2010, 11:18
53019161.mov (http://playlist.yahoo.com/makeplaylist.dll?sid=53019161&sdm=web&pt=rd) [H.264/AAC, 97.5 MB]
Trailer shows first frame only while audio plays fine with rev1460 and higher. If you seek in the trailer, the video appears and plays from there on correctly. Pressing stop and play helps too. Any revision before rev1460 works without any issues.
This is probably due to the Bento4-library update which broke a couple of other MP4/MOV files too. It was fixed (partially?) in rev1500.
Can somebody confirm this?

Setup: Win7 32-bit, EVR-CP, ffdshow 3266
Here are 2 more broken trailers:
lastairbenderthe_trlr_03_720p_dl.mov (http://pdl.stream.aol.com/aol/brightcove/us/moviefone/trailers/2010/lastairbenderthe_036563/lastairbenderthe_trlr_03_720p_dl.mov) [H.264/AAC, 65.6 MB]
105499764.mov (http://playlist.yahoo.com/makeplaylist.dll?sdm=web&pt=rd&sid=105499764) [H.264/AAC, 118 MB]
Using VMR-9 as renderer, chances are higher that the files actually play properly.

Aleksoid1978
11th May 2010, 21:15
lastairbenderthe_trlr_03_720p_dl.mov (http://pdl.stream.aol.com/aol/brightcove/us/moviefone/trailers/2010/lastairbenderthe_036563/lastairbenderthe_trlr_03_720p_dl.mov) play fine with internal splitter & decoder with DXVA.
MPC 1864 rev.

fastplayer
11th May 2010, 21:36
lastairbenderthe_trlr_03_720p_dl.mov (http://pdl.stream.aol.com/aol/brightcove/us/moviefone/trailers/2010/lastairbenderthe_036563/lastairbenderthe_trlr_03_720p_dl.mov) play fine with internal splitter & decoder with DXVA.
MPC 1864 rev.
It plays fine for me too when using Haali's MP4/MOV splitter or madVR as renderer. It's only EVR CP and VMR-9 (to some extent) that have problems. MPC-HC rev1453 has none of these issues...

Aleksoid1978
12th May 2010, 00:36
It plays fine for me too when using Haali's MP4/MOV splitter or madVR as renderer. It's only EVR CP and VMR-9 (to some extent) that have problems. MPC-HC rev1453 has none of these issues...

I use internal splitter + EVR Custom, EVR Sync - play fine

alexins
12th May 2010, 00:51
Media Player Classic HomeCinema (x86/x64), svn 1881 (http://www.xvidvideo.ru/media-player-classic-home-cinema-x86-x64/media-player-classic-homecinema-x86-x64-svn-1881.html)

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

Changes (1876-1881):
•Rewritten DVXA check for better readability;
•DXVA: ignore level by default (like was done in the past);
•updated ffmpeg;
•Added UVD2 test to ATI L5.1 DXVA check;
•Some code cleanup;
•Update : rewrite and cleanup DXVA compatible code;
•Update : set max ref frames = 16 for ATI HD4xxx & HD5xxx with 10.4 driver.

Changes log (http://www.xvidvideo.ru/logi-izmeneniy/log-izmeneniy-media-player-classic-homecinema.html)

hayan
12th May 2010, 04:24
EVRCP & EVR Sync, and 1088p file.

VMR9 renderless - crop 1088 to 1080 (XP, win7)
EVR - crop 1088 to 1080 (win7)
EVRCP & EVR Sync - missing (win7)

Matching_Mole
12th May 2010, 10:35
Hi all,

Tetsuo55, just a quick question to know about the team priority for two bugs which affect MPC MpegSplitter and your confidence in you capabilities to solve them.:
- the wrong framerate for VC1 in m2ts file when using external decoder. I know that a dirty trick exists but it do not work anymore using the renderer EVR Sync.
- the issue with the 1.0 DTS audio files used, between others, by criterion edition.

These two ones are pretty annoying for me but I know that you have to manage many priorities (I have also some experience on project management ;)) and few resources. Just information help for waiting for the fix :))

Thanks in advance.

tetsuo55
12th May 2010, 16:50
Ive put my money in a different approach to splitting, this solution would fix all the known splitter bugs.

So to answer your question, i dont expect these bugs to be fixed in the current splitters any time soon, if ever.

clsid
12th May 2010, 17:34
And that solution would be?

tetsuo55
12th May 2010, 22:14
We hope to gain more from ffmpeg.
So to nuance my statement, any bug that does not occur when using ffplay should also no longer occur in mpc-hc.
On the flip side anything broken in ffplay will be broken on mpc-hc too.

Matching_Mole
12th May 2010, 22:37
So you seem want to stop the development of your MpegSplitter and use the ones from ffplay, right?

This option seems strange because MpegSplitter is the best m2ts splitter available for me. I imagine you want to use the development capacities from ffmpeg team in order to focus yourself on other part of MPC but this seems very weird to me because again, except some bugs (the ones indicated on my previous message, maybe some PGS and seeking issues) not other m2ts splitter is as good as yours. Maybe I'm wrong and I do not understand your choice but this seems a bad news to me.

tetsuo55
12th May 2010, 22:53
Are you aware of any specific problems with m2ts on ffplay?
All the samples i have available appear to be working correctly.

Matching_Mole
12th May 2010, 23:28
I don't use linux system so I never try ffplay. My statement about MpegSplitter was for the "windows" world, as far as I know. So maybe you're completely right, I do not critic your choice.

When do you plan to use ffplay splitters in MPC?

tetsuo55
12th May 2010, 23:40
You can get ffplay for windows here http://ffmpeg.arrozcru.org/autobuilds/

Unfortunately i don't have a clear image on how long it will take to have a usable alternative.

madshi
13th May 2010, 08:10
FWIW, from my reading in the ffmpeg dev newsgroups it appears to me that the guy responsible for the mpeg/ts splitter is anal about only supporting what is 100% officially standard. He doesn't seem to allow support for anything which, although used in real life, isn't officially contained in some spec. Because of that I fear that the ffmpeg splitter may not support all funny things that are out there in the real world, although technically it would be easy.

That's just my impression, and take it with a grain of salt. It may be outdated, because it's based on posts I've read months ago.

Matching_Mole
13th May 2010, 10:49
Thanks for the link and the information Tetsuo55. Just a last couple of questions. Why did you decide to switch to this alternative?

I mean I don't really know ffplay splitter (I just tried it using your link with some audio tracks which not working during my test by the way but maybe I don't use it correctly) but are you so sure that it will not get more troubles that the current splitter in MPC? You are so not confident on your current splitter or it's because you don't have enough developers to fix it?

tetsuo55
13th May 2010, 11:05
FWIW, from my reading in the ffmpeg dev newsgroups it appears to me that the guy responsible for the mpeg/ts splitter is anal about only supporting what is 100% officially standard. He doesn't seem to allow support for anything which, although used in real life, isn't officially contained in some spec. Because of that I fear that the ffmpeg splitter may not support all funny things that are out there in the real world, although technically it would be easy.

That's just my impression, and take it with a grain of salt. It may be outdated, because it's based on posts I've read months ago.Even if that is true there are patches for some wierder stuff in the wild, and we could create our own. We prefer working closely with ffmpeg on a solution that is acceptible for all