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

MatMaul
16th June 2008, 19:03
@lexor : agreed

@tetsuo55 : nearly all your step are useless for just checking DXVA compatibility...

- mod16 is not a restriction for DXVA decoding
- the video cards don't really care about the level, they only care about the nbs of refs because they have a fixed buffer to store the decoded pictures. the bitrate could be problematic but the limit seems to be very high.

ADude
16th June 2008, 19:54
Actually, I have read the thread before posting any of this. I have not a lot of clue about the technical stuff, hence me not understanding all of it and why a lot of it doesn't work for me.

Then get a BluRay player and give away your HT-PC.

HT-PC's are for "techies" and "geeks" - people who find a word in the thread that they don't understand and say "cool - something to learn!" and go to Wikipedia, and read the whole article about it.

People who know nothing about automobiles, don't open up the engine and change the cylinder bore.

So, I am continually amazed that people who are not technical are trying to do things like BitTorrent and HT-PC.

HT-PC are hobbies, requiring hours of attention - if you don't enjoy doing it, it's not for you.

tetsuo55
16th June 2008, 20:03
why do you think mod16 does not matter? i *had* several non mod16 files that did not work.

i could modify the h264 header and put in a mod16 value and the video would get decoded, however after a short time the system would lock up needed a reset.

the checks i suggested are only needed when trying to define the limits of all levels. like i said assuming l4.1 for all content makes them almost useless.

Why they are needed:
-Ref frame limit is not only limited by resolution but also by fps
-L5.1 devices are out, its only a question of time before MPC-HC starts supporting this, the current formula would not work for a L5.1 device.
-the full formula could be used in x264 and/or frontends to ensure files are hardware compatible automagically

Also better defining the limits might point out why some files don't work 100% correctly

Finally maybe this should be a standalone file checker before anything is changed in MPC

MatMaul
16th June 2008, 20:21
why do you think mod16 does not matter? i *had* several non mod16 files that did not work.
because it was fixed by casimir recently so it should work now. As I stated some times ago 1920*1080 is not mod16 and is a very common HD resolution (blu ray discs resolution ^^).

-Ref frame limit is not only limited by resolution but also by fps
false, fps has nothing to do with ref frame limit. the buffer size do not change so even at 60 fps the ref limit will still be the same for a given resolution and level.
-L5.1 devices are out, its only a question of time before MPC-HC starts supporting this, the current formula would not work for a L5.1 device.
Please quote or link sources

rack04
16th June 2008, 20:35
Just wanted to report that seeking on my 8800gt works perfectly. Thank you to all the devs for all the hard work.

tetsuo55
16th June 2008, 20:40
because it was fixed by casimir recently so it should work now. As I stated some times ago 1920*1080 is not mod16 and is a very common HD resolution (blu ray discs resolution ^^).


false, fps has nothing to do with ref frame limit. the buffer size do not change so even at 60 fps the ref limit will still be the same for a given resolution and level.

Please quote or link sources

Hmm my broken files would also not work in powerdvd
Blurays are actually 1920x1088 but the extra 8 lines are cropped (not always though, grey line that annoys people)

a 1920x1080 file @ 60 fps will not work with 4 ref frames, just try it ;), if it does work out videocards support Level 4.2, the next test would be 72.3 fps.

source quadhd: working on it!

Joniii
16th June 2008, 21:23
Hmm my broken files would also not work in powerdvd
Blurays are actually 1920x1088 but the extra 8 lines are cropped (not always though, grey line that annoys people)

a 1920x1080 file @ 60 fps will not work with 4 ref frames, just try it ;), if it does work out videocards support Level 4.2, the next test would be 72.3 fps.

source quadhd: working on it!

My H.264 movies are 1934x1088 according to MPC, is that normal?

MatMaul
16th June 2008, 23:54
Blurays are actually 1920x1088 but the extra 8 lines are cropped (not always though, grey line that annoys people)
like all the "non mod16" samples : h264 can't encode a non mod16 video because the size of a macroblock is 16*16 pixels, so it uses the same trick for all non mod16 video : add some lines to the video to reach mod16 and crop at playback time.

a 1920x1080 file @ 60 fps will not work with 4 ref frames, just try it ;), if it does work out videocards support Level 4.2, the next test would be 72.3 fps.
I didn't say it will work I said it is unrelated : MaxDPB is used to find the max number of refs, MaxMBPS is used to find the max fps. So a 1920x1080 file @ 60 fps will not work, even with 1 ref frame.
But you find something here : we need to check fps against the MaxMBPS to fallback in software mode if it is too high.

