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

ericab
20th May 2008, 02:03
@MatMaul
Your test build triggers Execute Disable on my system crashing mpc but xxl rev 518 works and decodes with dxva only the sd3.1 file, the sd4.1 cannot be rendered.
Cyberlink's pdvd8 h264 decoder decodes both with dxva.
With Aleksoid1978 files 2 play corrupted and other 2 play fine with dxva (nvidia).

@ericab
Try build rev 518 hosted here (http://tirnanog.fate.jp/mirror/Misc%20(not%20by%20celtic_druid)/MPC-Homecinema%20SVN/). Also use evr/evr custom presenter.
"H.264 bitstream decoder, No FGT" means that the gpu is decoding the video.

nope, its a no-go. used custom presenter w/218 build, now it shows the movie with audio, and video, but says "Not using DXVA" :mad:

*edit*

im using XP, w 8800GTS (g92 core) and internal MPCHC decoder.

MatMaul
20th May 2008, 02:16
Cyberlink's pdvd8 h264 decoder decodes both with dxva.
seems to confirm that the max level for SD is also 4.1

Anastasis
20th May 2008, 05:26
The 518 build correct the issue with DXVA playback I was having, as discussed on the thread from the HTPC forum:
http://www.avsforum.com/avs-vb/showthread.php?t=972503&page=6

MeGUI encode using HD-DXVA-HQ profile, from MPEG 2 source, PAR 1.028

build 518 - DXVA good

MPC-HC 1.1.0.0 - no DXVA, filter properties indicate DXVA, but all I would get is a black screen.

MPC 1.1.0.0 w/ PDVD8 h264 codec - DXVA good.

boyumeow
20th May 2008, 05:38
@ All
I would like to do a list with all known bugs and issues for MPC-HC and add it to my first post.
Please send me a pm or post it on this thread.

Filename (in Chinese character) contains unsupported characters (use only A-Z, 0-9) when I play any media (except .mp4) MPC-HC latest, not happen on r492.

Thanks.

baadnewz
20th May 2008, 06:11
I have uploaded r517 for x64 here : http://www.zshare.net/download/12268144e4b3a2b2/

Thank you very much

Casimir666
20th May 2008, 07:09
Filename (in Chinese character) contains unsupported characters (use only A-Z, 0-9) when I play any media (except .mp4) MPC-HC latest, not happen on r492.

Thanks.

This message should happen only with real media files. Do you confirm you have it with other kind of video files?

boyumeow
20th May 2008, 09:09
This message should happen only with real media files. Do you confirm you have it with other kind of video files?

Its my mistakes, it only happens to real media files. Sorry about it.

tetsuo55
20th May 2008, 09:41
build for testing purpose only, which will try to decode with DXVA everything.
http://www.etud.insa-toulouse.fr/~mvelten/bordel/mpc-hc/mplayerc_r518_TEST.zip



Here are my results(xp,vmr9,hd2400pro):

SD31.mp4 >> DXVA enabled, playback is fine

SD41.mp4 >> DXVA enabled, plays a few frames than hangs

pirates_sample.mkv >> DXVA enabled, playback is fine

shooter_sample.mkv >> DXVA enabled, playback is fine (this file had the random macroblocking corruption bug during one of the test runs, it happend around the "shooter" part)

sw_2_sample.mkv >> DXVA enabled, playback is fine (this file had the random macroblocking corruption bug during one of the test runs, it happend around the "fox logo" part)

x3_sample.mkv >> DXVA enabled, playback is fine

tetsuo55
20th May 2008, 09:45
seems to confirm that the max level for SD is also 4.1

PowerDVd has a habit of defaulting back to software mode without telling the end user, so we have to be extra carefull about that one

Aleksoid1978
20th May 2008, 10:21
Here are my results(xp,vmr9,hd2400pro):

SD31.mp4 >> DXVA enabled, playback is fine

SD41.mp4 >> DXVA enabled, plays a few frames than hangs

pirates_sample.mkv >> DXVA enabled, playback is fine

shooter_sample.mkv >> DXVA enabled, playback is fine (this file had the random macroblocking corruption bug during one of the test runs, it happend around the "shooter" part)

sw_2_sample.mkv >> DXVA enabled, playback is fine (this file had the random macroblocking corruption bug during one of the test runs, it happend around the "fox logo" part)

x3_sample.mkv >> DXVA enabled, playback is fine

Interesting ... What is You video, Ati or Nvidia, XP or Vista,
version of Drivers ???

Because on my 8800GT, 174.74 drivers on all this files i have "20 fps bug" on External Cyberlink 7 h264 Decoder OR Black Screen and file not play on MPC Internal Decoder - on XP and on Vista x64 too

Possible some wrong with NVIDIA and here DRIVERS:devil:

tetsuo55
20th May 2008, 12:20
Interesting ... What is You video, Ati or Nvidia, XP or Vista,
version of Drivers ???

Because on my 8800GT, 174.74 drivers on all this files i have "20 fps bug" on External Cyberlink 7 h264 Decoder OR Black Screen and file not play on MPC Internal Decoder - on XP and on Vista x64 too

Possible some wrong with NVIDIA and here DRIVERS:devil:

i already answered those questions in the post itself..


anyway to make it even more clear:
Winxp SP2

ATI hd2400pro

driver version: 8.3

imho nvidia is terrible with DXVA

MarcioAB
20th May 2008, 12:34
it says "H.264 bitstream decoder, No FGT", whatever that means, but its only a black screen; video, or audio. it just wont play. it sits there on "Play" and the time doesnt move fwd. im using vmr9 renderless.

Check with "Media Info" how many "Ref Frames" your stream has. If it's 5 or more ... need re-encode. (I have (or had now) the symptoms over here).

@All: By the way: Why such limitation ? Is it nVidia drivers limitation or MPC-HomeCinema ?

Thank you.

wyrd
20th May 2008, 12:45
Here are my results(xp,vmr9,hd2400pro):
SD31.mp4 >> DXVA enabled, playback is fine
SD41.mp4 >> DXVA enabled, plays a few frames than hangs
pirates_sample.mkv >> DXVA enabled, playback is fine
shooter_sample.mkv >> DXVA enabled, playback is fine (this file had the random macroblocking corruption bug during one of the test runs, it happend around the "shooter" part)
sw_2_sample.mkv >> DXVA enabled, playback is fine (this file had the random macroblocking corruption bug during one of the test runs, it happend around the "fox logo" part)
x3_sample.mkv >> DXVA enabled, playback is fine

same result here.
but i can't reproduce macroblock corruption.
(xpsp3,vmr9/ovl,hd2600xt,Cata8.49)
http://tirnanog.fate.jp/tmp/snap/shooter.png
http://tirnanog.fate.jp/tmp/snap/sw_2.png

thuan
20th May 2008, 13:56
Same result for me as wyrd and tetsuo, too. XPSP3, HD2400XT, Catalyst 8.4.

Kado
20th May 2008, 14:26
@Aleksoid1978

Cyberlinks filter plays all samples using dxva properly. MPC internal dxva plays x3 properly only, the others have video corruption.

vista sp1 32bit + evr pre-sp1 (to avoid washed out picture with custom presenter in mpc), 9800gtx,175.63beta.

@tetsuo55
Open cyberlink's filter properties while holding CTRL and check the profile used (bitstream is dxva).

engene
20th May 2008, 14:30
build for testing purpose only, which will try to decode with DXVA everything.
http://www.etud.insa-toulouse.fr/~mvelten/bordel/mpc-hc/mplayerc_r518_TEST.zip

@people with DXVA cards, please test this two samples to see if SD decoding is limited to level 3.1 or level 4.1
http://www.etud.insa-toulouse.fr/~mvelten/bordel/mpc-hc/SD31.mp4
http://www.etud.insa-toulouse.fr/~mvelten/bordel/mpc-hc/SD41.mp4

and also please test the samples provided by Aleksoid1978 and report your findings.


SD41.mp4 is not dxva compatible.


You can try below encode setting.
resolution: max num_ref_frames (x264 encoder settings)
L4.1
720x576: 15 (--ref 15 --bframes 0) or (--ref 11 --bframes 3 --b-adapt --b-pyramid)

Kado
20th May 2008, 15:37
@engene
Cyberlink's decoder can open that video stream using DXVA in mpc hc.


@All
I found this weird issue (anyone with the cyberlink decoder should try too), a DXVA playable h264 stream will give a black screen without playback under these conditions:
Cyberlink's h264 decoder (with dxva enabled) in the external filters list and set as preferred then ffdshow video decoder (if it's above cyberlink's disable the h264 support in ffdshow) in the list and set as preferred as well. MPC will build the graph but there won't be no playback, just a black screen and in the cyberlink's decoder properties the profile will be bitstream.
Change ffdshow video decoder to "set merit" or "block" and cyberlink's decoder will play the file with dxva normally.

MatMaul
20th May 2008, 17:01
SD41.mp4 is not dxva compatible,the total number of frames maked as "used for reference" is 19.
The total number of frames maked as "used for reference" shall not be greater than num_ref_frames.
wrong, this file is compliant with the level 4.1 (perhaps not DXVA but that was the purpose of this test file)...
recent x264 builds don't behave like that...
again, please read carefully this thread before making assumption
http://www.avsforum.com/avs-vb/showthread.php?t=972503

javier911
20th May 2008, 21:44
I might be totally misunderstanding, but is this MPC version supposed to play H.264 and VC-1 videos without any external codecs?

I am not new to MPC in general, I use it mostly for high definition movies, most of them in transport stream files, 1080i and 1080p. I setup a new box and decided to give this a go, clean install and not use any codecs, but I couldn't get it to work. I was only able to play MPEG2 and x264. As a test, I installed CoreAVC and using that my H.264 files would play, as usual and expected.

I tried turning DXVA on/off for H.264 and VC-1, no change. Should H.264 and VC-1 play with the internal decoders? Is the transport stream the issue, maybe internal splitter can't handle it? That wouldn't seem to be likely since MPEG2 in TS files does work, but I am just looking for any possible ideas. Thanks.

tetsuo55
20th May 2008, 22:08
wrong, this file is compliant with the level 4.1 (perhaps not DXVA but that was the purpose of this test file)...
recent x264 builds don't behave like that...
again, please read carefully this thread before making assumption
http://www.avsforum.com/avs-vb/showthread.php?t=972503

What part of this encode is the level 4.1 part? it looks fully 3.1compliant appart from the not working part.

engene
20th May 2008, 23:27
@engene
Cyberlink's decoder can open that video stream using DXVA in mpc hc.

I play it with Cyberlink's pd8 decoder,but "20fps bug" happens.
My display card is HD3200.

wrong, this file is compliant with the level 4.1 (perhaps not DXVA but that was the purpose of this test file)...
recent x264 builds don't behave like that...
again, please read carefully this thread before making assumption
http://www.avsforum.com/avs-vb/showthread.php?t=972503

Thank for remind me about new x264 builds.

I re-encoded sd41.mp4 with x264 rev.859.

mpc-hc dxva decoder works fine with below setting

max ref frames:
without bframes=15
with bframes=11

Resolution: (x264 rev. 859+ encoder settings)
320x240,720x480,720x576,1024x544: (--level 4.1 --ref 11 --mixed-refs --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct auto --filter -2,-1 --subme 6 --trellis 1 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --me umh)
or (--level 4.1 --ref 15 --mixed-refs --filter -2,-1 --subme 6 --trellis 1 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --me umh)

Sample:
SD41_720x576_ref11_bf3.mp4 (http://www.mediafire.com/?hh2egrcgejs)
SD41_720x576_ref15_bf0.mp4 (http://www.mediafire.com/?ltcgyern4x9)

SD41_1024x544_ref11_bf3.mp4 (http://www.mediafire.com/?6yggclm3umr)
SD41_1024x544_ref15_bf0.mp4
(http://www.mediafire.com/?vebumxwggj5)

MarcioAB
21st May 2008, 00:11
mpc-hc dxva decoder works fine with below setting

max ref frames:
15 (without bframes)
11 (with bframes)Hum ... over here (GeForce 8600 GTS) it does not work with more than 4 Ref frames, so I have a question:

Could this difference be related to the graphics card ?

Aleksoid1978
21st May 2008, 00:35
Hum ... over here (GeForce 8600 GTS) it does not work with more than 4 Ref frames, so I have a question:

Could this difference be related to the graphics card ?

On my 8800GT to not work fine woth more than 4 Ref frames.

Possible it is on all Nvidia Card, because on Radeon all 4 my sample, where Ref frames>4, play fine with DXVA, people on russian forum test:

http://forum.ixbt.com/topic.cgi?id=10:51719-61

MarcioAB
21st May 2008, 01:43
On my 8800GT to not work fine woth more than 4 Ref frames.

Possible it is on all Nvidia Card, because on Radeon all 4 my sample, where Ref frames>4, play fine with DXVA, people on russian forum test:

http://forum.ixbt.com/topic.cgi?id=10:51719-61

Ok. So that could be the reason of the "bad" reputation of nVidia cards regard DXVA ...

On the other side, MAYBE the link below "x264 Encoding Options for Hardware Compatibility & DXVA", pointed by @MatMaul should be reviewed considering Hardware by Hardware.
Over here (with 8600 GTS) I can not have sucessfull DXVA with more than 4 Ref frames, even for very low resolution like 704x396.

wrong, this file is compliant with the level 4.1 (perhaps not DXVA but that was the purpose of this test file)...
recent x264 builds don't behave like that...
again, please read carefully this thread before making assumption
http://www.avsforum.com/avs-vb/showthread.php?t=972503

Shinigami-Sama
21st May 2008, 02:07
theres two types of 8800s
one with the OLD GPU
and one with the NEW GPU
the old ones have troubles with lots of stuff

Kado
21st May 2008, 02:24
G80 nVidia GPU's like 8800gtx only support motion compensation (DXVA1/XP) wile G92 GPU's like 8600gts or 9800gtx support bitstream (DXVA2/vista (or xp+evr)), i.e. full video decoding. MPC internal decoder only supports bitstream.

Aleksoid1978
21st May 2008, 05:14
G80 nVidia GPU's like 8800gtx only support motion compensation (DXVA1/XP) wile G92 GPU's like 8600gts or 9800gtx support bitstream (DXVA2/vista (or xp+evr)), i.e. full video decoding. MPC internal decoder only supports bitstream.

I have 8800GT 512Mb on G92 GPU with support bitstream, but error on DXVA, when ref num>4.

test on XP+WVR9, XP+Evr, Vista+Evr .

Shinigami-Sama
21st May 2008, 05:36
I have 8800GT 512Mb on G92 GPU with support bitstream, but error on DXVA, when ref num>4.

test on XP+WVR9, XP+Evr, Vista+Evr .

try changing your driver then

Aleksoid1978
21st May 2008, 06:18
try changing your driver then


Changing, and many time, many version - NO WORK.

Sample that i Uploading on my not work with DXVA

On MPC-HC Internal Decoder - Black Screen
On Creative h264 External - "20fps bug".

shon3i
21st May 2008, 07:49
I have same problem on nvidia 9600GT. Previously i had HD 3200 integrated on 780G chipset motherboard, and before than i haved HD2600XT AGP on older machine. Both radeons decode fine with DXVA support, on every video render (VMR7/9), with both MPC-HC or Cyberlink H264 decoder's, never have problems with drivers and similar. But with nvidia 9600GT, first time when i installed driver, playing video in MPC show corrupted frames, than i update to lastest drivers found on nvidia site, now cyberlink decoder work fine, but MPC-HC return me gray screen, and there is no playback. I want just to say nvidia's prue video is suck comparing to radeon's UVD. I don't know why ppls love nvidia.

Aleksoid1978
21st May 2008, 08:00
I want just to say nvidia's prue video is suck comparing to radeon's UVD. I don't know why ppls love nvidia.

why love nvidia - because I by 8800GT first for gaming -> is it number 1 in this price+speed segment.

I wait that Nvidia fix driver, and DXVA be work fine - now i decode software, my C2D@3200Mhz work fine with it ...

shon3i
21st May 2008, 08:13
because I by 8800GT first for gaming -> is it number 1 in this price+speed segment.
well HD3870 is more payablle than oldish 8800GT. Prices in my county is almost same for that card's. And 9600GT also have near price. But 3870 gives more, stuff like DX 10.1, Assassin's Creed have support for shader 4.1 and DX 10.1. I realy don't care about less 5fps less in games with radeon cards.

Shinigami-Sama
21st May 2008, 08:29
nvidia the way it was ment to be played

thats why I love nvidia
watching videos is second to gaming
its true for a lot of people

but both ATI and Nvidia need to man up in the drivers field...

Leak
21st May 2008, 10:23
nvidia the way it was ment to be played
ITYM "nVidia - the way it's meant to be played*"

* void if it includes video, audio, 3D or anything that moves

tetsuo55
21st May 2008, 10:42
The bugs with the nvidia purevideo decoder will have to be reported to NVIDIA, this is the only way a driver update will fix the drivers

clsid
21st May 2008, 12:55
This topic is a bit messy. May I suggest the following to the regular posters here:

Someone (with a DXVA capable graphics card) should open a new topic for discussing these "DXVA compatibility" issues. The opening post of that topic should be updated on a regular basis to contain a summary of the content that is discussed in the topic.

Contents of this opening post could be:
* Links to sample files. For each file technical details (levels, max ref frames, etc) should be included.
* A list of graphics card models that are (somewhat) compatible. If a card has some limitations with regard to the type of files that it supports, then that info should also be included.
* For each sample file, maybe list which cards are able to play it and which are not.
* The rules for getting DXVA playback: compatible card, H.264 bitstream requirements, no intermediate filters, etc.
* A FAQ that answers frequently asked questions and gives solutions for common problems.

tetsuo55
21st May 2008, 13:04
Done,

But its still a work in progress

http://forum.doom9.org/showthread.php?p=1140181

shon3i
21st May 2008, 19:08
I am realy sorry for offtopic and my statament about nvidia cards :)

Jong
21st May 2008, 22:59
Is it possible to use the Shaders function to make 1088 video appear as 1080 to avoid showing lines at the bottom of some sources or with some decoders?

Is there another way this could be implemented in the player?Hi everyone.

It does not seem there were any comments on this. Is it possible that this could please be fixed?

I have just remuxed Elizabeth - The Golden Age on HD-DVD (VC-1) and it actually has noise (flashing white blocks) in the extra 8 lines. In PowerDVD the original disc does not show these. Even TheaterTek does not show them playing the remuxed mkv. However, MPC-HC (still using the official release, not any beta, don't know if this makes a difference) shows these last 8 lines, which are never meant to be shown on any hi-def disc.

I know I can manually move the picture down "one notch" and get rid of the extra lines, but this is messy to do with every hi-def disc.

Like CoreAVC, could there be an option to crop 1920x1088 to 1920x1080, for AVC and VC-1?

Thanks

_xxl
22nd May 2008, 09:58
Please use latest r518.

Jong
22nd May 2008, 11:40
Great if it is fixed there, thanks. Could you provide a working link? The one in the first post is broken.

Miryan
22nd May 2008, 11:55
@Jong, here:

http://dl.usite.hu/player/Media.Player.Classic.Homecinema-1.1.0.2.518.zip

Jong
22nd May 2008, 12:39
Thanks Miryan,

I may be missing a new setting somewhere, but this build still displays flashing white squares on the bottom few lines of Elizabeth. One nudge down fixes it. All the problem lines are below 1080.

Attached is a screenshot taken using ctrl-I (quite heavily jpeg compressed to save space, but at original resolution). In my opinion all lines below 1080 should be cropped before display (optionally if you like, but by default).

ByteRipper
22nd May 2008, 14:49
I have a weired problem with my new htpc and 1080p24 mkv playback. So far everything plays fine and smooth. DXVA works and CPU load ist pretty low (5-15%). But sometimes the playback becomes jerky for aprox. 0,5-1 second and i have no idea why. It looks like as some frames were dropped but the statistics says "dropped Frames =0". It happens nearly ervery minute but every time at different positions in the movie. I'd monitored the CPU-load while the playback becomes jerky but it stays under 15%.

I tried the MPC-HC decoder, CoreAVC and Power DVD8 Codec. No difference. I'm using Vista Ultimate 32Bit, latest MPC-HC @ EVR and AC3 Filter. All drivers are up-2-date.
It's an fresh installation. No other Software like AV-scanners or similar is installed.

My System:
- Gigabyte 780g Mainboard
- 4050e Processor (2x 2,1Ghz.)
- 2x 1GB Ram @ Dual Channel
- 250GB Samsung SATA HDD
- Sony 40V3000 @ 1080p/24

audyovydeo
22nd May 2008, 15:19
I'd monitored the CPU-load while the playback becomes jerky but it stays under 15%.



playing back from DVD or from the HD ? If HD is the file highly fragmented ?

cheers
a/v

ByteRipper
22nd May 2008, 15:29
playing back from DVD or from the HD ? If HD is the file highly fragmented ?All files are stored on harddisc. There should not be any fragmentation because the disc is fresh formatted. Furthermore there isn't any greater disc activity hearable.

Casimir666
22nd May 2008, 18:49
Thanks Miryan,

I may be missing a new setting somewhere, but this build still displays flashing white squares on the bottom few lines of Elizabeth. One nudge down fixes it. All the problem lines are below 1080.

Attached is a screenshot taken using ctrl-I (quite heavily jpeg compressed to save space, but at original resolution). In my opinion all lines below 1080 should be cropped before display (optionally if you like, but by default).

Are you using the internal mkv parser?

Jong
22nd May 2008, 18:53
Are you using the internal mkv parser?Hi.

No. Latest version of Haali. As I mentioned CoreAVC actually has an option to crop 1920x1088 to 1920x1080 (on by default I think). What do MPC-HC VC-1 and AVC filters do?

Casimir666
22nd May 2008, 19:53
Hi.

No. Latest version of Haali. As I mentioned CoreAVC actually has an option to crop 1920x1088 to 1920x1080 (on by default I think). What do MPC-HC VC-1 and AVC filters do?

They truncate to the target destination give by the parser. I thought Haali was truncated to 1080... I'll look maybe the best thing will be to truncate in the decoder to prevent such things.

Jong
22nd May 2008, 20:27
Thank you.