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

clsid
23rd June 2008, 12:10
I can not look in "filters" because I'm using "No tearing option" so right click menu is disabled...
Then disable it, see what causes your subtitle problem, fix it, and re-enable your "no tearing" stuff.

BlackJack1
23rd June 2008, 12:16
Many thanks for help.
Two subs renderers worked at same time - internal and VobSub. I disabled internal because I can not disable VobSub (some auto enabling version) so I can't find any way to disable it and use internal one.

gurubhai
23rd June 2008, 13:02
Many thanks for help.
Two subs renderers worked at same time - internal and VobSub. I disabled internal because I can not disable VobSub (some auto enabling version) so I can't find any way to disable it and use internal one.
u can block the vobsub(auto enabling) from loading in the external filter section. then you can use the internal subtitle filter

BlackJack1
23rd June 2008, 16:29
Thanks a lot :)
It works!

Regards.

GTPVHD
23rd June 2008, 18:06
The latest builds(593) killed all DXVA support at least on Nvidia Geforce 8/9 cards. Using Ctrl+J, all H.264 files that worked with DXVA now say Not using DXVA eventhough they worked fine on previous builds.

Kado
23rd June 2008, 19:59
DXVA works fine with rev 593 here.
Vista SP1 x86 + 9800GTX 175.80 + MPC HC rev.593 (from http://xvidvideo.ru/)

Works fine with rev.596 too.

3ngel
23rd June 2008, 20:31
Maybe this is a bug of Elecard Mpeg2 decoder. Try with other Mpeg2 Decoder - Nvidia, Nero, Cyberlink ...

Ok, i'll try with some other external mpg2 decoder and see what happens.

@Aleksoid
UPDATE on this.

I've not tested other external decoders yet, but i think i've figured out the problem. Using MPC there is the
View->Video Frame->Override Aspect Ratio->Menu List

Changing in the menu in realtime it does exactly what happens when using Elecard Mpeg2 (and i'm quite sure all the others), the ratio is changed inside the available window size without resizing the window. The resizing can be obtained with a 100% zoom command. Exactly what happens with Elecard.

So i think the culprit of the issue is that simply 1 line of code is missing in AutoZoom 100% that is

1) SetWindowSize()
2) SetAspectRatio()
3) Zoom(100) -> This line of code missing.

