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

Snowknight26
4th May 2010, 01:41
No point in submitting bugs for r1249. Try updating MPC-HC first..

Aleksoid1978
4th May 2010, 02:53
I guess since updating to a newer graphics driver DXVA playback produces artifacts. Using the non-DXVA internal filters the video is fine. It looks like this:
http://img266.imageshack.us/img266/3928/pbslatinmusicusa1of4bri.th.png (http://img266.imageshack.us/i/pbslatinmusicusa1of4bri.png/)

System OS is Windows 7 x64, MPC-HC build 1.3.1249.0, graphics card is an AMD Radeon 4870, graphics driver version is 10.4. Output settings is EVR+custom.

PS: Just checked and used ffdshow for decoding with hardware acceleration enabled. Same artifacts. So it's a driver issue. Probably not MPC-HC's fault.

PS2: reverted back to driver version 10.3. artifacts gone.

Aaah. btw, right now seeking with ffdshow+hw shows the same artifacts for a split second. so the bug in 10.4 seems to be that the driver is ignoring I-frames or so constantly...
This is issue with 10.4 driver. You can download last version MPC-HC and set Disable DXVA for SD in video decoder Properties.

nijiko
4th May 2010, 06:15
Nijiko: MPC-HC is always looking for more volunteers to work on and help improve code.

People work on parts that they are interested in.

Yes. I see.
So I don't grumble about MPC-HC.
I just hope MPC-HC will make better.
Gabest's MPC is a mythology.

namaiki
4th May 2010, 06:23
It seems that you see something that others do not.
By reading the source of MPC-HC, there is a big problem with whole frame of MPC-HC.

Perhaps you could try some experiementation on code yourself.

Octo-puss
4th May 2010, 08:16
The internal x264 decoder must be buggy or something, cause I get lots of broken "squares" on the screen (not all time time, but every few seconds. Sorry I cannot find better words to describe it :) When I unchecked H264 DXVA in options and let FFDShow handle it, it was all good.

namaiki
4th May 2010, 08:56
Octo-puss" What is your GPU, what version of windows and what graphics drivers?


I cannot find better words to describe it :)
You know, they say an image is worth a thousand words. Post up a link to a screenshot on imageshack.us or other.

XhmikosR
4th May 2010, 09:47
The internal x264 decoder must be buggy or something, cause I get lots of broken "squares" on the screen (not all time time, but every few seconds. Sorry I cannot find better words to describe it :) When I unchecked H264 DXVA in options and let FFDShow handle it, it was all good.