currently never heard about a GPU which support L5.1 so I will be happy to read that :)

ooferomen
17th June 2008, 02:24
can mpeg2 bitstreaming support be added to MPC HC?

pcm1ke
17th June 2008, 03:19
No advice? Nothing? :confused:

Does anyone have any idea why I would be getting out of sync audio when I playback x264 content using MPHC with all the internal filters except for coreavc when I set my refresh rate (onboard GPU, ATI 3200 HD) to 24hz? If the refresh rate is 60hz, there is no problem, but the minute I switch it to 24hz there is a huge problem. I'm using EVR Custom. If I switch to VM9 renderless the audio gets a little better but is still out of sync. Just an FYI, the problem doesn't occur when I playback blu-ray content in PowerDVD.

Any ideas?

ericab
17th June 2008, 05:34
can mpeg2 bitstreaming support be added to MPC HC?

that would be AWESOME.

no more purevideo ! :devil:

i doubt it will ever happen though. . . . .

ericab
17th June 2008, 05:40
No advice? Nothing? :confused:

pcm1ke;

sounds similar to my ordeal (posted a page or so back... with no answer yet... btw... :mad: )



you aren't by chance using a multi-monitor setup for video playback are you ??

JohnLai
17th June 2008, 06:06
that would be AWESOME.

no more purevideo ! :devil:

i doubt it will ever happen though. . . . .

