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

Mercury_22
3rd November 2009, 21:03
Tried both "Open DVD" and direct m2ts file open

Ok, later, when got more free time

Try open index.bdmv too !

donaldtone
4th November 2009, 02:02
mpc(with internal codecs) can not playback ogv made by last ffmpeg2theora v0.25.
anyway, the ogv file can be played well in mplayer cmdline version.

system: windows 2008, ie7, mpc 1.3.1326, mplayer MPlayer Sherpya-SVN-r27770-4.2.5.
ffmpeg2theora 0.25 (use new theora 1.1 edition).

mediainfo information:

General
ID : 4282 (0x10BA)
Complete name : C:\AutoFFmpegTheora\0373-svn.ogv
Format : OGG
File size : 25.5 MiB
Duration : 2mn 22s
Overall bit rate : 1 502 Kbps
Writing application : ffmpeg2theora-0.25+svn16605
SOURCE_OSHASH : 0cd96709c916c63f

Video
ID : 7152 (0x1BF0)
Format : Theora
Duration : 2mn 22s
Bit rate : 1 411 Kbps
Width : 640 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate : 30.000 fps
Bits/(Pixel*Frame) : 0.153
Stream size : 24.0 MiB (94%)
Writing library : Xiph.Org libtheora 1.1 20090822 (Thusnelda)

Audio
ID : 29609 (0x73A9)
Format : Vorbis
Duration : 2mn 22s
Bit rate mode : Constant
Bit rate : 23.0 Kbps
Channel(s) : 1 channel
Sampling rate : 11.024 KHz
Resolution : 16 bits
Stream size : 400 KiB (2%)
Writing library : libVorbis 20090709 (UTC 2009-07-09)

Keiyakusha
4th November 2009, 02:32
mpc(with internal codecs) can not playback ogv made by last ffmpeg2theora v0.25.

Something like that already was reported a few times. Internal ogg splitter doesn't support such files. With Haali splitter should be ok.

donaldtone
4th November 2009, 03:44
Something like that already was reported a few times. Internal ogg splitter doesn't support such files. With Haali splitter should be ok.
Thank you very much. It works.
Anyway, will mpc fix this problem in the future edition?

DrNein
4th November 2009, 05:55
Yes, we really need a built in MPEG2 decoder that supports HA deinterlacing (and preferably other DXVA acceleration too, although that is less important these days). This is stopping me moving to W7 right now as the Cyberlink decoder works with subtitles/DVD menus in XP, but not Vista/W7 (as I understand it).

Have you tried the DXVA decoder included with the AVIVO package?

THX-UltraII
4th November 2009, 16:57
Quote:
Originally Posted by Andy o
As far as I understand, you need to use the internal TS splitter and the internal sub renderer for them to work.

How do I use the internal TS Splitter and the internal sub renderer?

no ideas anyone? (this topic is becomming way too big :) You place something and one day after it s 3 pages behind and no one read your post)

rack04
4th November 2009, 17:31
no ideas anyone? (this topic is becomming way too big :) You place something and one day after it s 3 pages behind and no one read your post)

Make sure MPEG PS/TS/PVA is selected as a source filter in the Internal Filters.

pirlouy
4th November 2009, 19:15
this topic is becomming way too big :) You place something and one day after it s 3 pages behind and no one read your post
Try and use the new forum:
http://sourceforge.net/apps/phpbb/mpc-hc/

gngn
5th November 2009, 00:02
Revision 1330
Modified Wed Nov 4 19:57:27 2009 UTC (2 hours, 37 minutes ago) by casimir666
Fixed : better detection of "Used For Reference Flags" (fix some broken DXVA samples)

great work Casimir666 !
every sample i complained about not working on XP is now playing. only on some H264/ts i need to switch to HaaliSplitter.

Tenki
5th November 2009, 06:44
Symantec Norton NIS 2010 SONAR2 always warning about MPC-HC 13XX, and then quarantine MPC-HC, can someone tell them to fix it?

73ChargerFan
5th November 2009, 07:02
Contact them, tell them it is a false positive. That is an "easy peasy" warning, because the executable / installer is not "digitally signed" and therefore is "suspicious."