Create a new ticket (http://sourceforge.net/apps/trac/mpc-hc/report) and provide a sample and your system's specifications.

Octo-puss
4th May 2010, 11:38
Octo-puss" What is your GPU, what version of windows and what graphics drivers?

You know, they say an image is worth a thousand words. Post up a link to a screenshot on imageshack.us or other.

Right.
http://img121.imageshack.us/img121/6499/screenprb.jpg
ATI 5850, Catalyst 10.4, Windows7 64bit, MPC-HC build 1824.

namaiki
4th May 2010, 11:43
Octo-puss, just curious but what happens if you use the Microsoft DTV-DVD Video Decoding filter instead of the MPC Video Decoder (set as prefer in external filters)

Booji Boy
4th May 2010, 11:52
The internal x264 decoder must be buggy or something, cause I get lots of broken "squares" on the screen (not all time time, but every few seconds. Sorry I cannot find better words to describe it :) When I unchecked H264 DXVA in options and let FFDShow handle it, it was all good.
Oh hell! Did you even read the last posts?

It's the graphics card driver, revert to 10.3. DXVA is broken in the driver, no matter what decoder you use. You obviously have hardware acceleration disabled in ffdshow.

Booji Boy
4th May 2010, 11:55
No point in submitting bugs for r1249. Try updating MPC-HC first..
1249 is the latest version I can find to download.

hoborg
4th May 2010, 11:57
Booji Boy@
Are you sure ? PDVD10 h.264 (DXVA on) + CAT. 10.4 and no problem at all.

Px
4th May 2010, 12:25
Booji Boy@
Are you sure ? PDVD10 h.264 (DXVA on) + CAT. 10.4 and no problem at all.
As discussed on previous page, with 10.4 broken DXVA for SD video, and as workaround in mpc hc added corresponding checkbox.
If only people read topic before posting...

hoborg
4th May 2010, 12:28
As discussed on previous page, with 10.4 broken DXVA for SD video, and as workaround in mpc hc added corresponding checkbox.
If only people read topic before posting...

Of course i read it.
I posted SD video sample few pages here. This sample is blocky under MPC-HC but working fine if PDVD10 decoder is in use like before. This pointing the problem is in MPC/FFDshow DXVA decoder.

roytam1
4th May 2010, 12:35
1249 is the latest version I can find to download.

http://www.xvidvideo.ru/media-player-classic-home-cinema-x86-x64/

nijiko
4th May 2010, 12:37
It seems that you see something that others do not.

Perhaps you could try some experiementation on code yourself.

Sorry, I am just a green-hand in this field.
Though some algorithm I don't agree with, I have no better ideas...
For example, trying using with all kinds of different filters, there are some problems happening with MPC-HC, but not with MPC or WMP.
Some developer of MPC-HC said it's not the problem with MPC-HC, instead of the 3rd party filter, but I don't think so.
I mainly found the problems by playing experience.

Mike5
4th May 2010, 12:38
1249 is the latest version I can find to download.

They talk abou the SVN version: http://xvidvideo.ru/

The last is 1834.

Octo-puss
4th May 2010, 13:34
Oh hell! Did you even read the last posts?

It's the graphics card driver, revert to 10.3. DXVA is broken in the driver, no matter what decoder you use. You obviously have hardware acceleration disabled in ffdshow.

No I did not, I really don't have time to read tens of posts everyday to check whether something was discussed x pages ago, sorry. Just wanted to report something that looked like a bug to me.
And I don't even know FFD supports hw acceleration.

Fadeout
4th May 2010, 16:47
I'm having some problems and I need someone to explain me how things work.

I'm using SVN 1834 on W7 and latest ATI drivers, so with DXVA enabled. Today I noticed that the video got heavy stutters in the end credits. Statistics show it's dropping a lot of frames and this happen only with subtitles on (but they do not seem animated). CPU usage is low.

I tried different settings for the subs, but the heavy stutter is always there.

Then I tried to change from EVR Custom Pres to EVR Synch: stutter gone, frames not dropped.

What's up with this? I'm tempted to keep EVR Synch by default since it seems working, but what's the difference? What are the downsides of one or the other?

EDIT: EVR Synch is not better, it only hides the problem since there's still stuttering but more distributed between frames, so less noticeable. Statistics show a crazy number of synch glitches with EVR Synch (so bad synch but no dropped frames), whereas the other mode dumps entire blocks of frames (and stays in synch).

I guess this problem is unsolvable at this time. I should also point out again that the "bug" is in the handling of subtitles since it's the appearance of subs that screws the output and gives these synch problems.

Frank K Abbott
4th May 2010, 17:20
Ok so I bought the ArcSoft DTS Decoder but I don't know how to use it to decode DTS-HD MA tracks with MPC. Anyone know?

mark0077
4th May 2010, 19:24
Guys, are index.bdmv files supposed to play in mpc-hc. I have copied one of my new blu-rays to disk (Avatar). I have two problems.

1) index.bdmv won't play in mpc-hc, just nothing happens. I can play manually by opening one of the m2ts files though. Is opening index.bdmv supposed to be possible?
- If not, how could I open a bdmv directory through the command line?
2) An unrelated problem I will need to look elsewhere for a solution, basically xbmc isn't recognizing the Avatar/BDMV/ directory as a movie.
- Does anyone know how to make xbmc read blu-rays, in a way that will allow it to open then in mpc-hc (ie not by the index.bdmv file if not supported).

Darth Viorel
4th May 2010, 19:29
Of course i read it.
I posted SD video sample few pages here. This sample is blocky under MPC-HC but working fine if PDVD10 decoder is in use like before. This pointing the problem is in MPC/FFDshow DXVA decoder.

I can confirm that. Some SD videos with more than 8 ref frames are blocky with the MPC and ffdshow dxva decoder but work with the PDVD10 one.

sabret00the
4th May 2010, 23:17
Just noticed a bunch of GUI bugs had their milestone (1.4) removed, why?

http://sourceforge.net/apps/trac/mpc-hc/ticket/366
http://sourceforge.net/apps/trac/mpc-hc/ticket/367
http://sourceforge.net/apps/trac/mpc-hc/ticket/368

tetsuo55
4th May 2010, 23:41
Those three tickets are feature requests that we are not going to be actively working on any time soon (if ever).
So their milestone has been changed to someday-maybe

Booji Boy
5th May 2010, 00:44
I can confirm that. Some SD videos with more than 8 ref frames are blocky with the MPC and ffdshow dxva decoder but work with the PDVD10 one.
As ATI's driver does full bitstream decoding with the most recent gfx cards, maybe the PDVD10 does not make use of DXVA for SD videos?

Darth Viorel
5th May 2010, 06:45
MPC shows dxva in the lower left corner and the clocks of the card (HD 5770) are 400/900 MHz so I think dxva is used.

neoufo51
5th May 2010, 10:50
I'm getting LOTS of video stuttering on the latest (1834) build of MPC-HC. Win7 on an Nvidia GS8400 card, 195.62 drivers.

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

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

Changes (1835-1845):