Hmm....i wish for it to happen.....DXVA in MPEG2 is better for my old pc that still using agp slot. Imagine running 1920x1280 MPEG2 files using ATI HD2400(don't know if the 2400 support it, lol)....

ramonchin
17th June 2008, 22:58
What a pity! MPC video decoder doesn't work with interlaced H264 satellite channels... black screen :( . I'll continue using Cyberlink on DVBviewer.

greenail
18th June 2008, 00:02
What a pity! MPC video decoder doesn't work with interlaced H264 satellite channels... black screen :( . I'll continue using Cyberlink on DVBviewer.

local network streaming to the MPC-HC player works with DVBDream, the standalone filter does not work however. The devs have any idea why the standalone filter can't handle h.264 in a ts stream? The filter properties say DXVA is working, but it is only black screen.

Aleksoid1978
18th June 2008, 01:09
Find bug:

I have 22 Monitor(DVI - first) and 32 LCD TV(DVI-HDMI - second), 8800GT

On Windows XP(SP3) when open mpc(22 is default), load and play video and try mpc move to 32 LCD(second) - BLACK SCREEN, using VMR9. Also if open mpc on second monitor, play video and move to first - black screen. But play not stopping, sound present, seeking working, but no video :mad:

On Vista SP1(EVR custom) - work fine, move mpc and it play, no black screen.

P.S. - The Kmplayer work fine on XP and Vista when move from one monitor to other.
Multi-monitor setting - DUALVIEW

STaRGaZeR
18th June 2008, 01:25
that would be AWESOME.

no more purevideo ! :devil:

i doubt it will ever happen though. . . . .

ATI cards don't support MPEG2 bitstream decoding, only assisted mode AFAIK. With MPEG2 Blu-ray movies I get +-20% CPU utilization with software decoder and 9-10% with Cyberlink's, which uses MPEG-2 IDCT DXVA2 with my HD3870 and works like a charm.

73ChargerFan
18th June 2008, 01:25
Does anyone have any idea why I would be getting out of sync audio when I playback x264 content using MPHC with all the internal filters except for coreavc when I set my refresh rate (onboard GPU, ATI 3200 HD) to 24hz? If the refresh rate is 60hz, there is no problem, but the minute I switch it to 24hz there is a huge problem. I'm using EVR Custom. If I switch to VM9 renderless the audio gets a little better but is still out of sync. Just an FYI, the problem doesn't occur when I playback blu-ray content in PowerDVD.

Any ideas?
I'd need more details, such as the display, file container (ts, mkv) and audio type. Otherwise, when my problems have been decoder or splitter related. Some combinations work on some files but not on others.

ericab
18th June 2008, 03:26
Find bug:

I have 22 Monitor(DVI - first) and 32 LCD TV(DVI-HDMI - second), 8800GT

On Windows XP(SP3) when open mpc(22 is default), load and play video and try mpc move to 32 LCD(second) - BLACK SCREEN, using VMR9. Also if open mpc on second monitor, play video and move to first - black screen. But play not stopping, sound present, seeking working, but no video :mad:

On Vista SP1(EVR custom) - work fine, move mpc and it play, no black screen.

P.S. - The Kmplayer work fine on XP and Vista when move from one monitor to other.
Multi-monitor setting - DUALVIEW

see my post here:
http://forum.doom9.org/showthread.php?p=1148520#post1148520

similar ??

Aleksoid1978
18th June 2008, 05:00
see my post here:
http://forum.doom9.org/showthread.php?p=1148520#post1148520

similar ??

Not exactly. For me - One video 8800GT+2 Monitor.

Video play fine when I run MPC, move to second monitor and after this open video and play, but not play normal(BLACK SCREEN) when i run MPC, play video and after move to second monitor. This is on XP. On Vista work fine.



No SLOW.

pcm1ke
18th June 2008, 06:57
Display = Samsung LN40A750 (LCD)
Container = mkv (x264, dts, ac3)

Thanks.

I'd need more details, such as the display, file container (ts, mkv) and audio type. Otherwise, when my problems have been decoder or splitter related. Some combinations work on some files but not on others.

Does anyone have any idea why I would be getting out of sync audio when I playback x264 content using MPHC with all the internal filters except for coreavc when I set my refresh rate (onboard GPU, ATI 3200 HD) to 24hz? If the refresh rate is 60hz, there is no problem, but the minute I switch it to 24hz there is a huge problem. I'm using EVR Custom. If I switch to VM9 renderless the audio gets a little better but is still out of sync. Just an FYI, the problem doesn't occur when I playback blu-ray content in PowerDVD.

Any ideas?

jaybox
18th June 2008, 16:32
mpc-hc v1.1.576.0
file: flv
I 've found mpc doesn't respond when video is resized and then jumped 10sec backward.
no such problems with v1.1.0.2

RaynQuist
18th June 2008, 19:08
Find bug:

I have 22 Monitor(DVI - first) and 32 LCD TV(DVI-HDMI - second), 8800GT

On Windows XP(SP3) when open mpc(22 is default), load and play video and try mpc move to 32 LCD(second) - BLACK SCREEN, using VMR9. Also if open mpc on second monitor, play video and move to first - black screen. But play not stopping, sound present, seeking working, but no video :mad:

On Vista SP1(EVR custom) - work fine, move mpc and it play, no black screen.

P.S. - The Kmplayer work fine on XP and Vista when move from one monitor to other.
Multi-monitor setting - DUALVIEW

Have you tried pausing the video before moving it? Also there's a remember last window position option so you can make it start up on the 32"

ericab
18th June 2008, 20:35
alexins;
new webpage looks great! :thanks:

Aleksoid1978
18th June 2008, 23:03
Have you tried pausing the video before moving it? Also there's a remember last window position option so you can make it start up on the 32"

A find solution for my trouble - i'm Usually use Output->VMR9(renderless) and Surface:3D surface(recomended) :
http://www.tosei.ru/isoft/fail.png - not work, black screen when move mpc while play video.

Yesterday i checked other surface - and Great, it is work on all surface Distinct from "3D surface(recomended)":
http://www.tosei.ru/isoft/work.png

ericab
18th June 2008, 23:34
A find solution for my trouble - i'm Usually use Output->VMR9(renderless) and Surface:3D surface(recomended) :
not work, black screen when move mpc while play video.

Yesterday i checked other surface - and Great, it is work on all surface Distinct from "3D surface(recomended)"



good find Aleksoid;
confirmed working for my issue too.

can someone explain what the 2d/3d selection means ?

Aleksoid1978
18th June 2008, 23:52
good find Aleksoid;
confirmed working for my issue too.

can someone explain what the 2d/3d selection means ?

Can you have time to test my build of mpc-hc(as you can see on images i add select monitor for fullscreen mode, because 8xxx and 9xxx not support FullScreenOverlay) ???

http://www.tosei.ru/isoft/mplayerc_fs_582.7z

ericab
19th June 2008, 00:30
Can you have time to test my build of mpc-hc(as you can see on images i add select monitor for fullscreen mode, because 8xxx and 9xxx not support FullScreenOverlay) ???

http://www.tosei.ru/isoft/mplayerc_fs_582.7z

Aleksoid;
works as advertised :)

