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

Mixer73
15th November 2011, 01:14
Let me guess: LAV player.

We can only dream ;)

pacemaker1000
15th November 2011, 12:16
anybody got a way to launch MPC from within MCE for Bluray/sd discs?
running them so far from desktop with DvdFab and having to navigate to the drive which is frustrating and not family friendly

i have used mediabrowser for ripped stuff to launch MPC but annoyingly it wont give the option to run bd or even sd actual discs

pacemaker1000
15th November 2011, 13:30
is there an Argument that will tell MPC to launch whats in the dvd drive?

thanks

LigH
15th November 2011, 14:41
mpc-hc /? displays a dialog with command line options. Possibly interesting:

/dvd - starts player in DVD mode; an optional parameter may contain the DVD path
/cd - loads all tracks of an Audio CD or (Super) Video CD

Still, there is a decision left how to behave. And it doesn't check for any available media file on a data disk (e.g. DivX AVI on CD).

I believe you would like to submit only the drive letter as parameter, and MPC-HC shall decide on its own if it should load this media as Audio or (S)Video CD or DVD or media file disk?

v0lt
15th November 2011, 19:05
@LigH
mpc-hc.exe e:
mpc-hc.exe e: /open
Usage: mpc-hc.exe "pathname" [switches]

"pathname" The main file or directory to be loaded (wildcards allowed)

v0lt
15th November 2011, 19:28
@volt
Can you revert rev3808? It broke basic subtitle functionality.?

I do not see any problems. In older versions had problems with .ASS subtitles.

fastplayer
15th November 2011, 19:30
I do not see any problems. In older versions had problems with .ASS subtitles.
http://forum.doom9.org/showthread.php?p=1536396#post1536396
http://forum.doom9.org/showthread.php?p=1538379#post1538379

v0lt
16th November 2011, 03:48
There is weird problem with subtitle font size setting. When I set "16", apply and than go back to settings there is in fact set "15". And it happens whit almost all sizes...
fixed in r3833.

LigH
16th November 2011, 10:04
Thanks, v0lt ... but "@ pacemaker1000" would have been more appropriate. ;)

kirakami
17th November 2011, 12:33
Let me guess: LAV player.

That would be dream come true ;)

nevcairiel
17th November 2011, 13:19
I have no plans at this time to write my own player. There are for more important things to consider, like all those features documented on my issue tracker ... a list that isn't really shrinking!

bozek
17th November 2011, 20:16
MPC-HC BE mod has been brought up to scratch. The 3835 build can be snatched from xvidvideo.ru

Now maybe we can get it included in the SVN, cant we? :rolleyes:

Keiyakusha
17th November 2011, 20:59
MPC-HC BE mod has been brought up to scratch. The 3835 build can be snatched from xvidvideo.ru

Now maybe we can get it included in the SVN, cant we? :rolleyes:

It won't made to the SVN by itself, someone who can make patch against most recent revision should submit it to underground78 or tetsuo55 or xhmikosr

Mercury_22
18th November 2011, 13:11
Internal H264/AVC DXVA decoder still has BIG problems playing H264/AVC interlaced files while the NON-DXVA H264/AVC internal decoder has no problem with the same files
Can someone please take a look at this and fix this Interlaced problem once and for all

Sample (http://www.multiupload.com/JE8XZTCV5H)

JanWillem32
18th November 2011, 17:52
No problems here, the video is really heavy though, I need to disable some of my regular filters to run it properly without glitches. The first part is marked as "TV"-like interlaced 50 fps, the second part forces a weave deinterlacer (for 25 fps). http://imageshack.us/photo/my-images/256/clipboard01ks.jpg/

Mercury_22
18th November 2011, 19:29
No problems here, the video is really heavy though, I need to disable some of my regular filters to run it properly without glitches. The first part is marked as "TV"-like interlaced 50 fps, the second part forces a weave deinterlacer (for 25 fps). http://imageshack.us/photo/my-images/256/clipboard01ks.jpg/

First you're using your build so... :) but even so don't you get green spots and corruptions at the beginning of the file ? after that the file plays "better" (not perfect) for me too

EDIT Using "Video Render" instead of EVR or EVR-CP solved the problem so the culprit it's the combination of Internal H264/AVC DXVA & EVR or EVR-CP; any other combination e.g. EVR-CP and other decoder (e.g. Microsoft DTV-DVD Decoder) or internal DXVA decoder and "Video Render" it's working fine

P.S. I just tested your build too (default settings) and the problem it's still there (at the beginning mostly )

JanWillem32
18th November 2011, 20:02
I only get some lag from starting up the deinterlacer: http://imageshack.us/photo/my-images/13/grgrd.jpg/ . After that, everything is pretty normal. I don't have any visible corruption on screen. I've also tested the trunk build, it's pretty much the same. It's only really bad with initialization of scheduling. (It drops 5 frames on start, lags for quite a lot of frames after that, even while I'm not even using the heavy "VSync" or flushing options).

Mercury_22
18th November 2011, 20:31
For me this is how it starts http://imageshack.us/photo/my-images/194/capturegts.png/ but then it gets better (but not perfect/good) http://imageshack.us/photo/my-images/703/capture2md.png/ while using Microsoft DTV-DVD Decoder this is how it starts and continue http://imageshack.us/photo/my-images/31/capture3gr.png/

judelaw
18th November 2011, 20:42
MBAFF... with ffdshow dxva and internal dxva decoder on ATI - almost always artifacts. It's normal :)

JanWillem32
18th November 2011, 20:56
That looks like the driver performs a zero-fill, as Y'CbCr {0, 0, 0} is a dark green: http://multimedia.cx/eggs/yuv-and-rgb/ . Normally, if a reference frame is missing, the driver first assumes a black frame (Y'CbCr {0, 128/255., 128/255.}), and then tries to patch things up with the partial-temporal image data in the delta frames. That's probably what's happening in my case and with the other decoders, but it's hard to test with such a dark first scene. I don't really know what part in the EVR DXVA chain could cause this.

