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
19th October 2010, 15:35
Well, are there any volunteers to fix DScaler5 (or MPC-HC)? It's pretty much an abandoned project. Its source code can be found on SourceForge.

v0lt
19th October 2010, 16:26
MPC-HC can play "AMR Audio file"? None of the examples (from here (http://samples.mplayerhq.hu/A-codecs/amr/)) are not playing.

clsid
19th October 2010, 16:41
With the proper filters installed it should be able to play them.
http://blog.monogram.sk/janos/2008/03/16/monogram-amr-pack-1010/

robpdotcom
19th October 2010, 17:26
Regarding DSacaler; not sure if it matters, but.....

It does not cause MPC to crash on XP, and it also does not cause Zoom Player to crash on Win7. For me at least, it's only MPC on Win7.

EDIT: I can also open it's settings through GraphStudio on Win7.

v0lt
19th October 2010, 17:33
@clsid
thanks! it works!

MPC-HC does not have AMR splitter?

BelowSky
19th October 2010, 18:28
@v0lt:
It is unfortunate that MPC-HC can play AMR audio if it was inside 3GP or MP4 video files and yet it can't play stand alone ".AMR" audio files.

Guns N' Roses
19th October 2010, 18:34
Is that with one screen, or two at the same time?

Try disable Aero.

Disabling Aero and using VSync + Alternate VSync solves the problem, 24Hz works wonderfully. But...why is Aero causing such problems? Isn't it supposed to work better with Aero on? People have been able to make it work with Aero.

Razoola
19th October 2010, 20:30
Disabling Aero and using VSync + Alternate VSync solves the problem, 24Hz works wonderfully. But...why is Aero causing such problems? Isn't it supposed to work better with Aero on? People have been able to make it work with Aero.

Aero (by that I mean desktop composition) has been discussed many times before... As a rule of thumb Aero should be enabled on single monitor display systems only. If your using a secondary monitor Aero *MUST* be disabled if refresh rates on each active display is not a direct multiple of each other.

Guns N' Roses
19th October 2010, 20:56
Aero (by that I mean desktop composition) has been discussed many times before... As a rule of thumb Aero should be enabled on single monitor display systems only. If your using a secondary monitor Aero *MUST* be disabled if refresh rates on each active display is not a direct multiple of each other.

Could you give me direct links to this discussion?
Thats a very important point I did not find anywhere else before. But why is there such a major problem, and will it be corrected?

Razoola
19th October 2010, 21:03
Could you give me direct links to this discussion?
Thats a very important point I did not find anywhere else before. But why is there such a major problem, and will it be corrected?

http://forum.doom9.org/showthread.php?t=152415

Basically this is a windows/aero issue and and not a player issue.

Guns N' Roses
19th October 2010, 21:19
http://forum.doom9.org/showthread.php?t=152415

Basically this is a windows/aero issue and and not a player issue.


Yep, that pretty much parallels my problems. I've disabled desktop composition for good now. I don't suppose there is a need for ReClock now?

EDIT: One problem with Aero disabled though, using madVR...there is a horizontal torn off portion about 1cm thick at the bottom when the video is in windowed mode on either screen (posted this in the madVR thread as well). What gives?

Razoola
20th October 2010, 04:50
Yep, that pretty much parallels my problems. I've disabled desktop composition for good now. I don't suppose there is a need for ReClock now?

EDIT: One problem with Aero disabled though, using madVR...there is a horizontal torn off portion about 1cm thick at the bottom when the video is in windowed mode on either screen (posted this in the madVR thread as well). What gives?

I talked about the tearing at the bottom of the screen in the madVR thread a while ago. its a 260.xx driver situation with madVR.

boyhuesd
20th October 2010, 06:24
your GPU is rather weak compared to your CPU. you can try upgrading it but if that's not an option, set the shaders to run in software.

Thank you for your answer Mangnix. But how can I set the shaders to run in software? Help me please!

Guns N' Roses
20th October 2010, 07:11
I talked about the tearing at the bottom of the screen in the madVR thread a while ago. its a 260.xx driver situation with madVR.

But I have ATI, Catalyst 10.9

Mangix
20th October 2010, 09:31
Thank you for your answer Mangnix. But how can I set the shaders to run in software? Help me please!

right click mpc-hc's viewing area, click shaders, then edit. then load a shader and set it to ps_2_sw or ps_3_sw. it should save itself automatically.

boyhuesd
20th October 2010, 13:27
right click mpc-hc's viewing area, click shaders, then edit. then load a shader and set it to ps_2_sw or ps_3_sw. it should save itself automatically.

Thank you again Magnix ;) .
But when I try to use ps_2_sw or ps_3_sw its keep saying the shaders could not be loaded (I use sharpen complex 2 and SD->HD). What am I supposed to do now :(

Razoola
20th October 2010, 17:20
But I have ATI, Catalyst 10.9

I have no idea then sorry.

Mangix
20th October 2010, 22:53
Thank you again Magnix ;) .
But when I try to use ps_2_sw or ps_3_sw its keep saying the shaders could not be loaded (I use sharpen complex 2 and SD->HD). What am I supposed to do now :(

weird. i remember it working a long time ago. something must have changed. best bet now is to try all of the pixel shader versions and see which ones give really good results. when i had an 8500 GT, enabling sharpen complex 1 gave me stuttering but bumping the PS version to 3 solved the issue. try it out. maybe you'll get some nice results.

mark0077
21st October 2010, 11:58
Guys, is there a renderer or function within mpc-hc that can output frames to disk. I have a charity event coming up at the weekend and am showing some interlaced clips that I need pre-deinterlaced in high quality as they are going into a progressive sequence. No software I have tried premiere, after effects etc gives me high enough de-interlacing quality compared to yadif even so I tried using the grab function within ffdshow. Unfortunately the grab feature doesn't grab the double framerate output by yadif so I'm left looking for other ways to output to disk instead of renderer, or both....

fraps... well it wasn't a great way to output to disk. I don't want to mess with premiere plugins atm so just looking for a quick way for mpc to render all frames to disk which I can then put together later.

Hopefully!!

sneaker_ger
21st October 2010, 12:14
How about letting AviSynth do the deinterlacing? Rendering all frames to disk could be quite excessive in terms of space and cpu time.

mark0077
21st October 2010, 12:48
Thanks for the suggestion! Well I have tried avisynth many times in the past and only a few weeks back, also tried the avs plugin for premiere. I seem to have a great nack of getting mpc-hc to crash when using avisynth scripts.

Yeah I'm rendering everything losslessly so my fully rendered file is 89gb at the moment :) Looks amazing though except for the badly de-interlaced stuff... Any alternatives to avisynth, I mean any tools to write frames to disk? I suppose this may be for another forum if mpc-hc can't do it I guess? Something like ffdshow grab would be ideal. Does avisynth have a function to write frame simply to disk, might have a search for that.

nevcairiel
21st October 2010, 13:21
Why don't you just use yadiff through avisynth?

mark0077
21st October 2010, 13:36
Why don't you just use yadiff through avisynth?

OK I shall give avisynth a go but my luck with not having it crash is not great.... any recommendations of scripts or sites with scripts I can try out? Thanks alot guys!

sneaker_ger
21st October 2010, 13:44
AviSynth itself only frameserves, but I thought of opening it with MPC, picking the frames you need and saving them via "File" > "Save Image...".
That was before I heard it was crashing on your PC. You could try VirtualDub, open the script, copy the frames you need into clipboard and save them using your fav. image converter (like IrfanView).

mark0077
21st October 2010, 14:00
AviSynth itself only frameserves, but I thought of opening it with MPC, picking the frames you need and saving them via "File" > "Save Image...".
That was before I heard it was crashing on your PC. You could try VirtualDub, open the script, copy the frames you need into clipboard and save them using your fav. image converter (like IrfanView).

Cheers guys, I'll give avisynth ago from within ffdshow and see if the grab function grabs them all that way if possible, virtual dub doesn't like alot of the formats I tried feeding it. Its a 4 minute clip, 25fps so I'll be looking for 12000 frames altogether.

dansrfe
21st October 2010, 22:45
You can deinterlace in avisynth in ffdshow and then load fraps and set it to autosave screenshots every 0.04 of a second.

chapas
21st October 2010, 23:39
Hello. I'm using mpc-homecinema.1.4.2689. I've been having problems with randomly working DXVA. When it does work, all is good, but when it doesn't video is too jerky.

Do you know any specific information I can provide to troubleshoot my problem?

I'm running Windows 7 64bit, and the video card providing DXVA is an AMD 785G with 10.9a Catalyst.

Mangix
22nd October 2010, 00:46
Hello. I'm using mpc-homecinema.1.4.2689. I've been having problems with randomly working DXVA. When it does work, all is good, but when it doesn't video is too jerky.

Do you know any specific information I can provide to troubleshoot my problem?

I'm running Windows 7 64bit, and the video card providing DXVA is an AMD 785G with 10.9a Catalyst.
go to options > internal filters, double click h264(either one) and for DXVA Compatibility Check, try selecting skip all checks.

chapas
22nd October 2010, 02:29
Mangix, I have all set up to support DXVA, and it works. But it does work randomly.

http://img513.imageshack.us/img513/1873/snapshoto.th.png (http://img513.imageshack.us/i/snapshoto.png/)

In this screenshot DXVA is working great. But when it doesn't, I notice the "Clock" value in the upper right corner goes as low as 30%.

Is anyone aware of what can cause the clock to go so low? I don't see CPU usage spikes either, and the green line in the graph goes very high offscreen.

Mangix
22nd October 2010, 02:39
never owned an ati part so i dunno. could it be a power saving feature causing DPC latencies? check that out if you can. actually, run dpc latency checker while watching a video.

http://www.thesycon.de/deu/latency_check.shtml

namaiki
22nd October 2010, 02:43
chapas: Try disable, View-> Renderer-> Presentation-> Frame Time Correction.

chapas
22nd October 2010, 06:27
namaiki: I disabled it, and same as with the other options, it worked at first but after a couple reboots I'm back with no acceleration. Somehow running other software (TMT3 player) I get the acceleration back. I don't know if this is a hardware or software problem. I've read somewhere that Suspend to S3 corrupts DXVA, but I'm not suspending or making it sleep. Thanks for suggesting me things to try to fix this!

namaiki
22nd October 2010, 14:16
That option is only to do with the jerkyness of the video. (if anything)

v0lt
22nd October 2010, 18:52
http://img814.imageshack.us/img814/6849/capture1gr.th.png (http://img814.imageshack.us/img814/6849/capture1gr.png)
http://img301.imageshack.us/img301/5954/capture2ue.th.png (http://img301.imageshack.us/img301/5954/capture2ue.png)
need to make wider. other text blocks do not interfere.

xiulet
23rd October 2010, 13:37
Video accleration for WMV HD® video content
. This release of AMD Catalyst provides video acceleration support for WMV HD®
(Microsoft video codec) under Windows 7
. Compatible with the ATI Radeon™ HD 5000 Series of products

I don't see this option in panel control(ccc), what king of codec is it? On external filters i don't find ati wmv specific codec to choose.

has anybody more information about this new option?

thanks a lot, adéu.

janos666
23rd October 2010, 23:55
Sorry if this is a false alarm (or a redundant re-report), but I think that the CMS implementation is broken in the 1.4.2689.0 build (as well as it is broken in any older builds which I tried but I didn't count them).

I created an ICCv2 profile with ArgyllCMS 1.3.0 (I used 912 sample points to calculate an "ultra quality" profile from the spectral data which I collected with a ColorMunki in Adaptive High Resolution mode - I think it should be more than enough for a subjective evaluation). [I did it on an uncalibrated laptop display, so it is easy to tell when CMS works or not.]

If I open a new document in Photoshop CS5, the white image measures as ~6500K, as it should be. (So, it seems that the profile is OK.)
The uncorrected white images measures as ~5900K (this is the native white of the display).

The white test pattern in MPC-HC measures as ~5900K, like CMS is not working at all.
I would use the Relative Colorimetric rendering intent but I also tried the other options. The Perceptual and Saturation intents behaved in the same way and Absolute Colorimetric is clearly broken (it renders a very bluish gray gradient with other artifacts). The white point is clearly uncorrected.

On the other hand, it does "something" because it clearly changed the gamma and it also changed the white balance over the whole gray gradient (except the white point itself).
The uncorrected gray gradient has bluish grays with a yellowish peak white. (Strange, but this is a TN based laptop screen. So, anything is possible except an "idealised" display :D) and the corrected gray gradient has equally yellowish grays with yellow peak white (the native white point).

So, it does a great job with the gamma (I didn't measured any IREs yet, but it goes to the good direction, so I assumes that it is correct.) and it does "something" with the white balance as well. But the target white point is the device white point instead of the standard D65 illuminant.


The same thing happens with some CMS supported image viewer softwares when they have a correct device profile and they get any image which doesn't have any embedded ICC profiles. Sometimes they do "something" but the white point remains the device's native white point.

I didn't checked the gamut emulation in this situation (this display has a ~sRGB gamut, so it's not obvious for my eyes as it would be with a wide-gamut display) but I take a fast look into it when the first CMS supported build released and it look weird (on my WCG display).
So, may be the WCG to Rec709 is not as good but at least it doesn't hurt the gamut when it's narrower than the Rec709 gamut. :D (And it was with my desktop PC where I could use only 8 bit input mode. It can be improved by the 10 bit input mode...)


I think you should tell littleCMS that the target white point is D65 or 6504K or 0.31382,0.331 or... pick up which one is understandable by the software...


And if we are here...
How do you handle the gamma correction?
In my opinion, the source is encoded with the Rec709 curve but it has to be handled as a source with a pure-power gamma function of 2.35 exponent.
It produces nice results with madVR+yCMS. I am using EVR now because this is a laptop with 1920x1200 display resolution. It can't play HD contents without DXVA and madVR can't work with DXVA decoders.
But it is also a great "adventure" to see how EVR works in MPC-HC

I was unable to use any of the 10 bit features with a HD5850 + Dell U2410 (both of them are native 10 bit capable hardwares, but the Catalyst drivers won't let me work with 10 bit ... until I will be able to softmod it to a FirePro :cool:)
But the FP10 processing and dithered 10 bit input produces a nice result. At least, it is nice enough for a laptop display. I wonder how would it looks if I would be able to output 10 bit for the display. (This notebook VGA could be softmodded into a quadro but this laptop doesn't have a HDMI or DP output. And I am not sure if the Gef8 GPU is able to work in 10 bit display mode anyway.)
After all, it could be a very good solution for those who need DXVA (after you fix the WP thing)! :)

Mangix
24th October 2010, 00:57
I don't see this option in panel control(ccc), what king of codec is it? On external filters i don't find ati wmv specific codec to choose.

has anybody more information about this new option?

thanks a lot, adéu.

that might only be for UVD3 parts like the new 6000 series.

sneaker_ger
24th October 2010, 01:13
The changelog says it should be compatible with HD 5000 series. HD 6000 is not mentioned.

Sebastiii
24th October 2010, 15:37
Hi,

Again us, U78 and me and testing from Aleksoid, we think that BD seamless Branching should work now.

We need some feedback of testing :)
Thanks.

Zip that contains (mpc-hc, standalone Filter and patch) (http://www.mediafire.com/?rvpocxl5usmx5j1)

alexins
25th October 2010, 01:17
Media Player Classic HomeCinema (x86/x64), 1.4.2696 (http://www.xvidvideo.ru/media-player-classic-home-cinema-x86-x64/media-player-classic-homecinema-x86-x64-1-4-2696.html)

Changes (2692-2696): (http://www.xvidvideo.ru/logi-izmeneniy/log-izmeneniy-media-player-classic-homecinema.html)
updated building batch files, ffmpeg;
fixed: bandwidth value was hardcoded to 8MHz when scanning or switching channels. The value entered in scan is now saved in the configuration;
updated MediaInfoLib to v0.7.36.

wOxxOm
25th October 2010, 08:33
now that DSM Converter is removed from MPCHC, we've lost a possibility to demux subs/audio...

I wonder if the component is available as a standalone utility, or do I have to keep an older mpc just for this purpose, since I liked its simplistic UI yet not as awkward as cmdline of ffmpeg.

hissatsu
25th October 2010, 09:19
Hi,

Again us, U78 and me and testing from Aleksoid, we think that BD seamless Branching should work now.

We need some feedback of testing :)
Thanks.

This is much better than the last one, seeking appears to work fine now, but the timer still falls behind about one second every time it switches files in an mpls playlist. Sorry I don't have anything better to report.

Matching_Mole
25th October 2010, 10:45
Hi,

Again us, U78 and me and testing from Aleksoid, we think that BD seamless Branching should work now.

We need some feedback of testing :)
Thanks.

Zip that contains (mpc-hc, standalone Filter and patch) (http://www.mediafire.com/?rvpocxl5usmx5j1)

I tested successfully your version using the last Aliens movies which are all using seamless m2ts. Compared to the regular version of MPC-HC, your version fixes issue with PGS (that don't work appears correctly with the regular version) and is less affected by audio / video desynchronization.

So for me your patch is a real improvement but it remains that after 2hours, I have still a lost of audio / video synchronization for around 500ms

XhmikosR
25th October 2010, 11:06
now that DSM Converter is removed from MPCHC, we've lost a possibility to demux subs/audio...

I wonder if the component is available as a standalone utility, or do I have to keep an older mpc just for this purpose, since I liked its simplistic UI yet not as awkward as cmdline of ffmpeg.

Not available as standalone, you can build MPC-HC from the legacy branch which includes all the old stuff.

Sebastiii
25th October 2010, 13:24
This is much better than the last one, seeking appears to work fine now, but the timer still falls behind about one second every time it switches files in an mpls playlist. Sorry I don't have anything better to report.

Thanks, i didn't find the way to fix the one second delay, but on my test i have a minor than one second when m2ts is swichting from the next.
Cheers,
Seb.

Sebastiii
25th October 2010, 13:27
I tested successfully your version using the last Aliens movies which are all using seamless m2ts. Compared to the regular version of MPC-HC, your version fixes issue with PGS (that don't work appears correctly with the regular version) and is less affected by audio / video desynchronization.

So for me your patch is a real improvement but it remains that after 2hours, I have still a lost of audio / video synchronization for around 500ms

Thanks for feedback too :)
It's strange for PGS subs because we didn't touch anything on this but maybe the hack solve this issue too.
For the lost of Audio / Video, i didn't see that it appear when you seek after 2H00 or it's appear after playing 2H00 ?
Cheers,
Seb.

tetsuo55
25th October 2010, 13:45
now that DSM Converter is removed from MPCHC, we've lost a possibility to demux subs/audio...

I wonder if the component is available as a standalone utility, or do I have to keep an older mpc just for this purpose, since I liked its simplistic UI yet not as awkward as cmdline of ffmpeg.We recommend using MKV over DSM.

Matching_Mole
25th October 2010, 14:22
Thanks for feedback too :)
It's strange for PGS subs because we didn't touch anything on this but maybe the hack solve this issue too.
For the lost of Audio / Video, i didn't see that it appear when you seek after 2H00 or it's appear after playing 2H00 ?
Cheers,
Seb.

It was after 2h of playing.

THX-UltraII
25th October 2010, 14:48
having a problem that came with some versions ago (at least, i THINK that it s the problem!)

When playing .mov trailers no filters etc. are loaded anymore.

Sebastiii
25th October 2010, 16:50
It was after 2h of playing.

Hi :) so we have to wait 2h to see and hear the delay, hard to test :(

Can you reproduce or try to reproduce when you seek ?
Maybe if pause is made etc.
Thanks :)