fixed all standalone filters project dependencies;
updated Changelog;
renamed buildffmpeg.sh and cleaned it up (Note: set your GCC version in the script (GCCVER) in order for it to work correctly and don't use paths with spaces since configure fails);
updated French translation (thanks to Sebastiii) and fixed almost all of the truncated strings;
Updated Avisynth 2.5 header from Avisynth64. This commit fixes ticket #454;
updated installer's custom messages, German and Polish.Patch by mtrz;
updated French translation and fixed a few more truncated strings [Sebastiii];
Improved subtitle handling (should be refactored later). Removed unnecessary methods CComPtr<> parameters;
added French translation for the installer's custom messages.Patch by Sebastiii.

nijiko
5th May 2010, 14:56
There are some problems(?) with opening video clip files.
Setting has been set to auto-zoom 100%, but sometime opening window is smaller than 100%.
After press ALT-2 (set to 100%), window will enlarge.
I don't know whether it's a problem.

cicciociccio2
5th May 2010, 17:09
Sorry for my bad english...

I found a problem with MPC-HC 1820-> with Radeon 3650 and driver 10.4.
In this version the "limiter" L4.1 for DXVA decoding with ati vendor was moved to L5.1.
Unfortunately, only the Ati 4xxx and 5xxx and 3200IGP (UVD2 compatible) really support L5.1 though not present in the change log.

Then MPC-HC not skip DXVA mode in L5.1 video to software render....the result is full of artifacts... :(

Is possible including in the next version of MPC-HC a manual or automatic limitier to L4.1 for Ati 2xxx and 3xxx?
Thanx to all ;)

mark0077
5th May 2010, 18:39
I figured out why index.bdmv files wern't working for me. Its because mpc-hc can't seem to play them if they don't exist within a folder called BDMV. Can this be tweaked to work without the BDMV folder name?

clsid
6th May 2010, 15:01
Sorry for my bad english...

I found a problem with MPC-HC 1820-> with Radeon 3650 and driver 10.4.
In this version the "limiter" L4.1 for DXVA decoding with ati vendor was moved to L5.1.
Unfortunately, only the Ati 4xxx and 5xxx and 3200IGP (UVD2 compatible) really support L5.1 though not present in the change log.

Then MPC-HC not skip DXVA mode in L5.1 video to software render....the result is full of artifacts... :(

Is possible including in the next version of MPC-HC a manual or automatic limitier to L4.1 for Ati 2xxx and 3xxx?
Thanx to all ;)
+1

MPC should work out-of-the-box for everyone. So detection of the UVD version should be done if possible. If not, then L5.1 support for ATI cards should be made optional (and disabled by default).

Is the amount of dedicated memory of the card relevant? If so, that should be factored in the DXVA decision making algorithm as well.

cicciociccio2
6th May 2010, 16:14
+1

MPC should work out-of-the-box for everyone. So detection of the UVD version should be done if possible. If not, then L5.1 support for ATI cards should be made optional (and disabled by default).

Is the amount of dedicated memory of the card relevant? If so, that should be factored in the DXVA decision making algorithm as well.

My 3650 has 256Mb of Vram.
I tried the same video (L5.1) on Ati Radeon 4350 256Mb with same driver version (10.4) and it works perfectly.
DXVA is correctly enabled.

ATI should be more precise in the change log of driver release... :rolleyes:

PS
Tnx for the great job ;)

amigenius
6th May 2010, 18:32
Hi,

since i switched to an ati 5970 the mpc dxva video decoder gives me RANDOM screen corruption when playing HD videos.

When playing the same HD videos with the cyberlink h.264 decoder (PDVD8) in DXVA mode i get no corruption at all.

This happens with Catalyst 10.3 and 10.4a.

Tried all combinations of Flush..., Desktop composition and tried even 15 Frames buffer in custom presenter evr mode.

So the conclusion of this is, that something is not right with the mpc dxva videodecoder as cyberlinks decoder (PDVD8) works without a problem.

And i double checked that the cyberlink decoder is realy in DXVA Mode.

cya

System Specs:

Windows Vista SP2 64Bit
Catalyst 10.4a
Core i7 920
ATI 5970

~Revolution~
6th May 2010, 19:51
^ For the life of your computer please get rid of Vista and put Windows 7 on it...

huskarl
6th May 2010, 21:13
Hi,

I've been trying to enable DXVA for some time already. I've followed every MPC-HC tutorial, downloaded every sample movie there is but no luck.

