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

Tery
8th September 2008, 17:45
There's a command line argument to make MPC open on a specific monitor (and/or go fullscreen or turn on Direct3D surfaces) so why don't you just create two shortcuts, one normal one and a second to open MPCHC on a specific monitor in fullscreen?

(Run "mplayerc /?" to see it's command line options...)

np: Speedy J - Hayfever (Public Energy No.1)

I'm starting to play a video by double clicking on it, so command is not an option, that's why I wanted to be able to "fullscreen" the video on different monitor using different command key.

But thank for your answer.

Casimir666
8th September 2008, 18:00
E-ac3 it's now in FFDShow revision 2107 can we get it in MPC-HC too ? Please !:helpful: :thanks:

Edit: In the sample here (http://forum.doom9.org/showthread.php?p=1181004#post1181004) I can't connect FFDShow's E-AC3 using internal MPEG PS/TS/PVA Splitter = just video NO SOUND but using Haali Splitter I have sound too !!

Can this be fixed PLEASE !!!! :thanks: :helpful:

EAC3 is not recognized by Mpeg internal splitter (Eac3 header is different from Ac3)

Mc Onyx
8th September 2008, 20:34
Just wanted to thank you guys for the work on the MPC-HC, excellent work. Thanks for the recent build, now my MCE remote works! :)

STaRGaZeR
8th September 2008, 20:54
Any chances of getting NV12 output colorspace with MPC-HC internal decoders so we can get rid of ffdshow and its significant jitter? At the same time, this will allow NV and ATI IQ enhancements and hardware deinterlacing to work when DXVA is not used/can't be used. Current MPEG-2 decoder has an option to put the interlaced flag, but without NV12 it just doesn't work right. ffdshow + NV12 does wonders.

Brazil2
8th September 2008, 21:05
Any chances of getting NV12 output colorspace with MPC-HC internal decoders
+1 :)
And also deinterlacing for H264 would be nice.

Current MPEG-2 decoder has an option to put the interlaced flag, but without NV12 it just doesn't work right.
Hm, it's working fine for me using BOB on a Radeon HD 3870.
Can't tell about the other deinterlacing methods though as I have no use of them.

STaRGaZeR
8th September 2008, 23:43
Hm, it's working fine for me using BOB on a Radeon HD 3870.
Can't tell about the other deinterlacing methods though as I have no use of them.

Try vector adaptive, is way better. You'll notice the differencies more or less depending on the source though :)

mariner
9th September 2008, 06:41
Try vector adaptive, is way better....

That's true.

CiNcH
9th September 2008, 07:05
EAC3 is not recognized by Mpeg internal splitter (Eac3 header is different from Ac3)

Same here. Never seen some real EAC3/DD+ yet. Does somebody have a Blu-Ray with EAC3/DD+ stream and can provide a short m2ts sample?

Mercury_22
9th September 2008, 09:05
Same here. Never seen some real EAC3/DD+ yet. Does somebody have a Blu-Ray with EAC3/DD+ stream and can provide a short m2ts sample?