lych_necross
5th November 2009, 07:13
I have noticed something strange about MPC-HC recently. Whenever I play a DVD with MPC-HC (1.3.1326.0) using reclock, I get a normal looking graph. Click Here for image (http://i34.tinypic.com/vs1khx.png). This graph shows a StdDev of 0.589ms. I have configured reclock to handle vsync and disabled vsync with mpc-hc in this screenshot.

Now, when I play the same movie with the same codecs, but no reclock, I get an entirely different graph. Click Here for the image (http://i35.tinypic.com/2v97vix.png). This graph shows a StdDev of 8.348ms. I have disabled reclock completely for this test and enabled vsync and accurate vsync.

Now here is whats strange. Even though these graphs tell me there should be a difference in jitter visually, I cannot perceive one. To my eyes, both movies play back the same. Is there a glitch in the statistics code that generates inaccurate results whenever reclock is used or am I just not able to see the difference.

Jong
5th November 2009, 11:10
I have noticed something strange about MPC-HC recently. Whenever I play a DVD with MPC-HC (1.3.1326.0) using reclock, I get a normal looking graph. Click Here for image (http://i34.tinypic.com/vs1khx.png). This graph shows a StdDev of 0.589ms. I have configured reclock to handle vsync and disabled vsync with mpc-hc in this screenshot.

Now, when I play the same movie with the same codecs, but no reclock, I get an entirely different graph. Click Here for the image (http://i35.tinypic.com/2v97vix.png). This graph shows a StdDev of 8.348ms. I have disabled reclock completely for this test and enabled vsync and accurate vsync.

Now here is whats strange. Even though these graphs tell me there should be a difference in jitter visually, I cannot perceive one. To my eyes, both movies play back the same. Is there a glitch in the statistics code that generates inaccurate results whenever reclock is used or am I just not able to see the difference.What refresh rate are you using? It is odd that in the Reclock graph no refresh rate is shown. It appears that with Reclock loaded you are using an exact multiple of the frame rate, but without Reclock you are using 60hz and the graph shows the usual 3:2 pulldown judder, which because it is regular and fast and been around a long time some people just do not notice.

Mercury_22
5th November 2009, 11:40
...

@tetsuo55
However DTS HD does not work because the HD blocks are stripped off by MPC splitter. I don't understand why, do you know something about it ?

...

Can someone please take a look at this problem ?

Also it seems to me that this apply to both MPC-HC's MPEG PS/TS/PVA and Matroska splitters
:thanks:

albain
5th November 2009, 11:52
Actually it only applies to M2TS streams. For MKV I get the DTS-HD blocks correctly

leeperry
5th November 2009, 12:43
3:2 pulldown judder, which because it is regular and fast and been around a long time some people just do not notice.
especially in the US I think? new TV sets seem to IVTC in realtime to 24fps, but for the past 40 years everyone's been watching 23.976@29.97 telecine content apparently? god bless PAL speed-up :devil:

and some TV channels also goof up w/ the telecine pattern...so I guess realtime IVTC can't be an exact science either.

Piyoko
5th November 2009, 16:24
Where is the new bug reporting guide? I mean the information you need to supply. I'm trying to add a bug to the new tracker, however when I look at this guide (https://sourceforge.net/apps/trac/mpc-hc/wiki/Bugs_-_Reporting), it says "2. fill in this checklist" but I don't see one.

Or is it referring to the A-F instructions below?

tetsuo55
5th November 2009, 19:27
Where is the new bug reporting guide? I mean the information you need to supply. I'm trying to add a bug to the new tracker, however when I look at this guide (https://sourceforge.net/apps/trac/mpc-hc/wiki/Bugs_-_Reporting), it says "2. fill in this checklist" but I don't see one.

Or is it referring to the A-F instructions below?
Thanks for the feedback
yes it refers to the A-F.

Do you have any tips for improving this line? so people will understand better?

Snowknight26
5th November 2009, 19:51
If you time it just right, pausing the video after you tried to seek to a frame and before MPC-HC actually shows that frame causes MPC-HC to think the video is paused but still play it. Subsequently trying to pause/play the video has effect.

Piyoko
5th November 2009, 21:59
Thanks for the feedback
yes it refers to the A-F.

Do you have any tips for improving this line? so people will understand better?
I guess you could put a colon after "fill in this checklist", move up the list a bit, and indent it. Or maybe change it to something like "Include the following in your report:"

Mostly though I was just confused because of the huge list of information you had to include previously, I thought it was referring to that.

lych_necross
6th November 2009, 01:13
What refresh rate are you using? It is odd that in the Reclock graph no refresh rate is shown. It appears that with Reclock loaded you are using an exact multiple of the frame rate, but without Reclock you are using 60hz and the graph shows the usual 3:2 pulldown judder, which because it is regular and fast and been around a long time some people just do not notice.
My refresh rate is 60hz (reclock detects it as 59.883 btw). Yeah, it seems that either reclock is not reporting the refresh rate or MPC-HC is unable to detect it while reclock is loaded. I didn't mention this before, but I am using Windows 7 x64. I don't know if I should create a bug tracker ticket or not (since it is could be a reclock problem).

Jong
6th November 2009, 13:42
My refresh rate is 60hz (reclock detects it as 59.883 btw). Yeah, it seems that either reclock is not reporting the refresh rate or MPC-HC is unable to detect it while reclock is loaded. I didn't mention this before, but I am using Windows 7 x64. I don't know if I should create a bug tracker ticket or not (since it is could be a reclock problem).It is very odd because the graph suggests the refresh rate is an exact multiple (or very close to an exact multiple) of the frame rate - there is clearly no 3:2 pulldown, as shown on your other screenshot :confused: You are sure you are not using Reclock scripting to change the refresh rate when Reclock is being used?

Anyway, I would not worry about it too much. If both look smooth to you, both in absolute terms and relative to each other, maybe your TV is performing inverse telecine as leeperry mentions, or maybe both have 3:2 pulldown and it does not bother you, or maybe you do not notice 3:2 pulldown.

Whatever, don't look too hard you only risk spotting something that has never bothered you in the past but which will then destroy your enjoyment for several months while you struggle to fix it!

Tenki
6th November 2009, 14:56
Will MPC-HC support Nvidia Cuda?

avivahl
6th November 2009, 15:24
Will MPC-HC support Nvidia Cuda?It supports DXVA, so why would you need CUDA instead? Is DXVA limited in comparison to CUDA? :confused:

DigitalDeviant
6th November 2009, 15:27
It supports DXVA, so why would you need CUDA instead? Is DXVA limited in comparison to CUDA? :confused:

Yes. In the very least with CUDA you can have intermediate filters between the decoder and the renderer (i.e. vsfilter or ffdshow raw video processing) and still get HW acceleration. With DXVA intermediate filters break HW acceleration.

avivahl
6th November 2009, 15:41
I see, thanks. I personally use the internal subtitle renderer and have no need for any other intermediate filter in the graph...
I guess some people would find a built-in CUDA decoder to be useful...

clsid
6th November 2009, 16:21
Fixing the current bugs is far more important.

Tenki
6th November 2009, 16:37
It supports DXVA, so why would you need CUDA instead? Is DXVA limited in comparison to CUDA? :confused:

Cuda can make some SD video looks like HD, and don't need too much CPU count.
POWERDVD 9 support Cuda, and it looks really better.

Keiyakusha
6th November 2009, 16:49
Cuda can make some SD video looks like HD, and don't need too much CPU count.

:eek: What do you mean? The talk here about just a decoder. Every h264 decoder should produce the same output. But not sure about VC1

Dark Eiri
6th November 2009, 17:35
I think he's talking about the "CUDA powered upscaling" on PowerDVD 9. It's not really HD. It's just really postprocessed.

Mercury_22
6th November 2009, 18:19
Actually it only applies to M2TS streams. For MKV I get the DTS-HD blocks correctly

Yes after more testing I can confirm that internal MPEG spitter it's stripping off the HD from DTS-HD but the internal Matroska splitter doesn't

korsan
6th November 2009, 22:39
I have placed all subtitles (srt) in a seperate folder (subtitles).
How can I configure mpc to read the subtitles from there?
Thanks.

Keiyakusha
6th November 2009, 22:42
MPC-HC should do that by default. Check if your subs are named correctly...

Polcius
6th November 2009, 23:00
What's better to watch mkv's:

- Haali Splitter
or
- MPC-HC with default settings and decoders?

korsan
6th November 2009, 23:18
Thanks Keiyakusha it worked!

Mercury_22
6th November 2009, 23:31
Ok I found where the DTS-HD problem has started Revision 984 - Directory Listing
Modified Sun Jan 25 20:01:24 2009 UTC (9 months, 1 week ago) by beliyaal

Added: Support for Blu-ray clip info (language for audio and subtitles in m2ts files)
Changed: Sort MPEC audio streams according to quality. The best quality stream will be played by default.
Fixed: Strip the non-core info from DTS-HD tracks until a decoder is available. Fixes problems with SPDIFer.
Fixed: If Blu-ray clip info is available all subtitle streams will be available from the start of the clip.
So with rev 983 no stripping off the HD from DTS-HD and with rev 985 HD blocks are stripped off from DTS-HD

@albain can you confirm this please ?

And can someone revert this please ?

test12314124
7th November 2009, 00:28
What is the latest status on ATI cards and DXVA? Still problems? Planning on buying HD4650 and using latest drivers.

clsid
7th November 2009, 00:30
What's better to watch mkv's:

- Haali Splitter
or
- MPC-HC with default settings and decoders?
Both :)

Haali splitter + MPC-HC with default settings.

73ChargerFan
7th November 2009, 00:37
Ok I found where the DTS-HD problem has started
So with rev 983 no stripping off the HD from DTS-HD and with rev 985 HD blocks are stripped off from DTS-HD

@albain can you confirm this please ?

And can someone revert this please ?

It needs to be an option - "Enable DTS-MA Pass-through"
otherwise, someone with a dts receiver won't get the dts core.

saint-francis
7th November 2009, 00:38
What is the latest status on ATI cards and DXVA? Still problems? Planning on buying HD4650 and using latest drivers.

What kind of problems do you mean? I have a 3870 and I've never had an issue with DXVA.

Tenki
7th November 2009, 03:06
I think he's talking about the "CUDA powered upscaling" on PowerDVD 9. It's not really HD. It's just really postprocessed.

Yeah, but it really looks better.

lych_necross
7th November 2009, 07:20
It is very odd because the graph suggests the refresh rate is an exact multiple (or very close to an exact multiple) of the frame rate - there is clearly no 3:2 pulldown, as shown on your other screenshot :confused: You are sure you are not using Reclock scripting to change the refresh rate when Reclock is being used?

Anyway, I would not worry about it too much. If both look smooth to you, both in absolute terms and relative to each other, maybe your TV is performing inverse telecine as leeperry mentions, or maybe both have 3:2 pulldown and it does not bother you, or maybe you do not notice 3:2 pulldown.

Whatever, don't look too hard you only risk spotting something that has never bothered you in the past but which will then destroy your enjoyment for several months while you struggle to fix it!
I just checked and I am not using any reclock scripting. I'll bet that somewhere there is a bug that is preventing MPC-HC from detecting refresh rates when Reclock is used. I'm not going to worry about.

Mercury_22
7th November 2009, 12:40
It needs to be an option - "Enable DTS-MA Pass-through"
otherwise, someone with a dts receiver won't get the dts core.

Agree but breaking one thing to "solve" another I don't think it's the way to go :mad:

And with the changes that AFAIU are coming ( MPC wasapi audio renderer and maybe bitstreaming ) "DTS-MA Pass-through" will be solve without breaking DTS-HD, I think.
So for this things to have a chance to be implemented we need the HD for DTS to be working with the internal mpeg splitter

EDIT
Albain has find the solution ...
@Mercury22

Right, this is due to this modification : in MpegSplitter.cpp, line 1449
if I replace #if 1 by #if 0 I can see DTS HD blocks again

else if (m_mt.subtype == MEDIASUBTYPE_DTS || m_mt.subtype == MEDIASUBTYPE_WAVE_DTS) // DTS HD MA data is causing trouble, lets just remove it
{
#if 0
So can any of the devs add this in the SVN ? Please !

amigenius
7th November 2009, 13:50
Hi,

How can i get ATIs Edge enhancement to work in MPC?

I tried it with MPC - Video decoder in DXVA Mode and with coreavc in Software mode.

Tried all Renderes (custom evr, standard evr, vmr9, vmr7 and overlay)

It just doesn't work.

But if i play the same Blu-Ray in PowerDVD 7/8 ATIs Edge enhancement works.

Relevant Systemcomponents:

mpc build 1.3.1290.0 (32 bit)
catalyst 9.10
ATI 4870
Vista 64 Bit

cya

mark0077
7th November 2009, 14:29
Maybe you have to output in the nv12 colorspace which seems to be necessary for things like hardware deinterlacing

unfortunately alone mpc can't output in this colorspace so u will need ffdshow perhaps to do this for you. Worth a shot trying it but maybe someone else will have a better solution

hdboy
7th November 2009, 15:49
I'm confused by the shader options. when I turn on pixel shaders, the "Toggle pixel shader" is unchecked; when I turn it off, it's checked, which seems backward. then there's also "Pixel shader disabled", which seems redundant and at any case mislabeled. It should be called "No pixel shader" since that's what happens when you select it. It's like you label power switch On and Off, you don't call it "Power turned on" "Power turned off". I know it's nit-picking but I think grammar correctness is next to godliness :)

What are screen space pixel shaders vs regular pixel shaders? I can't tell what it does. Toggling it on and off still shows a check next to "screen space pixel shaders disabled" and has no visible effect on the screen.

Keiyakusha
7th November 2009, 16:00
What are screen space pixel shaders vs regular pixel shaders? I can't tell what it does.
Regular applied before resize, screen space - after.

Gleb Egorych
7th November 2009, 16:50
Build 1312 cause problems for me too. I have stuttering, in Vista only at that.

Played H.264/AAC/MP4/29.97fps file on Vista x64/EVR-CP/optimal renderer settings/8800GT/FW191.07/ReClock. It's OK with rev1296. EVR-CP in WinXP is fine using both revisions.

Attached screenshot to demostrate the problem. Builds 1312+ are affected, screenshot is made in 1330. Last good is 1311.

amigenius
7th November 2009, 17:05
Hi,

enforcing nv12 via ffdshow does not help enabling the ATI hardware edge enhancement :(

So... is there any solution?

cya

73ChargerFan
7th November 2009, 20:26
Agree but breaking one thing to "solve" another I don't think it's the way to go :mad:
Beliyaal didn't break anything a year ago - there was no hardware capable of bitstreaming dts-hd then. thpppt!