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

djrh
10th June 2008, 02:36
Anyone else having problem with h264 streams (not files on hdd)?

1.If I play the stream using the internal h264, it does NOT use HA.
2. If I play the stream using Cyberlink h264, I get great playback for few minutes (it's using the GPU at 40-50%), but then it starts jittering, and the only way to fix it is to restart the stream.

I read somewhere that if it buffers few seconds of the stream, it will likely fix the issue. Is there anyway to set network stream buffering in MPC?
Thanks.

ADude
10th June 2008, 06:21
Who cares? At least i don't.

I was sure that I was answering a question asked by matmaul, but now I am confused - it seems that we can only discuss topics you are interested in ?

Mercury_22
10th June 2008, 07:53
Interesting new KB 951685 for vista (http://support.microsoft.com/KB/951685)

The video playback application stops responding when you watch video or Live TV on a Windows Vista-based computer...

SYMPTOMS
When you watch video or Live TV on a Windows Vista-based computer, you experience the following issues.

Issue 1

While you are watching Live TV in Windows Media Center, you put the computer into standby. Then, you resume the computer from standby, and you continue to watch Live TV. Although video playback starts successfully after you resume the computer from standby, the video playback application stops responding (hangs) after about two seconds.

Issue 2

You play video content that contains multiple video resolution formats. For example, the content contains formats of both 1440 × 1080 pixels and 1920 × 1080 pixels. In this situation, the video playback application stops rendering after the content changes from one format to another.

For example, assume that you play the video content, you click Pause in the video playback application, and then you try to drag the slider to the right side of the seek bar. In this situation, you cannot drag the slider, and the application stops responding.
Back to the top

CAUSE
These issues occur because of a deadlock in the Enhanced Video Renderer (EVR) component. This component is used by video playback applications.

Download the update for Windows Vista x86-based versions (951685) package now. (http://download.microsoft.com/download/C/7/5/C758636A-2745-4E37-9F36-362C76C768EE/Windows6.0-KB951685-x86.msu)
Download the update for Windows Vista x64-based versions (951685) package now. (http://download.microsoft.com/download/C/7/5/C758636A-2745-4E37-9F36-362C76C768EE/Windows6.0-KB951685-x64.msu)

neoufo51
10th June 2008, 08:24
I did compiling of MPC-HC svn 558 + Microsoft DirectX SDK June 2008
I just tried your build and I can now SEEK with every renderer on 720p x264 files whereas with every other build, I could only do it with the Haali Renderer.

This build is a keeper!

But I have yet to see any confirmation that a newer SDK would make things any better.
I think that the playback improvement that I'm seeing and the reason others are thanking alexkins is more than enough to warrant keeping up to date with the SDK.

cca
10th June 2008, 08:59
I don't think that Clsid is irrational, he just states something that should be obvious. Where's the evidence that the new SDK improves anything in MPC-HC? All we have so far is a comment from neoufo51 about seeking. Anyone else?

tetsuo55
10th June 2008, 09:40
We can safely update the SDK

-All renderers work
-Seeking issues are fixed
-Slow framerateissues are fixed

I'm not 100% sure yet but this sdk update seems to fix my random hanging/looping bug

clsid
10th June 2008, 11:49
If that is true, then great! But I can't help to notice that some of those issues only apply to a few people here. Maybe a XP versus Vista thing? I have seen so many builds and problem reports that I have completely lost track.

clsid
10th June 2008, 11:51
Wasn't you the one who wrote the subtitle engine of MPC? If yes, can you please look at my last post? This problem can be fixed?
I don't know where you got that idea, but I have done only minor changes to the MPC code. It is Gabest who wrote all code of the original MPC.

tetsuo55
10th June 2008, 12:10
If that is true, then great! But I can't help to notice that some of those issues only apply to a few people here. Maybe a XP versus Vista thing? I have seen so many builds and problem reports that I have completely lost track.

It does indeed warrant further testing, however reports so far indicate both xp and vista working fine with the new SDK

thuan
10th June 2008, 13:05
I did compiling of MPC-HC svn 558 + Microsoft DirectX SDK June 2008 Version: 9.23.1350 + Microsoft DirectX SDK August 2007 (d3d.h, d3d8.h, d3d8caps.h, d3d8types.h, d3dcaps.h, d3drm.h, d3drmdef.h, d3drmobj.h, d3drmwin.h, d3dtypes.h, dxtrans.h, dinput.lib, dxtrans.lib).
VMR7 - works!
AFAICT it's a mixed build with the latest DX SDK and some files from the old one. So saying everything works with the latest SDK, did you really compile it yourself or used someone else's, tetsuo55?

I'm against the removal of VMR7. Because, I'm using it on my Core2 machine (I have my reason like can't stand the buggy and under quality resizer of VMR9 and EVR) and it's the default renderer on XP, an OS that's still widely used.

alexins
10th June 2008, 13:23
thuan, components from old DX SDK are required for the correct assembling of VMR7, new DX SDK is used for all other the elements.

clsid
10th June 2008, 13:34
It does indeed warrant further testing, however reports so far indicate both xp and vista working fine with the new SDK
Then you missed a couple of posts:
it works on my Windows XP also, no problem with any playback, but DXVA will only work with VMR7 windowed, and not with VMR7 renderlessThat compilation does not solve the DVD Menu highlight bug.

So far the only ones that have posted anything about it working better than other builds are you and neoufo51.

Mercury_22
10th June 2008, 13:36
No need to thank me. I only compile the code.
It is necessary to say thank you to the developers!
casimir666, clsid, drevil_xxl, matmaul, bosluk, xneokr, alexwild ... :thanks:

ericab, I added the number of the svn assembling:
http://i039.radikal.ru/0806/4b/fbde77bc6e2dt.jpg (http://radikal.ru/F/i039.radikal.ru/0806/4b/fbde77bc6e2d.png.html)

You compiled this versions from http://xvidvideo.ru/ and the ffdshow versions ? I'm asking because I can't install ffdshow keep asking to install Microsoft Visual C++ 2005 SP1 Redistributable Package (x86) although I already have Microsoft Visual C++ 2005 SP1 Redistributable Package (x86) and Microsoft Visual C++ 2005 SP1 Redistributable Package (x64) installed :helpful:

My OS Vista x64 SP1

thuan
10th June 2008, 14:20
thuan, components from old DX SDK are required for the correct assembling of VMR7, new DX SDK is used for all other the elements.

ic, then as long as VMR7 works and MPC-HC works as it supposes to be, I don't care.

JohnLai
10th June 2008, 14:23
Anyone encounter the shaky video playback for the Naruto and Bleach h.264 in avi container with dxva?

alexins
10th June 2008, 14:27
Mercury_22, ffdshow I did not test from Vista x86-64. With Win XP x86-32, Win 2003 SRV x86-32, Win Vista x86-32 works very well.

STaRGaZeR
10th June 2008, 14:28
I don't know where you got that idea, but I have done only minor changes to the MPC code. It is Gabest who wrote all code of the original MPC.

Someone posted in this thread that you were the author, sorry. But anyway, do you know if this problem is fixable? Can we anime viewers hope or not? :p

ranpha
10th June 2008, 14:56
Someone posted in this thread that you were the author, sorry. But anyway, do you know if this problem is fixable? Can we anime viewers hope or not? :p

I probably should say that clsid maintains vsfilter code, but the one who created it is still Gabest.

carnage_pl
10th June 2008, 15:01
Anyone encounter the shaky video playback for the Naruto and Bleach h.264 in avi container with dxva?

Same problem at my pc

JohnLai
10th June 2008, 15:19
When the naruto and bleach h.264 is remuxed with mkvmerge, it will playback well with dxva without shaky video.

clsid
10th June 2008, 15:33
Someone posted in this thread that you were the author, sorry. But anyway, do you know if this problem is fixable? Can we anime viewers hope or not? :p
Sorry, you are asking the wrong person. I have no intention of fixing the VSFilter code, let alone attempt to read/understand it.

mariner
10th June 2008, 16:26
Anyone encounter the shaky video playback for the Naruto and Bleach h.264 in avi container with dxva?

Similar problem here with X-Men The Last Stand trailer in avi container. Would not play under earlier version of the decoder, so it's a big improvement.

Tested under XP sp3 and Cat 8.5.

Great work, Casimir.

gngn
10th June 2008, 16:26
When the naruto and bleach h.264 is remuxed with mkvmerge, it will playback well with dxva without shaky video. sample: http://www.sendspace.pl/file/ppsdB28L/

not even Cyberlink's decoder will work perfect, it doesnt show me the frame-rate:
http://img73.imageshack.us/img73/925/avibl6.th.jpg (http://img73.imageshack.us/my.php?image=avibl6.jpg)

another problem would be very old files, with
Writing application : mkvmerge v1.5.6 ('Breathe me') built on Sep 7 2005 18:18:22,
playback will halt after a few seconds. sample (http://rapidshare.com/files/121467283/_FAP__Suzumiya_Haruhi_no_Yuuutsu_-_Ending_Dance_Full__h264__vorbis__F5F3EDA2_.mkv) with Cyberlink it plays, but frames are dropped and framerate is not shown.
http://i266.photobucket.com/albums/ii259/gngnmumu/th_mkv_old.jpg (http://i266.photobucket.com/albums/ii259/gngnmumu/mkv_old.jpg)
its best that AVI Contair should be banned as DXVA compatible?

about what i said earlier: "it works on my Windows XP also, no problem with any playback, but DXVA will only work with VMR7 windowed, and not with VMR7 renderless" , DXVA doesnt work with VMR7 renderless at least since version 1.10 (didnt test any older versions, so im not sure if it did function at all)

3ngel
10th June 2008, 16:33
I can signal a video freeze just playing a plain avi/xvid.

At random, after starting well, the video freezes while the audio goes. MPC process has to be terminated.

I don't know if it's a "new SDK" issue (same problem on it too), but this has start happening starting from some build, that unfortunately i can't identify 'cause missing about. But i can remember that i've downloaded all the daily build in this thread and this freeze problem started more or less 3 4 downloads ago in thread inverse cronological order :D
That mean that i'm using a daily functionaly build but not one of the latest.
I can provide the CRC of the working exe, after which all the builds freeze on my system.
CRC is C120BF2B

tetsuo55
10th June 2008, 16:35
it works on my Windows XP also, no problem with any playback, but DXVA will only work with VMR7 windowed, and not with VMR7 renderless, also doesn't fix the highliting bug

Its true that those 2 issues remain, howeve ri have to state the following:

Those issues are always there, as far as i know regardless of which sdk you use.

in other words:

vmr 7 renderless and highlighting NEVER works on my card, regardless of which svn build i try

_xxl
10th June 2008, 16:58
I can signal a video freeze just playing a plain avi/xvid.

At random, after starting well, the video freezes while the audio goes. MPC process has to be terminated.

That is a know and old bug, hard to reproduce because is random. Disable internal avisplitter and avi xvid will not crash.

alexins
10th June 2008, 17:03
I can provide the CRC of the working exe, after which all the builds freeze on my system.
CRC is C120BF2B
3ngel, this file of not my assembling.
CRC my files:
MPC-Homecinema.546 -89D50627
MPC-Homecinema.551 - DE2DBBED
MPC-Homecinema.552 - 9AC6708F
MPC-Homecinema.553 - A79FD900
MPC-Homecinema.554 - F7278CA1
MPC-Homecinema.556 - 719D7B41
MPC-Homecinema.557 - 7EDD76AB
MPC-Homecinema.558 - 423C2589
MPC-Homecinema.558.test.sdk_dx-9.23.1350 - B82CE828
MPC-Homecinema.566 - 961A00A6
MPC-Homecinema.568 - 8F9337D6

3ngel
10th June 2008, 17:27
@xxl
Strange thing is that i don't use the internal splitter. I use Haali splitter for avi too, and the bug is present but only after a certain build (working) of wich i've given the CRC

@alexins
The CRC i've posted is that from the working, which i downloaded some times ago and i remember was not yours (or pheraps too old?). If you can edit all your build list with HTTP links of the exe i can try every of it to verify the bug.

Pheraps the working build (wich i'm using) it's around 534? Don't remember.

EDIT:
From the file properties it results "modified" (we can say compiled?) on May 18 2008, 21.22.00
This can be helpful to identify pheraps :)

clsid
10th June 2008, 18:12
Are you using the Overlay renderer? Because Overlay + internal decoders is buggy.

3ngel
10th June 2008, 18:40
No i'm using VMR9 Renderless + Haali Splitter + Xvid Standalone Decoder

_xxl
10th June 2008, 19:22
They should work fine with MS avisplitter.

_xxl
10th June 2008, 19:34
This sample:
http://x264.nl/h.264.samples/force.php?file=./luxe.hd.ateme.ts
more samples:
http://x264.nl/h.264.samples/
Something is wrong with mpc-hc latest + internal splitters/decoders win XP sp3, default video renderer, no DXVA.
Using internal splitters + ffdshow latest the result is not the same.
Also for me dual core mpc-hc software h.264 decoding is broken, only 1 core used?
ffdshow's h.264 decoder is using both cores.

Joniii
10th June 2008, 19:34
Could someone compile the latest Video Decoder and Mpeg Splitter?

tetsuo55
10th June 2008, 20:28
Woah..

i have to do some extra testing but so far it seems the new sdk build fixes a bug i never reported.

black screen during first commercial of stargate SG1 season 8 DVD, now it works perfectly


Also catalyst 8.6 beta completely breaks DXVA for me

Tery
10th June 2008, 21:19
Nobody seems to care (it's about the fourth time i say it), but loading external subtitle playing a DVD isn't working with EVR or haali video render, works with VMR7 renderless.

Is anybody having this problem ?
Is anybody aware of this problem ?
Can somebody fix this problem ?

thanks for the great job, you've done so far.

Tery.

sheppaul
10th June 2008, 22:28
Tery, use EVR Custom.

marc99
10th June 2008, 22:29
Vista SP1, all renderers, GF8600

DVD Navigation highlighting of the cursor bug exist with DXVA. In full software works fine.

tetsuo55
10th June 2008, 22:55
Woah..

i have to do some extra testing but so far it seems the new sdk build fixes a bug i never reported.

black screen during first commercial of stargate SG1 season 8 DVD, now it works perfectly


Also catalyst 8.6 beta completely breaks DXVA for me


Confirmed! alexins build fixes all the problems i was having with dvd playback except the menu highlighting

Tery
10th June 2008, 23:23
Tery, use EVR Custom.

doesn't work either.

gngn
11th June 2008, 00:34
This sample:
http://x264.nl/h.264.samples/force.php?file=./luxe.hd.ateme.ts
more samples:
http://x264.nl/h.264.samples/
Something is wrong with mpc-hc latest + internal splitters/decoders win XP sp3, default video renderer, no DXVA.
Using internal splitters + ffdshow latest the result is not the same.
Also for me dual core mpc-hc software h.264 decoding is broken, only 1 core used?
ffdshow's h.264 decoder is using both cores.

i also have XP SP3 on a AMDx2 and those samples play on both cores in Overlay, VMR7 and 9. i had the problem with just one used core with the ffdshow from the latest oficial release of CCCP.

STaRGaZeR
11th June 2008, 00:36
Sorry, you are asking the wrong person. I have no intention of fixing the VSFilter code, let alone attempt to read/understand it.

I guess that's a no unfortunately. Well, we can always use prebuffering, we loose animated karaokes but it's not that important.

One more thing if possible, when you're inside MPC if you have a keyboard or something with a volume wheel it only affects volume inside MPC. Is it possible to, inside MPC, use this wheel to control the master volume in Vista instead of MPC's volume slider? I don't know if this happens in XP, but it's pretty annoying as you're limited by the value of Vista slider. If it's set very low when you start MPC, you have to minimize MPC, up volume and return, but you're still limited by the new value.

ranpha
11th June 2008, 01:09
I guess that's a no unfortunately. Well, we can always use prebuffering, we loose animated karaokes but it's not that important.

One more thing if possible, when you're inside MPC if you have a keyboard or something with a volume wheel it only affects volume inside MPC. Is it possible to, inside MPC, use this wheel to control the master volume in Vista instead of MPC's volume slider? I don't know if this happens in XP, but it's pretty annoying as you're limited by the value of Vista slider. If it's set very low when you start MPC, you have to minimize MPC, up volume and return, but you're still limited by the new value.

The same thing happened in XP too. Controlling MPC volume did not affect XP master volume level.

ericab
11th June 2008, 01:11
alexins build fixed my mpchc troubles too.
build 566

STaRGaZeR
11th June 2008, 02:24
The same thing happened in XP too. Controlling MPC volume did not affect XP master volume level.

And how is that nobody seems to report or care about it? I find it one of the most annoying things in the world of media players. The same happened with PDVD7, thank god they fixed it in PDVD8. Now what I do is open options with O, up volume and Atl+F4 to return.

ranpha
11th June 2008, 04:14
And how is that nobody seems to report or care about it? I find it one of the most annoying things in the world of media players. The same happened with PDVD7, thank god they fixed it in PDVD8. Now what I do is open options with O, up volume and Atl+F4 to return.

This is because letting an application controls the master volume level is not exactly a good thing.

ADude
11th June 2008, 04:17
Vista SP1, all renderers, GF8600

DVD Navigation highlighting of the cursor bug exist with DXVA. In full software works fine.

Marc - what do you mean by "In full software" ?

marc99
11th June 2008, 05:44
CyberLink Video/SP Decoder with disabled DXVA.
Internal MPC-HC MPEG Decoder have a bug (hangs application) with some kind of mpeg2 files, especially on DVD Menu.

ADude
11th June 2008, 06:38
CyberLink Video/SP Decoder with disabled DXVA.

OMG, you are right !

Too funny !

To summarize for everyone else:

- When Playing DVDs, to use the DVD Menus, the cursor position is indicated by "highlighting". Various DVDs use a variety of cutesy graphics methods, but the effect is the same - only the menu choice under the cursor is highlighted, and that indicates what choice will be selected by "enter" or "select".

- All MPC versions through late 2007 do the DVD Menu highlighting fine, and the last one to do so was 1.0.11.0 .

- All subsequent versions mysteriously failed to show the highlighting at all in my setup, whether MPC-HC or clsid's MPC.

Marc just discovered that it is connected to DXVA in Cyberlink Video/SP decoder (the MPEG2 decoder included in PowerDVD). When DXVA is unchecked in that filter's internal options, then DVD Menu highlighting will work with later MPC-HC. (I should qualify that I have only tried that with the version I currently have installed, which is Alexin's special compilation of 558 that uses part of the recent SDK.)

I hope that casimir can use this information to make some sort of adjustment in MPC-HC - since I need MPEG2 DXVA for high bitrate MPEG2 1080i ts files (which are what is used for OTA broadcast here). So, it would be a pain to have to constantly uncheck the DXVA box for DVDs, and recheck it for 1080i ts files.

It's also still mysterious as to why in 1.0.11.0 MPC-HC, it was okay for the Cyberlink DXVA to be checked, and DVD Menu highlighting still worked...

Thanks Marc for your report !

marc99
11th June 2008, 06:53
Because with 1.0.11.0 MPC-HC + EVR Custom Pres., Cyberlink MPEG Decoder run in software mode. DXVA dosen't work, even if checked enabled.

ericab
11th June 2008, 07:28
Thanks Marc for your report !

thanks marc