bozek
19th November 2011, 22:18
It won't made to the SVN by itself, someone who can make patch against most recent revision should submit it to underground78 or tetsuo55 or xhmikosr

I PM'd about it but he hasn't responded... Anybody in touch with Alexins, elsewhere perhaps?

Keiyakusha
19th November 2011, 23:03
I think the best place to find some devs is an IRC channel... unfortunately I forgot where it is located, maybe on freenode.

Tom Keller
20th November 2011, 01:19
Since it's been a month and none of the builds to date solves my problem:

http://forum.doom9.org/showpost.php?p=1532608&postcount=18272

... i simply ask again ;) :
I've got a strange behavior with Haalis Video Renderer, after going from (x86) build 1.5.3.3677 to build 1.5.3.3734. While using Haalis Renderer, the MPC-HC starts with a black screen. The playback is running fine (according to the audio output, the slider and timecode) - there's simply no video output visible. But when using the slider to jump through the video, i'll suddenly get an output :eek: .

(...)

Is it reproducible for others? Was there any change from build 1.5.3.3677 to build 1.5.3.3734, which could possibly lead to this kind of problem :confused: ?

ryrynz
20th November 2011, 09:28
I too experienced jumping problems with the BE builds.
Instead of jumping forward, it jumps back to the time when the jump is initiated.

Can someone also look at the BE mod code and find out why it prevents small and medium skipping from working properly?
or let me know who I can pass the bug along to? It's been four months since I mentioned it and seems like it would be an easy fix.

Octo-puss
20th November 2011, 10:50
Can someone also look at the BE mod code and find out why it prevents small and medium skipping from working properly?
or let me know who I can pass the bug along to? It's been four months since I mentioned it and seems like it would be an easy fix.
I believe it's been less than a week since someone clearly stated BE is something completely different and not "supported" here at all - which kinda makes sense, given the mod part.

VipZ
20th November 2011, 14:48
Can someone also look at the BE mod code and find out why it prevents small and medium skipping from working properly?
or let me know who I can pass the bug along to? It's been four months since I mentioned it and seems like it would be an easy fix.

This bug isn't from the GUI part of the BE mod, but the ffmpeg/swscale changes I think. Using the patch/builds from Blitzker posted has no such issues.

bozek
20th November 2011, 23:32
I believe it's been less than a week since someone clearly stated BE is something completely different and not "supported" here at all - which kinda makes sense, given the mod part.

The way I see it the BE mod aint that different from the 'official' release. From my point of view I spotted three key features that make it a better player than the classic one:

1. cute, round and border-less window
2. ability to force 0-255 Output Levels on FFmpeg
3. different set of icons for different filetypes

I'm kind of surprised MPC-HC still uses the ancient win98 look... As for #2 and #3, they shouldn't be that hard to care of either, right?

EDIT: I'm not experiencing the jumping problem any longer. I believe it was fixed several builds ago ;-)

ryrynz
20th November 2011, 23:34
I believe it's been less than a week since someone clearly stated BE is something completely different and not "supported" here at all - which kinda makes sense, given the mod part.

Yeah I know, but with talk of merging the code I figured it was a good idea to bring it up.

This bug isn't from the GUI part of the BE mod, but the ffmpeg/swscale changes I think. Using the patch/builds from Blitzker posted has no such issues.

It's your lite builds I'm interested in, any chance you could look into it sometime? Thanks.

*Actually don't worry your build is working fine for me*

kasper93
21st November 2011, 01:08
STRING IDS_SHADERS_SELECT_SCREENSPACE can be removed from translation files since it is no longer used. By the way can someone commit our work from https://sourceforge.net/apps/trac/mpc-hc/ticket/1579 :) underground78 is on long vacation I guess.

v0lt
21st November 2011, 03:56
@kasper93
RC file is not needed. (\src\apps\mplayerc\mpcresources\mplayerc.pl.rc)

We need a modified TXT file. (\src\apps\mplayerc\mpcresources\text\mplayerc.pl.rc.txt)