this is definitely a feature that should be permanently implemented in the official builds of MPC-HC.


the only thing which i cant figure out is:

when MPC-HC's internal DXVA decoder is "Using DXVA"; it says the video card is my 8800GTS, instead of my 8600GT; EVEN when its being displayed on my 8600GT! why doesnt it show the correct video card thats being used ??

ericab
19th June 2008, 01:08
ok some new infos:

it seems an 8800GTS 512 doesnt support acceleration of H.264 with IDCT and CAVLC/CABAC or VC-1/WMV decode acceleration with IDCT;

where-as an 8600GT DOES; as well as: Decode Acceleration for H.264, VC-1/WMV; MPEG-2 decode acceleration, High quality scaling, MPEG-2 Spatial-Temporal De-Interlacing, and MPEG-2 inverse telecine.

so the question is:
how can i get MPC-HC to default to my secondary videocard (8600GT) for FULL h/x.264 acceleration ?

8800GTS = Primary; PCI Slot 1 (PCI bus 1, device 0, function 0)

8600GT = Secondary; PCI Slot 2 (PCI bus 2, device 0, function 0)

does anyone know how to change the code to in the MPC-HC vid-dec.ax to utilize PCI bus 2 ?

Aleksoid1978
19th June 2008, 02:03
Aleksoid;
works as advertised :)

this is definitely a feature that should be permanently implemented in the official builds of MPC-HC.


the only thing which i cant figure out is:

when MPC-HC's internal DXVA decoder is "Using DXVA"; it says the video card is my 8800GTS, instead of my 8600GT; EVEN when its being displayed on my 8600GT! why doesnt it show the correct video card thats being used ??

try this test build - http://www.tosei.ru/isoft/mplayerc_fs_582_test.7z - see property page MpcDecoder on different monitor and adapter

ericab
19th June 2008, 02:30
try this test build - http://www.tosei.ru/isoft/mplayerc_fs_582_test.7z - see property page MpcDecoder on different monitor and adapter

doesnt work correctly.

for some reason it uses the DivX h.264 decoder even though i have it set as blocked. your previous build used the correct decoder (MPC-HC internal)

however on the MPC-HC internal decoder options (when viewed through 'options') it now shows the monitor # you selected in the "output" page, so i guess this is the addition to the code you made ?

how can i be sure it (MPC-HC internal decoder) is using my 8600GT's decoding capabilities as opposed to my 8800GTS's ??

GTPVHD
19th June 2008, 02:38
8800GTS 512(G92 GPU) does support DXVA decoding for H.264, it has the same Purevideo features as 8600GT(G84). 8800GTS 320/640(G80 GPU) doesn't have DXVA decoding support for H.264.

Aleksoid1978
19th June 2008, 02:40
doesnt work correctly.

however on the MPC-HC internal decoder options (when viewed through 'options') it now shows the monitor # you selected in the "output" page, so i guess this is the addition to the code you made ?

how can i be sure it (MPC-HC internal decoder) is using my 8600GT's decoding capabilities as opposed to my 8800GTS's ??

1). - Yes, i add some change in code
2). - MPC-HC internal decoder use that adapter, on what Monitor you see(i think)

Aleksoid1978
19th June 2008, 02:58
doesnt work correctly.


try (if can) this - http://www.tosei.ru/isoft/mplayerc_fs_582_test_2.7z

i check on one video+2 monitor(notebook, 8600gt m) - correctly dispaly monitor - \\.\DISPLAY1 or \\.\DISPLAY2

Check on you two video ...

ericab
19th June 2008, 03:20
thanks for test builds aleksoid!

ill try test 2 in a while

2). - MPC-HC internal decoder use that adapter, on what Monitor you see(i think)

this is what im trying to figure out:

A) does MPC-HC internal decoder, display what adapter is being used, to decode 264 content

or

B) does MPC-HC internal decoder use video card it is displayed on for 264 acceleration, AND wrongly display what adapter is being used.

Aleksoid1978
19th June 2008, 03:36
thanks for test builds aleksoid!

ill try test 2 in a while



this is what im trying to figure out:

A) does MPC-HC internal decoder, display what adapter is being used, to decode 264 content

or

B) does MPC-HC internal decoder use video card it is displayed on for 264 acceleration, AND wrongly display what adapter is being used.

MPC-HC internal decoder from author display DEFAULT adapater in system.
MPC-HC internal decoder(my change and compile) display what adapter and monitor(display) conected to this adapter is used now, not only for 264 content.