I'm running Win XP SP3,
My card is GF 9600GT Silent with newest drivers (older obnes don't work either)
GPU-Z output:
http://img153.imageshack.us/img153/6527/gpuzn.jpg

DXVA checker shows this:

http://img144.imageshack.us/img144/7554/dvxa.jpg
http://img263.imageshack.us/img263/1925/dvxa2.jpg

What does it means? Am I ever going to get DXVA working?


I get hardware acceleration under linux using libvdpau

saint-francis
7th May 2010, 03:21
Hi,

I've been trying to enable DXVA for some time already. I've followed every MPC-HC tutorial, downloaded every sample movie there is but no luck.

I'm running Win XP SP3,
My card is GF 9600GT Silent with newest drivers (older obnes don't work either)

What does it means? Am I ever going to get DXVA working?


I get hardware acceleration under linux using libvdpau

What leads you to believe that DXVA isn't working? How have you configured MPC HC to use DXVA? It's odd that it isn't working for you. It works for everyone else with ease (present ATI H.264 L 5.1 issues excluded). While you have provided a good deal of information there is nothing about your configuration or any detailed symptoms.

Keiyakusha
7th May 2010, 03:26
Tell me please why subtitle text size is changing when I have SRT subtitles and selecting/deselecting option Play -> Subtitles -> Default style? As I understand this option is for overriding any styles with default one which is defined in settings. But SRT doesn't have any styles so this option shouldn't have any effect?

namaiki
7th May 2010, 03:35
I've been trying to enable DXVA for some time already. I've followed every MPC-HC tutorial, downloaded every sample movie there is but no luck.

I'm running Win XP SP3,
My card is GF 9600GT Silent with newest drivers (older obnes don't work either)

In MPC-HC, View-> Options-> output-> make sure that output is VMR9(renderless), under playback make sure that auto-load subtitles is ticked, under internal filters, make sure that h264/avc(dxva) is ticked.

the above should work for most people. if it does not, first post media info of a file you are playing, then list everything under the menu 'play-> filters' when playing that file. please note that divx/xvid files cannot be accelerated.

neoufo51
7th May 2010, 06:00
^ For the life of your computer please get rid of Vista and put Windows 7 on it...
That is one of the best things anybody on XP and Vista can do to resolve their playback issues.

edigee
7th May 2010, 06:00
@huskalr:

Be careful not to have an external subtitle filter loaded(ex DirectVobSub), otherwise the DXVA doesen't work. Use only internal MPC_HC subtitle filter. If you'll follow namaiki's advice DXVA should work with no problem.

Edit: Take a look here too;
http://wp.me/PrgSo-2n

Mixer73
7th May 2010, 08:38
That is one of the best things anybody on XP and Vista can do to resolve their playback issues.

Honestly, as an owner of a Vista and a 7 machine, this is crap.

7 is a nicer platform for Media Center for example (you need less things installed), but for a main-use machine I would struggle to find a specific benefit of 7 over Vista that isn't purely cosmetic in nature.

nevcairiel
7th May 2010, 09:17
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.. =)

edigee
7th May 2010, 11:56
Honestly, as an owner of a Vista and a 7 machine, this is crap.

7 is a nicer platform for Media Center for example (you need less things installed), but for a main-use machine I would struggle to find a specific benefit of 7 over Vista that isn't purely cosmetic in nature.

+1
(a friend of mine said that W7 is kinda Vista for lazy people)
There might be some benefits ,but not for HD playback.

Edit: I'm from the 5%. Switched back to vista after a day with W7 only. Was stunned too.

madshi
7th May 2010, 12:30
A question to the devs:

I'm considering adding a subtitle input put to madVR, so that MPC HC's internal subtitle renderer can work with madVR. But I've no idea what kind of data such a pin would receive. Can somebody give me a rough description of what kind of pin the MPC HC subtitle renderer needs in a renderer?

Thanks!

littleD
7th May 2010, 21:23
Hi,

I've been trying to enable DXVA for some time already. I've followed every MPC-HC tutorial, downloaded every sample movie there is but no luck.

I'm running Win XP SP3,
My card is GF 9600GT Silent with newest drivers (older obnes don't work either)
GPU-Z output:

DXVA checker shows this:

http://img144.imageshack.us/img144/7554/dvxa.jpg

What does it means? Am I ever going to get DXVA working?


I get hardware acceleration under linux using libvdpau



That screen means that obviously you have problem with drivers.

boyumeow
8th May 2010, 16:08
littleD is right, something like

http://img214.imageshack.us/img214/9475/dxvachecker.png

um3k
8th May 2010, 17:21
Would it be possible to set up specific filter chains for different file types/codecs? For instance, I want my HDV m2t files to decode with DScaler 5 and render with Haali, but I want HD H.264 to render with VMR9 so I can use DXVA.

stax76
8th May 2010, 18:34
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.

neoufo51
8th May 2010, 21:34
Honestly, as an owner of a Vista and a 7 machine, this is crap.

7 is a nicer platform for Media Center for example (you need less things installed), but for a main-use machine I would struggle to find a specific benefit of 7 over Vista that isn't purely cosmetic in nature.
Overall performance, especially on slower PCs, is noticably better on Win7 than on Vista.