have a look at this one (http://forum.doom9.org/showthread.php?p=1181004#post1181004) ! :)

CiNcH
9th September 2008, 09:15
have a look at this one !

I was referring to this one. Think it is EVO badly remuxed to TS or something? It has AC3 headers and also stream type is AC3 within PMT. It is not according to the BD specs.

Mercury_22
9th September 2008, 10:13
I was referring to this one. Think it is EVO badly remuxed to TS or something? It has AC3 headers and also stream type is AC3 within PMT. It is not according to the BD specs.

This is eac3to's log for that file eac3to v2.62
command line: eac3to.exe "C:\Users\Administrator\Videos\Test_E-AC3.ts" 2: ".\test_out.eac3"
------------------------------------------------------------------------------
TS, 1 video track, 1 audio track, 0:00:27
1: VC-1, 1080p24 /1.001 (16:9) with pulldown flags
2: E-AC3, English, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB
[a02] Extracting audio track number 2...
[a02] Removing E-AC3 dialog normalization...
[a02] Creating file ".\test_out.eac3"...
Video track 1 contains 657 frames.
eac3to processing took 1 second.
Done.


So... I think it's something wrong on your side :confused:

P.S. Don't use MPC's internal splitter !

CiNcH
9th September 2008, 10:34
Well, I do not go too deep into the stream, but stream type is 0x81 which is stream type for AC3, can it also be the stream type for EAC3? Isn't EAC3 equal to Dolby Digital Plus which is stream type 0x84?

nautilus7
9th September 2008, 11:02
Isn't EAC3 equal to Dolby Digital Plus which is stream type 0x84?Where did you find those info (about stream type 0x84)? Could you post the link, please?

CiNcH
9th September 2008, 11:05
You can check TsRemux-Sources for example:


public enum ElementaryStreamTypes
{
..
AUDIO_STREAM_AC3 = 0x81,
..
AUDIO_STREAM_AC3_TRUE_HD = 0x83,
AUDIO_STREAM_AC3_PLUS = 0x84,
..
}


Should also be part of the BD-Specs...

[EDIT]
Even though stream type is 0x81 within PMT for the sample, TsRemux detects Dolby Digial Plus (EAC3) correctly as it checks BSID within AC3 header. If this value is 16 it is EAC3.

Here you can see that TsRemux writes the same stream type for AC3 and EAC3 if TS file type is not Blu-Ray:


private void CreatePsi()
{
..
switch (si.StreamType)
{
case ElementaryStreamTypes.AUDIO_STREAM_AC3:
case ElementaryStreamTypes.AUDIO_STREAM_AC3_PLUS:
pidMappings.Add(si.ElementaryPID, currentAudioPid);
if(this.fileType == TsFileType.BLU_RAY)
sitemp = new StreamInfo(si.StreamType, currentAudioPid);
else
sitemp = new StreamInfo(ElementaryStreamTypes.AUDIO_STREAM_AC3, currentAudioPid);
Continuities.Add(currentAudioPid, 0);
currentAudioPid++;
break;
..

nautilus7
9th September 2008, 11:18
OK, thanks.

Regarding E-AC3 on Blu-ray...

E-AC3 can exist on Blu-ray as 2 forms/types:

1. Pure E-AC3 (the same as in HD DVD). The only Blu-ray that features that type is Transformers Blu-ray (as secondary audio). This type is not recognized at all by mpc-hc's internal splitter. --> Sample here (http://www.stfcc.org/misc/transformers.sample.m2ts).
2. E-AC3 with AC3 core. This type is used only for 7.1 tracks and they are like this: 5.1 AC3 core and E-AC3 extensions for the additional channels. This type is recognized by mpc-hc's internal splitter, but I am not sure if the splitter drops the E-AC3 extensions and passes only the 5.1 AC3 core to the decoder, or it passes the whole stream as it should. --> Sample here (http://www.sendspace.com/file/0jkbrf).

In Addition, I would like to ask how is the the Blu-ray TrueHD/AC3 streams are handled by the internal splitter. Are they separated and reported as 2 tracks? Or as 1?

CiNcH
9th September 2008, 14:21
2. E-AC3 with AC3 core. This type is used only for 7.1 tracks and they are like this: 5.1 AC3 core and E-AC3 extensions for the additional channels. This type is recognized by mpc-hc's internal splitter, but I am not sure if the splitter drops the E-AC3 extensions and passes only the 5.1 AC3 core to the decoder, or it passes the whole stream as it should. --> Sample here.

So this one ran through TsRemux or something or how did you split it?

In Addition, I would like to ask how is the the Blu-ray TrueHD/AC3 streams are handled by the internal splitter. Are they separated and reported as 2 tracks? Or as 1?

AFAIK MPC MpegSplitter outputs the whole ES without seperating TrueHD from AC3. Many AC3 decoders like the one in ffdshow seem to sync to the AC3 frames and can decode them and reject the lossless HD part. Same goes for DTS-HD.
However, some decoders can't sync to the AC3 stream within TrueHD (just like AC3Filter). That is why we are currently extracting the cores as I do not know of a decoder that handles the lossless HD parts anyway...

nautilus7
9th September 2008, 14:51
So this one ran through TsRemux or something or how did you split it?I didn't. It's intact (from Dolby Demo Disc). I am not sure if those programs (tsmuxer, tsremux) can handle it. Even eac3to doesn't handle it (because this type of E-AC3 is found only in this specific disc, so there's no need to support it).

AFAIK MPC MpegSplitter outputs the whole ES without separating TrueHD from AC3. Many AC3 decoders like the one in ffdshow seem to sync to the AC3 frames and can decode them and reject the lossless HD part. Same goes for DTS-HD.
However, some decoders can't sync to the AC3 stream within TrueHD (just like AC3Filter). That is why we are currently extracting the cores as I do not know of a decoder that handles the lossless HD parts anyway...Yes, that's true. I was able to test it, too. Thanks.

CiNcH
9th September 2008, 15:09
Even eac3to doesn't handle it (because this type of E-AC3 is found only in this specific disc, so there's no need to support it).

I am talking about the second one. Thought that it was common for EAC3 on Blu-Ray to have a AC3 compatible stream, just like it is the case with TrueHD!?

nautilus7
9th September 2008, 15:22
I am talking about the second one. Thought that it was common for EAC3 on Blu-Ray to have a AC3 compatible stream, just like it is the case with TrueHD!?

I am talking about the second one also. It has a 5.1 AC3 core. That's what I am saying above. In order eac3to and every program to be able to handle a stream must be aware of the format it uses, right? eac3to isn't, so it doesn't handle it and madshi doesn't think there is any need for it (and I agree).

CiNcH
9th September 2008, 15:25
Well, thing is that there are almost no BD with EAC3 out there, that is why it does not matter. If there were, then AC3 within EAC3 would be the common way as specified within the BD specs... (at least if it was the primary audio...)

Casimir666
9th September 2008, 18:49
E-AC3 can exist on Blu-ray as 2 forms/types:

1. Pure E-AC3 (the same as in HD DVD). The only Blu-ray that features that type is Transformers Blu-ray (as secondary audio). This type is not recognized at all by mpc-hc's internal splitter. --> Sample
2. E-AC3 with AC3 core. This type is used only for 7.1 tracks and they are like this: 5.1 AC3 core and E-AC3 extensions for the additional channels. This type is recognized by mpc-hc's internal splitter, but I am not sure if the splitter drops the E-AC3 extensions and passes only the 5.1 AC3 core to the decoder, or it passes the whole stream as it should. --> Sample?
:goodpost:

Really cool to have untouched samples from BRD with Eac3

CiNcH
9th September 2008, 18:51
Really cool to have untouched samples from BRD with Eac3

Indeed, we could finally try the EAC3 splitter code and found that it was buggy ;) . Bug fixed now. Thanks for the sample nautilus.