to English-speaking
What do you think about renaming?

pre-resize pixel shaders -> frame pixel shaders | frame shaders
post-resize pixel shaders -> screen pixel shaders | screen space shaders | screen shaders

Hera
21st November 2011, 04:33
Both are equally confusing.

namaiki
21st November 2011, 04:56
I think pre and post-resize is easier to work the meaning out.

Superb
21st November 2011, 13:52
I think pre and post-resize is easier to work the meaning out.Completely agree.

v0lt
21st November 2011, 15:59
If we are removing "pixel"?
pre-resize pixel shaders -> pre-resize shaders
post-resize pixel shaders -> post-resize shaders

nevcairiel
21st November 2011, 17:12
The name is pixel shader, not just shader.

LigH
21st November 2011, 17:54
Originally, it was named "Fragment Shader"; but that didn't sound advertizing enough.

Octo-puss
21st November 2011, 21:28
I'm kind of surprised MPC-HC still uses the ancient win98 look...
I love it. Don't touch it! Simplicity and retro FTW!

bozek
22nd November 2011, 11:19
I love it. Don't touch it! Simplicity and retro FTW!

Meh, speak for yourself. Though, there's nothing wrong with adding some more skins... I mean, one doesn't have to swap one look for another.

kasper93
22nd November 2011, 16:17
@kasper93
RC file is not needed. (\src\apps\mplayerc\mpcresources\mplayerc.pl.rc)

We need a modified TXT file. (\src\apps\mplayerc\mpcresources\text\mplayerc.pl.rc.txt)

I know and I meant TXT files. (\src\apps\mplayerc\mpcresources\text\mplayerc.rc.txt) String in the line 1743 is no longer needed after rev. 3841 so it can be wipe out from language files and
resource.h to keep that files clean.

Anyway, thanks for little polish translation updated in r3841. There are a few more changes in the file attached to the ticket and we (me and haix) would be glad to see them also included sometime. ;)

ageback
23rd November 2011, 04:13
rev.3850 compile failed:

1>MPCVideoDecFilter.cpp(1956): error C2065: “nPCIDevice”: 未声明的标识符
1>MPCVideoDecFilter.cpp(1956): error C2065: “nPCIDevice”: 未声明的标识符

Hera
23rd November 2011, 15:09
Meh, speak for yourself. Though, there's nothing wrong with adding some more skins... I mean, one doesn't have to swap one look for another.

In the installer have various skin options.

JarrettH
23rd November 2011, 19:25
Is there some obvious reason why EVR-CP will not work with Intel HD Graphics 2000? I've tried several revisions over the course of 4 months and nothing has changed, always get a black screen on playback. EVR works though.

clsid
23rd November 2011, 20:49
The internal DXVA decoder is not compatible with the integrated graphics of the Sandy Bridge processors.
Try build 3851 or newer. That might solve the black screen issue. If not, disable the internal DXVA decoder.

Wodde
24th November 2011, 00:46
I have a (maybe stupid) Question:

When i load a Bluray, MPC HC selects automatically the longest Videotrack on the Disc.

So far, so good, this works in 95% of my BDs.

But on a few Discs there is a Extended Version or an Extra Track which is longer than the MainMovie, and this Track is loading instead of the MainMovie.

For Mediaportal there is a Plugin named BD Handler, which allows my to choose which Videotrack i want to play.

Is it possible to integrate such a Function into MPC HC?

Thanks in Advance.

Tiduz
25th November 2011, 16:16
rev 3851 gives me vertical stripes in dark scenes, not black lines but kinda transparant.

am i the only one with the problem?

i only see them when i go fullscreen and i use a ati hd6850

namaiki
25th November 2011, 16:23
What items are present in the menu 'Play-> Filters' when you have that video open in MPC-HC?
Also, please post a non-resized screenshot of the issue.

LigH
25th November 2011, 16:36
@ Tiduz:

Did you activate automatic contrast enhancement (or whatever it is called) in your ATI drivers? Don't do that...

Tiduz
25th November 2011, 16:39
no i have disabled dynamic contrast

the problem with posting a screenshot is i only see it in full screen, maybe i can use print screen to show the issue instead of the build in screenshot taker, ill try that
heres a sd screen, it also happens with HD tho.

http://i.imgur.com/2HZjX.jpg

filters:

Default directsound device
enhanced video renderer (custom presenter)
Audio Switcher
MPC Video Decoder
MPEG-1 Audio Decoder

Blitzker
26th November 2011, 07:56
I have updated my MPC-HC BE builds with the new r3855 sources. You can grab it while its fresh here http://www.mediafire.com/?nbb4gclb828ax ;)

(I tried a new gcc build for this one (4.6.2) and so far, it seems to behave as good as the xvidvideo.ru gcc 4.6.1. Feel free to give some feedback if you experience problems while using it)

disto
26th November 2011, 08:44
Hello i have a question is it possible to add gamma correction slider in mpc-hc for EVR or MadVR render.