So in other words the "Autozoom 100%", Works well with non anamorphic input (wich doesn't have the 2) but don't work on anamorphic wich require an additional Window size according to input DAR (wich pheraps it's not taken from the external decoders output).

This is theoretical discussion, and at the moment i'm sticking again with the old fashioned BC6. As soon as, i'll take a look at it directly, but if you can do it for me you'll do me favour :)
(I'll do anyway tests with other decoders as i can)

Thanks

gngn
23rd June 2008, 20:51
DXVA works fine with rev 593 here.
Vista SP1 x86 + 9800GTX 175.80 + MPC HC rev.593 (from http://xvidvideo.ru/)

Works fine with rev.596 too.

it wont work with XP and Nvidia :(
DXVA remains off, all the files are played in software-mode

GTPVHD
23rd June 2008, 21:04
Yeah, doesn't work on XP SP3 at all. Using latest official 175.19 drivers from Nvidia.com, released today.

carnage_pl
23rd June 2008, 21:18
On ATI DXVA works but clearly worse than earlier. Video hangs for a second more often.

mrtemp
23rd June 2008, 21:48
DXVA works good on my PC with vista ulitamate 64b sp1, nvidia 8800gts, drivers 175.16
but on PC with xp prof 32b sp3, ati hd3450, drivers 8.5 it doesn't work, i have got always macroblocks (with all mpc-hc versions)

http://img131.imagevenue.com/aAfkjfp01fo1i-27166/loc739/86703_snapshot20080619161932_122_739lo.jpg

Kado
23rd June 2008, 22:15
@mrtemp

Try with this video (http://rapidshare.com/files/113536801/Suzumiya_Haruhi_no_Yuuutsu_-_C4_-_Special_Ending_-__Hitsuji__e569a2b7_.mkv.html).

carnage_pl
23rd June 2008, 22:33
@mrtemp

Try with this video (http://rapidshare.com/files/113536801/Suzumiya_Haruhi_no_Yuuutsu_-_C4_-_Special_Ending_-__Hitsuji__e569a2b7_.mkv.html).
Green screen with DVXA on ATI.
There is another issue with that file. Subtitles.
Rendered by MPC are different than rendered by ffdshow. On ffdshow every letter is glowing when is singing. But when rendered by MPC there isn't that effect. Half of sentence has different colour than other half.

http://img156.imageshack.us/img156/8913/subtitlesvm7.th.jpg (http://img156.imageshack.us/my.php?image=subtitlesvm7.jpg)

Aleksoid1978
23rd June 2008, 22:40
Last build work fine DXVA ONLY in VISTA, in XP not work - at least on Nvidia

clsid
23rd June 2008, 22:56
There is another issue with that file. Subtitles.
Rendered by MPC are different than rendered by ffdshow. On ffdshow every letter is glowing when is singing. But when rendered by MPC there isn't that effect. Half of sentence has different colour than other half.

http://img156.imageshack.us/img156/8913/subtitlesvm7.th.jpg (http://img156.imageshack.us/my.php?image=subtitlesvm7.jpg)
Disable subpicture pre-buffering and the karaoke effect will also work with the internal subtitle renderer of MPC.

The advantage of subpicture pre-buffering is that is reduces CPU usage a little bit. The disadvantage is that karaoke and other dynamic subtitle effect are not rendered properly.

mrtemp
23rd June 2008, 23:17
@mrtemp

Try with this video (http://rapidshare.com/files/113536801/Suzumiya_Haruhi_no_Yuuutsu_-_C4_-_Special_Ending_-__Hitsuji__e569a2b7_.mkv.html).


PC1 vista ulitamate 64b sp1, nvidia 8800gts, drivers 175.16, EVR custom
PC2 xp prof 32b sp3, ati hd3450, drivers 8.5, VMR9 renderless

http://img76.imageshack.us/img76/4078/snapshot20080619162126qo7.jpg

mpc 580
matrix
PC1 vista, nvidia - DXVA Mode: H.264 bitstream decoder. no FGT - movie fine
PC2 XP ati - DXVA Mode: H.264 bitstream decoder. no FGT - macroblocks, frames 'freezes' or 'jumps'

Suzumiya_Haruhi_no_Yuuutsu (from Kado)
PC1 vista, nvidia - DXVA Mode: H.264 bitstream decoder. no FGT - movie fine
PC2 XP ati - DXVA Mode: not using DXva


mpc 596
matrix
PC1 vista, nvidia - DXVA Mode: H.264 bitstream decoder. no FGT - movie fine
PC2 XP ati - DXVA Mode: not using DXva

Suzumiya_Haruhi_no_Yuuutsu (from Kado)
PC1 vista, nvidia - DXVA Mode: H.264 bitstream decoder. no FGT - movie fine
PC2 XP ati - DXVA Mode: not using DXva

Casimir666
23rd June 2008, 23:19
Last build work fine DXVA ONLY in VISTA, in XP not work - at least on Nvidia

Understood : I have increase the number of DX surface used for decoding to solve the 11 ref frames bug, but it works only with Vista :-( XP playback broken on ATI too

MatMaul
24th June 2008, 01:10
someone can test this build with XP and 11+ refs samples which didn't work ?
http://www.etud.insa-toulouse.fr/~mvelten/bordel/mpc-hc/mplayerc_test.zip

EDIT : and an other one ^^ :
http://www.etud.insa-toulouse.fr/~mvelten/bordel/mpc-hc/mplayerc_test2.zip

ghostonline
24th June 2008, 01:33
posted few pages before, seems no reply.

so i just uploaded the file. anyone care to test, please give a try.

the file is 1.04GB. 1080P BDrip mkv

http://www.badongo.com/file/9906315
http://www.badongo.com/file/9972556
http://www.badongo.com/file/9972297
http://www.badongo.com/file/9973023
http://www.badongo.com/file/9907155
http://www.badongo.com/file/9907401
http://www.badongo.com/file/9907608
http://www.badongo.com/file/9907810
http://www.badongo.com/file/9973302
http://www.badongo.com/file/9973592
http://www.badongo.com/file/9986622
http://www.badongo.com/file/9986817

already redownloaded by myself. no corruption.


The file itself is really odd. mediainfo shows L5.1 ref 5, but author claim its L4.1 ref 3. I can't tell which is right. you can really play with dxva, so it should be L4.1 ref3, but can't find a way to show it....

I did run few test on this file.

Vista 64bit sp1 NV 9800gx2 / GTX280, mpc-hc 596 EVR/EVR pres., powerdvd8 most recent release.

mpc-hc internal h264 decoder: No dxva
most recent powerdvd8 h264 decoder: dxva

(old powerdvd7 and powerdvd8 will give black screen, only most recent powedvd8 h264 decoder works. don't know why)

xp32bit sp2, NV 9800gx2/ GTX280, mpc-hc 596, VMR9 renderless, powerdvd8 most recent release.

mpc-hc internal h264 decoder: No dxva
Most recent powerdvd8 h264 decoder: dxva

older powerdvd7&8 h264 decoder: dxva


Vista 32bit sp1, 2600xt, driver 8.6,mpc-hc 596 EVR/EVRpres. powerdvd 8 most recent release.

mpc-hc internal h264 decoder: No dxva
most recent powerdvd8 h264 decoder: dxva- but macroblock and freeze.

older powerdvd7 & 8 h264 decoder : black screen

gngn
24th June 2008, 02:06
someone can test this build with XP and 11+ refs samples which didn't work ?
http://www.etud.insa-toulouse.fr/~mvelten/bordel/mpc-hc/mplayerc_test.zip

i get a black screen and no playback with every DXVA-compliable file. same thing for SD with ReFrames 11+ and the other "good" files. files with ReFrames 16 for example will play, because the decoder switches to software-mode.

as a sidenote: i just updated to the newest Nvidia-driver 175.19

EDIT : and an other one ^^ :
http://www.etud.insa-toulouse.fr/~mvelten/bordel/mpc-hc/mplayerc_test2.zip

same thing, black screen and no playback. the SD file from the screenshot has actually 16 ReFrames :D

http://i266.photobucket.com/albums/ii259/gngnmumu/dxva/th_Image1-1.jpg (http://i266.photobucket.com/albums/ii259/gngnmumu/dxva/Image1-1.jpg)

Aleksoid1978
24th June 2008, 03:02
Maybe add verification - XP or Vista ??? or rollback to PicEntryNumber=16 instead 22

rack04
24th June 2008, 03:17
Black screen and no playback with mplayerc_test2 using XP SP2. DXVA works fine with (x86) svn 585.

MatMaul
24th June 2008, 03:50
Maybe add verification - XP or Vista ??? or rollback to PicEntryNumber=16 instead 22
yes both of the test builds have a PicEntryNumber=16 + some little changes but nothing I think that can totally break dxva like that...
perhaps it is my sdk or some weird things the problem...
anyway here is another test build with just PicEntryNumber=16 to check if my modifications are the problem
http://www.etud.insa-toulouse.fr/~mvelten/bordel/mpc-hc/mplayerc_test3.zip

ericab
24th June 2008, 03:58
yes both of the test builds have a PicEntryNumber=16 + some little changes but nothing I think that can totally break dxva like that...
perhaps it is my sdk or some weird things the problem...
anyway here is another test build with just PicEntryNumber=16 to check if my modifications are the problem
http://www.etud.insa-toulouse.fr/~mvelten/bordel/mpc-hc/mplayerc_test3.zip

ERROR upon double click:

"this application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem."

w/ XP SP3

.... back to 582 :/

Aleksoid1978
24th June 2008, 04:42
ERROR upon double click:

"this application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem."

w/ XP SP3

.... back to 582 :/

For me start fine, but i can't test DXVA because my work video not support, Vista x86 SP1

Joniii
24th June 2008, 10:04
Casimir, would this be possible?

Problem atleast in Vista is that when using standalone codecs like MPEG Splitter with MPC Video Decoder, Windows automatically uses it's own WMVideoDecoder DMO for VC-1. There seems to be no way to overwrite it with filter merits.

So could MPEG Splitter force MPC Video Decoder to load and if it's not present then look for Cyberlink VC-1 Decoder? Or maybe even somekind of config option in splitter filter dialog where you could define which decoder to load with VC-1.

For example Cyberlink Splitter forces it's VC-1 decoder to load instead of WMVideoDecoder DMO.

Gawwad
24th June 2008, 11:42
i always get colours "washed-out" with xp sp3 / ati hd2600xt agp
the shaders ==> 16-235 -> 0-255 doesn't work
do other people get the same problem or is it just me ?

but the shaders ==> 16-235 -> 0-255 does work with vista sp1 / nvidia 8600gt pci

Yong
24th June 2008, 13:03
i always get colours "washed-out" with xp sp3 / ati hd2600xt agp
the shaders ==> 16-235 -> 0-255 doesn't work
do other people get the same problem or is it just me ?

but the shaders ==> 16-235 -> 0-255 does work with vista sp1 / nvidia 8600gt pci

i think those shaders need directx runtimes to work.
is it only one not working? or all shaders?

iirc, windows xp default dont have directx redist installed, while vista has all of them.

Gawwad
24th June 2008, 13:18
i think those shaders need directx runtimes to work.
is it only one not working? or all shaders?

iirc, windows xp default dont have directx redist installed, while vista has all of them.

non of the shaders work for my xp sp3 / ati hd2600xt agp computer

so from where can i get those "directx redist" for xp ?

alexins
24th June 2008, 13:25
so from where can i get those "directx redist" for xp ?

http://www.microsoft.com/downloads/details.aspx?FamilyID=2da43d38-db71-4c1b-bc6a-9b6652cd92a3&displaylang=en

http://www.microsoft.com/downloads/details.aspx?FamilyId=822640AB-0983-4C41-9C70-632F6F42C557&displaylang=en

Yong
24th June 2008, 13:27
non of the shaders work for my xp sp3 / ati hd2600xt agp computer

so from where can i get those "directx redist" for xp ?

http://www.microsoft.com/Downloads/details.aspx?familyid=822640AB-0983-4C41-9C70-632F6F42C557&displaylang=en
Well, you probably dont need all of those DLLs,
use 7z, winrar or similar apps to open those cabinet files, extract d3dx9_26.dll, and dxdx9_34.dll and d3dx9_35.dll, to system folder.

Gawwad
24th June 2008, 14:11
thanks a lot guys for the help, now it works !
the picture looks stunning now on my 40 inch lcd tv :cool:

:thanks:

gngn
24th June 2008, 15:37
yes both of the test builds have a PicEntryNumber=16 + some little changes but nothing I think that can totally break dxva like that...
perhaps it is my sdk or some weird things the problem...
anyway here is another test build with just PicEntryNumber=16 to check if my modifications are the problem
http://www.etud.insa-toulouse.fr/~mvelten/bordel/mpc-hc/mplayerc_test3.zip

its not crashing on my PC, but no DXVA playback. again no picture.

Joniii
24th June 2008, 17:08
Alexins what happened to standalone filters compile?

alexins
24th June 2008, 17:27
Alexins what happened to standalone filters compile?

As yet there are no special changes in the code, because of which should be gathered standalone filters . Last assembly Standalone Filters, which I did, was svn 593 (http://www.xvidvideo.ru/component/option,com_docman/task,cat_view/gid,18/Itemid,11/). Changes log (http://www.xvidvideo.ru/content/view/7/17/)

loretta80
24th June 2008, 20:36
click two times on STOP unload the video, like in zoomplayer -> no need to close and open the mplayerc when switching dvxa on off.

or is this already implemented and i'm too dumb to find???

btw. great work

and btw. the second: svn 600 works great with my hd2600 pciE with dvxa enabled/overlay mixer (avc high@L5.1 cabac / 8 Ref frames) .
svn 596 -> no playback at all

LoRd_MuldeR
24th June 2008, 20:58
click two times on STOP unload the video, like in zoomplayer -> no need to close and open the mplayerc when switching dvxa on off.

or is this already implemented and i'm too dumb to find???

What about the "File > Close" command ???

Miryan
24th June 2008, 21:54
click two times on STOP unload the video, like in zoomplayer -> no need to close and open the mplayerc when switching dvxa on off.

or is this already implemented and i'm too dumb to find???

btw. great work

and btw. the second: svn 600 works great with my hd2600 pciE with dvxa enabled/overlay mixer (avc high@L5.1 cabac / 8 Ref frames) .
svn 596 -> no playback at all

You can set that at Options > player > keys.

Casimir666
24th June 2008, 22:49
posted few pages before, seems no reply.

so i just uploaded the file. anyone care to test, please give a try.

the file is 1.04GB. 1080P BDrip mkv

http://www.badongo.com/file/9906315
http://www.badongo.com/file/9972556
http://www.badongo.com/file/9972297
http://www.badongo.com/file/9973023
http://www.badongo.com/file/9907155
http://www.badongo.com/file/9907401
http://www.badongo.com/file/9907608
http://www.badongo.com/file/9907810
http://www.badongo.com/file/9973302
http://www.badongo.com/file/9973592
http://www.badongo.com/file/9986622
http://www.badongo.com/file/9986817

already redownloaded by myself. no corruption.


The file itself is really odd. mediainfo shows L5.1 ref 5, but author claim its L4.1 ref 3. I can't tell which is right. you can really play with dxva, so it should be L4.1 ref3, but can't find a way to show it....

I did run few test on this file.

Vista 64bit sp1 NV 9800gx2 / GTX280, mpc-hc 596 EVR/EVR pres., powerdvd8 most recent release.

mpc-hc internal h264 decoder: No dxva
most recent powerdvd8 h264 decoder: dxva

(old powerdvd7 and powerdvd8 will give black screen, only most recent powedvd8 h264 decoder works. don't know why)

xp32bit sp2, NV 9800gx2/ GTX280, mpc-hc 596, VMR9 renderless, powerdvd8 most recent release.

mpc-hc internal h264 decoder: No dxva
Most recent powerdvd8 h264 decoder: dxva

older powerdvd7&8 h264 decoder: dxva


Vista 32bit sp1, 2600xt, driver 8.6,mpc-hc 596 EVR/EVRpres. powerdvd 8 most recent release.

mpc-hc internal h264 decoder: No dxva
most recent powerdvd8 h264 decoder: dxva- but macroblock and freeze.

older powerdvd7 & 8 h264 decoder : black screen

Your file have too much ref frame for a 1920*1080 video. Rencode with 4 ref frame instead of 5 and it should works

ghostonline
24th June 2008, 23:38
Your file have too much ref frame for a 1920*1080 video. Rencode with 4 ref frame instead of 5 and it should works



i thought 1080p won't work in dxva properly with ref>4.

the problem is I can actually play in dxva without any corruption or problems... and this only happens with nv card with most recent powerdvd8 h264 decoder on vista(xp seems doesn't care which version of powerdvd i use. it works in dxva without any problem on nv card. i didn't get time to test on ati on xp)
ati on vista32bit sp1, on the other hand, either gave black screen or just corrupted the video...


btw, is there any way (other than mediainfo) to show the file's encode setting(such as ref #) ?:helpful:

loretta80
25th June 2008, 06:20
What about the "File > Close" command ???

Yes but it's not that comfortable like in zoomplayer because you need another button (in mplayerc i cannot bind two commands to the stop button), and if the file is closed i have to reopen it. In zoomplayer i just have to push play and the last file will be reloaded.

another question: is there a way to adjust the volume via mplayerc when audio output is set to spdif? the slide control changes nothing.

Aleksoid1978
25th June 2008, 06:27
another question: is there a way to adjust the volume via mplayerc when audio output is set to spdif? the slide control changes nothing.

No way to control volume when output to spdif - and not only in mpc, in any application

ericab
25th June 2008, 06:34
No way to control volume when output to spdif - and not only in mpc, in any application

agreed.

this can only be adjusted on the receiver

johnsonlam
25th June 2008, 10:18
another question: is there a way to adjust the volume via mplayerc when audio output is set to spdif? the slide control changes nothing.

SPDIF is an interface which transport digital signal, it's not analog so nothing to control, it's the same as the RCA plug on the back of your CD player, you need to decode the digital data first and process volume or anything later.

Further reading:

http://en.wikipedia.org/wiki/SPDIF

ACrowley
25th June 2008, 11:52
i thought 1080p won't work in dxva properly with ref>4.


1920x800 / 1920x816 = max 5 ref Frames possible

1920x1040 /1920x1080 = max. 4 Ref Frames

ghostonline
25th June 2008, 12:05
1920x800 / 1920x816 = max 5 ref Frames possible

1920x1040 /1920x1080 = max. 4 Ref Frames


It doesn't add up.

the file is 1920x1080.

Casimir666 said its ref is 5, same as whay mediainfo reported.

then, DXVA shouldn't work with this file, right?

In reality, it does work in dxva without any problems on one of my pc.

so two possible reason:

1. the file is really L4.1 ref 3, as we all know that it will work for 1080P in dxva without any problems. then the question is how to show the file as ref 3...

2. the file is ref 5 and the new powerdvd8 decoder changed something for vista, as older version of it gave black screen, but now it played this file just fine in dxva.
(xp, on the hand, will always work in dxva for this file, regardless which version of powerdvd i use. only tested on nv card, no time for ati)

btw, so far only nv card works on vista in dxva for this file with most recent powerdvd8 files. ati give me corruptted video and freeze with the same powerdvd8 i used for nv card.:confused::confused::confused:

ericab
25th June 2008, 23:13
is there any word on why/how the last few builds have broken DXVA ?

in my experience, 583 was the last working build for it

<---- win-xp sp3, nvidia.

edit**

alexins; multi monitor code going in official builds soon (from test2)... ???

rack04
25th June 2008, 23:43
is there any word on why/how the last few builds have broken DXVA ?

in my experience, 583 was the last working build for it

<---- win-xp sp3, nvidia.



Understood : I have increase the number of DX surface used for decoding to solve the 11 ref frames bug, but it works only with Vista :-( XP playback broken on ATI too


585 is that last build that works for me. XP SP2 and 8800gt.

ericab
25th June 2008, 23:54
585 is that last build that works for me. XP SP2 and 8800gt.

ok...

does anyone else have a higher build then 585 that still has working DXVA?

we MUST narrow down the cause of this.

post you revision number and you os/sp & gfx card

Aleksoid1978
26th June 2008, 00:24
alexins; multi monitor code going in official builds soon (from test2)... ???

later ... maybe next week ...

after stable build, need wait week or two