Sent you a mail Casimir, had my first success with DVBSource -> MPC Video Decoder :) . That really made my day as I now know what causes the problem with ffdshow/MPC Video Decoder.

nautilus7
9th September 2008, 19:24
I have some nice TrueHD samples also, but we need to wait until the ffmpeg TrueHD/MLP decoder is included in ffdshow, or else we can't test. :)

rahzel
9th September 2008, 21:38
my brother has an HD3450 (ASUS EAH3450) and any DXVA compliant video has corruption / pixelation / blocking. i got the latest version of MPC HC downloaded from here. i posted a thread with pics here, someone please help.
http://forum.doom9.org/showthread.php?t=140972

any ideas?

clsid
9th September 2008, 21:53
Update the driver.

hot
9th September 2008, 22:11
hey all, Im having issues with dts out on my htpc. its going over optical out with my creative xfi audio card. im playing movies with standard dts audio streams (1536kbps) and the sound is pretty bad. is there too much bass going through the speakers? it just sounds distorted to the point of being annoying.

i dont notice this distortion with other audio streams. so maybe I should use ac3 filter? currently I have no codec packs installed just mpchc thats it. ive tried every setting so far with no luck(right click speaker icon settings)

rahzel
9th September 2008, 22:43
Update the driver.
tried the latest drivers, actually made it worse. using the drivers that came on the disc actually made things a little better. using system default renderer, no problems... using CoreAVC, no problem... but using VMR9 with DXVA, i'm getting this blocking issue. i also made sure i did a clean install of the drivers... i used driver cleaner to remove any remaining traces of the old drivers.

