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

namaiki
26th July 2010, 13:25
Perhaps EVR-Custom hasn't taken into account a situation where the monitor is set to less Hz than the video being played.

Keiyakusha
26th July 2010, 13:26
what are the differences between his and alexins versions?
Maybe version of some compilers can be a bit different but the most noticeable difference is the name of the person who compiled it.

XhmikosR
26th July 2010, 14:26
It also takes like half a second to pause and resume the video with r2153 using the mouse. I've already informed Alekdoid1978.

oddball
26th July 2010, 14:27
Perhaps EVR-Custom hasn't taken into account a situation where the monitor is set to less Hz than the video being played.

Can someone with a 24P display look into this?

Aleksoid1978
26th July 2010, 23:01
There's a bug with 2153, in MKVs with chapters(not ordered/linked chapters), when you press Page Down to jump to the next chapter or right-click, Navigate, Jump To, Select a particular chapter to jump to, after a few seconds of playback it pauses. Bug does not happen with 2152, so the problem started with 2153. Please revert 2153.

Upload short sample for test.
Changes in 1253 do not relate to work with MKV and chapters.

oddball
27th July 2010, 03:13
I've studied the source code of the custom EVR renderer a bit, and it tries to set the output format of the EVR mixer to anything but RGB. Despite this, it always renders into RGB textures, so obviously the output can only be RGB. It doesn't make any sense, and I think this behavior is erroneous. According to an MSDN article (http://msdn.microsoft.com/en-us/library/bb530107(VS.85).aspx#allocatingdirect3dsurfaces), the output format you set and the one you actually use must match.

By the way, I believe this also explains why the 10-bit video path is so buggy. Yes, the GPU drivers have faults (the mixer should return an error code instead of crashing the entire application), but MPC tries to do something which is not really supported. For example, my NVIDIA NVS 5100m reports that 10-bit RGB mixer output is not supported, but it seems to be working anyway (only with progressive content). MPC should definitely check whether 10-bit output is truly supported before using it. However, I doubt that there are any such GPUs at the moment. The bottom line is, this feature in MPC is pretty much broken. The only valid solution I see is to use a non-EVR/VMR renderer that natively supports a full 10-bit video rendering path.

It seems that the drivers are too tolerant (lazy), but MPC should not rely on this. If the MPC developers agree, I will gladly help to fix this.

I thought it was OK to just go ahead and make your own build? Just do it and offer it up to test I say (But then I don't know the rules on open source stuff so ignore me if I am being flippant about it) :)

oddball
27th July 2010, 04:00
XhmikosR 2156 x86 is hanging for a few seconds with an error sound on exit in Win7. It sits in Task Manager for a few seconds.

Aleksoid1978
27th July 2010, 04:16
XhmikosR 2156 x86 is hanging for a few seconds with an error sound on exit in Win7. It sits in Task Manager for a few seconds.

It's happen in VS2010

DMD
27th July 2010, 05:37
I beg your pardon.

In the link http://www.xvidvideo.ru/media-player-classic-home-cinema-x86-x64/
versions are still svn 2099, where you can download the most recent ones?

THANKS

namaiki
27th July 2010, 05:45
@stasi

You can get XhmikosR builds here (http://xhmikosr.1f0.de/).

That link is just one page back...

I beg your pardon.

In the link http://www.xvidvideo.ru/media-player-classic-home-cinema-x86-x64/
versions are still svn 2099, where you can download the most recent ones?

THANKS

ryrynz
27th July 2010, 09:16
Do people know how to use search and actually read anything from the thread at all?

XhmikosR
27th July 2010, 09:51
And a few pages back I explain that the crash on exit happens with all the builds, it's just that with MSVC2010 it happens more often for some people that it did with MSVC2008. So if someone is a programmer and can help fix this, please do so. :)

tetsuo55
27th July 2010, 11:02
I've studied the source code of the custom EVR renderer a bit, and it tries to set the output format of the EVR mixer to anything but RGB. Despite this, it always renders into RGB textures, so obviously the output can only be RGB. It doesn't make any sense, and I think this behavior is erroneous. According to an MSDN article (http://msdn.microsoft.com/en-us/library/bb530107(VS.85).aspx#allocatingdirect3dsurfaces), the output format you set and the one you actually use must match.

By the way, I believe this also explains why the 10-bit video path is so buggy. Yes, the GPU drivers have faults (the mixer should return an error code instead of crashing the entire application), but MPC tries to do something which is not really supported. For example, my NVIDIA NVS 5100m reports that 10-bit RGB mixer output is not supported, but it seems to be working anyway (only with progressive content). MPC should definitely check whether 10-bit output is truly supported before using it. However, I doubt that there are any such GPUs at the moment. The bottom line is, this feature in MPC is pretty much broken. The only valid solution I see is to use a non-EVR/VMR renderer that natively supports a full 10-bit video rendering path.

It seems that the drivers are too tolerant (lazy), but MPC should not rely on this. If the MPC developers agree, I will gladly help to fix this.Please help us fix this :thanks:
And a few pages back I explain that the crash on exit happens with all the builds, it's just that with MSVC2010 it happens more often for some people that it did with MSVC2008. So if someone is a programmer and can help fix this, please do so. :) In addition to what XhmikosR already mentioned, we believe this problem goes back to the original MPC, but the problem was nearly unreproducable when compiled with vs2005

hajj_3
27th July 2010, 12:27
is Hardware decoding enabled in the latest MPC-HC V2099 with an ATI card using ATI 10.7 drivers that were released yesterday or is vlc 1.1.1 the only free player with hardware decoding for ATI cards?

namaiki
27th July 2010, 12:30
I believe MPC-HC has worked since Catalyst 10.4 for most videos.

cengizhan
27th July 2010, 14:17
Regarding the pause issue. For me there was always something wrong with the pause and resume. Open a big mkv file from a slow medium like dvd/flash disk. press pause, then play, then pause, then play. Program says paused but video plays. After that you have to restart the program to fix the issue.

tetsuo55
27th July 2010, 14:37
Regarding the pause issue. For me there was always something wrong with the pause and resume. Open a big mkv file from a slow medium like dvd/flash disk. press pause, then play, then pause, then play. Program says paused but video plays. After that you have to restart the program to fix the issue.
You are right, pause and seek have always been problematic, maybe this new level of problem can help the developers locate the exact cause.is Hardware decoding enabled in the latest MPC-HC V2099 with an ATI card using ATI 10.7 drivers that were released yesterday or is vlc 1.1.1 the only free player with hardware decoding for ATI cards?DXVA has worked for years, but im not sure if 10.7 fixes the standard def corruption bug

Snowknight26
27th July 2010, 19:07
Nope, still broken.

On an unrelated, and apparently fruitless note, preferred filters aren't always loaded even when a connection can be made. For example:

File A contains two tracks, a FLAC track (track A) that's decoded by the chain source splitter -> madFlac -> ffdshow audio decoder and B, decoded by source splitter -> ffdshow. ffdshow audio decoder is set to preferred and accepts both uncompressed audio (for track A) and the original format of track B. Pressing A in MPC-HC, which goes to the next audio track by default), switches from track A to track B. Track B is still being decoded by ffdshow, so so far so good. However, if you press A again, track A is played but this time instead of being handled by the normal chain, ffdshow is no longer present and madFlac connects straight to the audio renderer.

This behavior is especially problematic when ffdshow is set to downmix or upmix uncompressed audio as MPC-HC can't do it on its own. But oh well, apparently bugs in this thread aren't even looked at so I'm just wasting my time typing this. :)

crewxp
28th July 2010, 09:23
random quick question. is there any way to set mpc-hc to run in the background of the monitor, forced fullscreen? I know VLC has something like this, but it disables windows aero.

aka: So I can run a video as a 'wallpaper'

this would be a neat feature since dreamscape was discontinued.

oddball
28th July 2010, 12:01
ffdshow for processing refuses to load with CoreAVC in MPC HC. Using Windows Media Player I can get CoreAVC to load and use ffdshow's processing. But I want to use MPC HC.

Any ideas?

namaiki
28th July 2010, 12:09
Try add both as preferred in External Filters list.

oddball
28th July 2010, 14:13
OK I seem to have broken MPC's internal decoder fiddling with filters. Even though the internal decoders are ticked I get an error on playback. I tried reinstalling MPC and doing a system restore but it's still busted. "Media Player could not render some of the pins in the graph" etc. I tried to register MPCVideoDec.ax again but no joy.

Any ideas?

BTW your suggestion worked.

THX-UltraII
28th July 2010, 15:20
Am I correct that BR (BDMV/CERTIFICATE folder) still is not supported fully by MPC-HC?

I tried to open a directory and select the BDMV folder. Sometimes this seems to work and the movie starts playing but sometimes it doesn t work and the movie begins to play with the directors comment.


ps. I ve checked ONLY MPEG PS/TS in the internal filters of mpc-hc

SamuriHL
28th July 2010, 15:22
Am I correct that BR (BDMV/CERTIFICATE folder) still is not supported fully by MPC-HC?

I tried to open a directory and select the BDMV folder. Sometimes this seems to work and the movie starts playing but sometimes it doesn t work and the movie begins to play with the directors comment.


ps. I ve checked ONLY MPEG PS/TS in the internal filters of mpc-hc

You can load the MPLS for the main movie and that'll work just fine. I use eac3to to give me the most likely candidates. If you do an open DVD on the BD, MPC-HC will make a best guess, but, as you've seen it doesn't always get it right.

nevcairiel
28th July 2010, 15:37
Running the "index.bdmv" usually works just fine.

THX-UltraII
28th July 2010, 15:39
You can load the MPLS for the main movie and that'll work just fine. I use eac3to to give me the most likely candidates. If you do an open DVD on the BD, MPC-HC will make a best guess, but, as you've seen it doesn't always get it right.

Whats the MPLS? and what do you mean by using eac3to?

EDIT: do you mean to first convert my movie to a .m2ts file with http://forum.slysoft.com/showthread.php?t=25818
I know this is possible but it takes ages to convert. I was just hoping that MPC-HC can handle a BD structure folder.

SamuriHL
28th July 2010, 15:41
Whats the MPLS? and what do you mean by using eac3to?

The MPLS is the playlist for different parts of the disc. The main movie will have one. You can scan the BD structure with eac3to and it will list the most probable candidates for the main movie MPLS file.

THX-UltraII
28th July 2010, 15:49
The MPLS is the playlist for different parts of the disc. The main movie will have one. You can scan the BD structure with eac3to and it will list the most probable candidates for the main movie MPLS file.

Ok, so MPC-HC does not support it fully at this moment. I think I ll convert them to .m2ts for the time-beeing then.

SamuriHL
28th July 2010, 15:52
Ok, so MPC-HC does not support it fully at this moment. I think I ll convert them to .m2ts for the time-beeing then.

Wait, huh? That's not what I said at all! :) It usually does just fine on BD structures. But there are some discs that have screwy layouts that have different MPLS for the movie that add "special features" mixed into the main movie. Sometimes MPC-HC gets a bit confused and picks the wrong playlist by default. It's simple enough to open an MPLS. They're in your BD structure. It's MUCH quicker to find the MPLS of titles that don't automatically get picked up correctly than to convert it to m2ts.

THX-UltraII
28th July 2010, 15:55
Wait, huh? That's not what I said at all! :) It usually does just fine on BD structures. But there are some discs that have screwy layouts that have different MPLS for the movie that add "special features" mixed into the main movie. Sometimes MPC-HC gets a bit confused and picks the wrong playlist by default. It's simple enough to open an MPLS. They're in your BD structure. It's MUCH quicker to find the MPLS of titles that don't automatically get picked up correctly than to convert it to m2ts.

is an MPLS a folder or a file?

SamuriHL
28th July 2010, 15:58
is an MPLS a folder or a file?

Look in your BDMV\PLAYLIST folder. It's a file. There's going to be tons of them in there, but, you can usually identify it with bdinfo or eac3to just running it on your bd folder.

dbone1026
28th July 2010, 16:10
Look in your BDMV\PLAYLIST folder. It's a file. There's going to be tons of them in there, but, you can usually identify it with bdinfo or eac3to just running it on your bd folder.

If you only plan on using MPC HC for BluRay playback you might as well just use Clown_BD to grab the main movie, that way you don't have to worry about multiple playlists or grabbing the wrong movie.

SamuriHL
28th July 2010, 16:12
If you only plan on using MPC HC for BluRay playback you might as well just use Clown_BD to grab the main movie, that way you don't have to worry about multiple playlists or grabbing the wrong movie.

That's a fair enough assessment.

zegames
28th July 2010, 16:19
Add files to Windows Media Player list, go to menu File > Save Playing List as.. and save all possible formats: Playlist1.asx, Playlist1.m3u, Playlist1.wpl

Now, try to open each one in MPC, only m3u format will work. Can someone confirm this 'bug'? or this is a normal behavior? I'm asking it, because in MPC options > Formats you can associate with several playlist formats, including all cited by me.

Other thing, saving playlist from MPC will result in a format similar to m3u (.mpcpl), except for the full path for files. Playlist generated by Windows Media Player will result in relative path, what is fantastic for use in any computer, good to send all files to flash drive. Good suggestion? Can be implemented?

tetsuo55
28th July 2010, 16:33
Can anyone confirm that on ATI, With Catalyst 10.7, SD resolution h264 DXVA does not work on MPC-HC but DOES work on VLC?

sneaker_ger
28th July 2010, 16:44
Can anyone confirm that on ATI, With Catalyst 10.7, SD resolution h264 DXVA does not work on MPC-HC but DOES work on VLC?

HD 5850, Win 7 x64, CAT 10.7
SD: artifacts in both players
HD: works fine in both players

oddball
28th July 2010, 17:11
OK all fixed again. Is there any way to use ffdshow processing on DXVA?

SamuriHL
28th July 2010, 17:13
I use ffdshow dxva on everything. Just add it in external filters and set it to preferred and uncheck the internal filters.

Keiyakusha
28th July 2010, 17:15
He probably wants to use ffdshow's postprocessing. No, not possible.

oddball
28th July 2010, 17:19
He probably wants to use ffdshow's postprocessing. No, not possible.

OK just checking. Works with CUDA and CoreAVC though so no biggie :)

JarrettH
28th July 2010, 19:02
I don't know how good an idea this is, I was trying to get dxva+dvds+evr+subtitles working last night to no avail, but I just ended up searching for some subtitles online instead. It would be neat if MPC could automate this somehow.

burfadel
28th July 2010, 19:29
Ok, here's an interesting question...

Most CPU's should be capable of handling HD h264 decoding correct? For DXVA decoding, obviously the CPU use will be very low as the decoding is done on the graphics card. What is the difference in the amount of electrical power consumed by the computer between DXVA deconding and CPU decoding.

Of course, I realise that this varies greatly with different system configurations, I'm just referring to a generalised scenario.

Keiyakusha
28th July 2010, 20:06
So, where is the question? About most CPUs? Everything with single core, old dual cores, some notebooks etc. can't play HD fine. Don't know if this is "most" or no.
Of course decoder should be taken into account. Some software decoders can be twice slower than others.

Power consumption may be lower if we talking about passively cooled low-end gpus. Otherwise it can be higher. Also CPUs always using some amount of power even if they do nothing. It may be twice lower than when they do some computing but you still should take this to account.

So, if CPU has no problems with decoding, most people don't need dxva.

crewxp
29th July 2010, 08:36
random quick question. is there any way to set mpc-hc to run in the background of the monitor, forced fullscreen? I know VLC has something like this, but it disables windows aero.

aka: So I can run a video as a 'wallpaper'

this would be a neat feature since dreamscape was discontinued.

crewxp
29th July 2010, 08:41
Just thought about this...(regarding my previous question)

If the feature is not built in mpc-hc, is there any way to launch a mpc-hc using command line options? (Launch it in fullscreen, on the back-most layer of the monitor, not always on top, and disable the toolbars (so the mouse doesnt activate them when it rolls over the mpc-hc)

Kado
29th July 2010, 22:09
@crewxp

Open MPC-HC
Help=>Command Line Switches

Don't know about "wallpaper mode" though.

aerodown
30th July 2010, 10:46
Hi,

Everytime my computer go to sleep mode and after wake up i open mpc-hc and go to mpc-hc toolbar and select File to open video mpc-hc will not responding. I try to kill the mpc-hc.exe process through task manager but cant and i cant even shutdown the windows it just stuck at Windows is shutting down.. so i have to force shutdown or force reboot the pc. Happen on mpc-hc 1.3.2099.0 that i download form xvidvideo.ru and i compile the latest 1.3.2163.0 still same. I think happen after i update windows, and the last windows update that i perform was kb2032276. before this i never have this problem. Anyone have this same problem ?

mpc-hc x86 1.3.2163.0
Windows 7 Ultimate x64 (fully update)
Nvidia Driver 258.96

XhmikosR
30th July 2010, 10:50
@aerodown: Try using another renderer like EVR.

SoLoR
30th July 2010, 11:34
OK here is my issue.

My ISP have IPTV over multicast. Im using udpxy (multicast to unicast coverter) to stream IPTV on my LAN. Udpxy just gives access to udp multicast streams over http protocol. Those streams are MPEG TS streams, using MPEG1/2 for SD channels and MPEG4/h264 for HD channels, audio is encoded in mp3 format (sometimes multichannel for different languages), there might also be teletext and multiple subtitles. I have m3u playlist made for this, but everytime i try to load it mpc-hc "stops responding". Also if i try to open single stream its same result. I assume MPC-HC currently just does not support that, so my question is if it ever will? At least basic playing functions (if not choosing different audio tracks and teletext) because currently im kinda forces to use VLC for IPTV and mpc-hc for everything else and in all honesty i dont like picture quality of VLC...

nevcairiel
30th July 2010, 12:11
MPC-HC isnt particularly happy with streamed mpeg streams. You could try using another MPEG Splitter and see if that helps.