Example - if you have 8800(monitor 1 and 2) and 8600(monitor 3), - when you see on monitor 3 MPC-HC internal decoder use 8600, because on this adapter connect monitor 3.

STaRGaZeR
19th June 2008, 03:41
Just to confirm, for those with ATI cards have you upgraded to Catalyst 8.6? If so, can you play VC1 videos without green glitches?

ericab
19th June 2008, 04:32
aleksoid;

test build 2 works very well.

multiple videocards can now be used with DXVA in MPC-HC!

:thanks:

can aleksoids code be incorporated into the official builds aswell ?

Aleksoid1978
19th June 2008, 04:40
aleksoid;

test build 2 works very well.

multiple videocards can now be used with DXVA in MPC-HC!

:thanks:

As i'm from russia and my English bad - can you write normaly to developers for add my code ???

Two things - FullScreenMonitor select and disaply current adapter+display

P.S. - and need more test ... Especially on Ati

ericab
19th June 2008, 04:56
As i'm from russia and my English bad - can you write normaly to developers for add my code ???

Two things - FullScreenMonitor select and disaply current adapter+display

P.S. - and need more test ... Especially on Ati

ok aleksoid, ill write to the developers.

were cen we/they get the source for you additions ?

Aleksoid1978
19th June 2008, 05:21
ok aleksoid, ill write to the developers.

were cen we/they get the source for you additions ?

ok - i now do and uploading diff and source files(for multiple monitor) and write here

...

here source diff and other - http://www.tosei.ru/isoft/mpc_582_Diff.7z

73ChargerFan
19th June 2008, 06:17
Display = Samsung LN40A750 (LCD)
Container = mkv (x264, dts, ac3)
Nice screen. :D

First, try the latest development build, from this thread, not from sourceforge.

Next, install Haali's media splitter for mkv, which will disable MPC's built-in mkv splitter. If it doesn't work, then you can re-enable the built-in mkv splitter.

My last suggestion is to try out the different options for output, VMR7, VMR9, Overlay, EVR, etc.

Getting some videos to work is hit or miss sometimes. Many of my mkv and ts files require me to switch to a different renderer or filter to get it to work.

Also, mkvmerge can REALLY screw up, e.g. I used it on a 103 minute x264 video & a dts track, but what I got was a 106 minute movie, where the audio is always 3 minutes behind the action. :confused:

Good luck with this, and keep reporting here what works and what doesn't.

johnsonlam
19th June 2008, 06:37
As i'm from russia and my English bad - can you write normaly to developers for add my code ???


Thank you very much for your work!
большое спасибо
And, your English is good.

Aleksoid1978
19th June 2008, 06:40
Thank you very much for your work!
большое спасибо
And, your English is good.

не за что :)

MatMaul
19th June 2008, 08:10
here source diff and other - http://www.tosei.ru/isoft/mpc_582_Diff.7z
thanks !
Can you link a location where we can find the MultiMonitor and Monitor source code ?
It is just to check the compatibility of the license with the GPL.

Aleksoid1978
19th June 2008, 10:34
thanks !
Can you link a location where we can find the MultiMonitor and Monitor source code ?
It is just to check the compatibility of the license with the GPL.

I find here - http://www.codeproject.com/KB/GDI/multimon.aspx

Mercury_22
19th June 2008, 10:48
Soon a specific logo for x64 release.

Is there any progress being made with this one ? :helpful:

gurubhai
19th June 2008, 11:29
can someone please compile a new version of MPCvideodec.ax

thanks in advance.

Joniii
19th June 2008, 11:55
Aleksoid, could you compile new mpeg splitter. It has had some h.264 bug fixes since your 541 compile.

CiTay
19th June 2008, 12:02
I think i found a bug, either in MPC HC or in the ATI drivers together with my Radeon HD 3850 (in Vista x64, but 32 bit MPC HC). I have searched a bit, but this thread is just too big, so here goes:

When using standard EVR (not custom), the lowest line at the bottom is actually displayed as the highest line on top. So when you have a black picture with a white ball at the bottom edge, you will see a white line at the top edge of the picture. This does not happen with EVR Custom. It does not depend on the video format.

Does this happen for anyone else? Right now i switched to EVR custom with Bicubic PS 2.0 resizer because i like the better sharpness, but that problem used to bother me a bit under EVR.