clsid
9th September 2008, 22:45
Proof enough that the drivers are to blame.

rahzel
9th September 2008, 22:56
Proof enough that the drivers are to blame.
grr... i'm beginning to dislike ATI's driver support. not only is my brother having problems with his ATI card, i had a lot of problems with my ATI Integrated 780G/HD3200 GPU. this doesn't seem to be a common problem either, so i doubt ATI is going to fix it anytime soon.

hot
9th September 2008, 23:33
nvmd guys anybody else have this problem download ac3 filter

THX-UltraII
10th September 2008, 12:02
Hi guys!

I m running XP with SP3. I ve read somewhere that it is possible to get EVR work on XP.

Do I just need to download:

NET Framework 3.5 Service Pack 1 (Full Package) (link: http://www.microsoft.com/downloads/details.aspx?FamilyId=AB99342F-5D1A-413D-8319-81DA479AB0D7&displaylang=en)

And will EVR just work fine after installing this? Or do I need to install the older versions of NET Framework first?

And after installing it, will it just work fine or do I have to do some other things in the XP/MPC-HC too?

thanks for all help!

Px
10th September 2008, 16:14
Hi guys!

I m running XP with SP3. I ve read somewhere that it is possible to get EVR work on XP.

Do I just need to download:
NET Framework 3.5 Service Pack 1 (Full Package) (link: http://www.microsoft.com/downloads/details.aspx?FamilyId=AB99342F-5D1A-413D-8319-81DA479AB0D7&displaylang=en)

And will EVR just work fine after installing this?
Yes
Or do I need to install the older versions of NET Framework first?
No
And after installing it, will it just work fine
Yes
or do I have to do some other things in the XP/MPC-HC too?
No
....
:D

fixed
10th September 2008, 21:52
Latest SVN still affected by bug:

http://sourceforge.net/tracker/index.php?func=detail&aid=2018002&group_id=170561&atid=854651

http://forum.doom9.org/showpost.php?p=1163825&postcount=3472
http://forum.doom9.org/showpost.php?p=1163867&postcount=3479

Shinigami-Sama
10th September 2008, 22:31
Y
No
....
:D

you have to change the renderer to EVR
but thats in MPCs output/ogm panel

4clicks/keystrokes to change it

QuePaso
11th September 2008, 07:45
Any update for the G45 chipset? Using PowerDVD/Arcsoft TMT, hardware acceleration works but not in MPC HC (ive used stable up to 790 SVN).

Here is what it looks like in MPC HC:

http://www.hdimage.org/images/m39ab6922qgcswx49dld_noha.jpg

Thanks.

Casimir666
11th September 2008, 18:10
Any update for the G45 chipset? Using PowerDVD/Arcsoft TMT, hardware acceleration works but not in MPC HC (ive used stable up to 790 SVN).

Here is what it looks like in MPC HC:

Thanks.

What is your OS and what is your video renderer? Could you do a screeshot with left/click - Filters menu open (to have the list of loaded filters)

rica
11th September 2008, 23:10
I have some nice TrueHD samples also, but we need to wait until the ffmpeg TrueHD/MLP decoder is included in ffdshow, or else we can't test. :)

I gave it a go with them and i got thd sound:

Analog outputs to receiver- set to DVD Direct Multichannel:

http://img369.imageshack.us/img369/2456/n701hd0.th.png (http://img369.imageshack.us/my.php?image=n701hd0.png)

EDIT: correction; mpc mpa catches core ac3, sorry...

_ _ _ _ _

molitar
12th September 2008, 03:15
HELP! I have a serious problem.. Some video files work fine with DXVA like Nabari but Bleach stutters very badly when I enable DXVA any clue why? I have a 512MB Radeon HD 3870 video card.

CiNcH
12th September 2008, 06:37
I gave it a go with them and i got thd sound:

This is nothing but AC3. MPA just detects the AC3 core and discards the lossless HD part.

Casimir666
12th September 2008, 07:22
HELP! I have a serious problem.. Some video files work fine with DXVA like Nabari but Bleach stutters very badly when I enable DXVA any clue why? I have a 512MB Radeon HD 3870 video card.

Have you got sample?

rica
12th September 2008, 08:53
This is nothing but AC3. MPA just detects the AC3 core and discards the lossless HD part.

Yes you are right.
I think this is working:

http://img180.imageshack.us/img180/4329/audio01sd4.th.png (http://img180.imageshack.us/my.php?image=audio01sd4.png)



_ _ _ _

CiNcH
12th September 2008, 09:02
Right, ArcSoft does not seem to make restrictions concerning lossless audio formats (but this can't be seen at all with your stream as it is not even "HD" with 2 channel/48kHz/16-bit). But it is not cool to always change splitters and fiddle around with DS graphs with GraphStudio. Cool thing but not userfriendly. I will check the media subtype and connection format with ArcSoft. Currently a big thing to find working splitter/decoder pairings, which audio/video decoder supports which formats, which decoder is better with which format... then there are DTS-HD/TrueHD/EAC3 streams with and without DTS/AC3 core. A lot of things to consider if you want a complete working solution without restrictions here and there and one which is still customizable..

rica
12th September 2008, 09:09
The best thing would be extracting ac3 core from thd and trying with just thd but i couldn't find a way to mux it into a container;
that time i would be 100 percent sure :)

CiNcH
12th September 2008, 09:13
That is right, I also think that would be best if the splitter decided whether to propagate AC3-Core only or TrueHD only, not both formats interleaved, just to keep things clear and to make it possible to distinguish decoders from each other. But I think in case of DTS-HD, this isn't possible, as DTS-HD needs DTS-Core to be decoded.. very confusing...

rica
12th September 2008, 09:52
But I think in case of DTS-HD, this isn't possible, as DTS-HD needs DTS-Core to be decoded.. very confusing...

Yes, you can never been sure whether you are decoding core or HD?

cmw
12th September 2008, 10:02
Mhh, is there any hope on getting DXVA support with EVR on XP? :)

nautilus7
12th September 2008, 12:47
I also think that would be best if the splitter decided whether to propagate AC3-Core only or TrueHD only, not both formats interleaved, just to keep things clear and to make it possible to distinguish decoders from each other. I agree with this. I guess you 're talking about mpc-hc's internal mpeg splitter, right? Would you make it like this? Also have in mind that only Blu-ray TrueHD tracks have an AC3 track interleaved. TrueHD tracks from HD DVD are plain TrueHD (that's in case you 'll support .evo files in the splitter.

But I think in case of DTS-HD, this isn't possible, as DTS-HD needs DTS-Core to be decoded.. very confusing...Yes, that's correct (all DTS-HD tracks have a DTS core).

THX-UltraII
12th September 2008, 15:41
a few general question:

- What does the option Lock back-buffer atually do?
- What is YUV Mixing for and when do use enable this?

some requests for maybe a next version:

- Enabling controls when playing in Direct3D Fullscreen mode. (I can never pause my film of rewind a great scene :))
- HW acceleration support for my 7600GS (PCI-e version, this card has HW acc. onboard).

Thanks for all and keep up the good work.

For the ones who use Reclock: Slysoft took over the program and made a new beta version for now! Look at their site to download.

Leak
12th September 2008, 15:43
For the ones who use Reclock: Slysoft took over the program and made a new beta version for now! Look at their site to download.
How about adding a link to the thread in their forum about it (http://forum.slysoft.com/showthread.php?t=19931)?

np: Amon Tobin - Displaced (Chaos Theory)

Kado
12th September 2008, 21:15
@THX-UltraII

"Lock back buffer" helps reduce tearing and "YUV mixing (http://msdn.microsoft.com/en-us/library/ms788177.aspx)" reduces bandwidth usage in the GPU by using the YUV color space for video mixing.
For "Direct3D Fullscreen mode" try using MPC HC internal shortcuts, it should help.
The Hardware Acceleration your card supports is only motion compensation if you're talking about H264 videos and it's hard to implement such feature in MPC HC.