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

pankov
22nd June 2010, 22:48
ranpha,
as I wrote - I'm not able.
And so does Momber say a few posts up
http://forum.doom9.org/showthread.php?p=1410954#post1410954
Please, do try the sample I'm talking about and tell us if you have success

Peuj
22nd June 2010, 22:50
First preparations for supporting madVR's yet-to-come fullscreen exclusive mode. Thanks, Casimir.


Nice ;)

neoufo51
23rd June 2010, 00:28
720p resolution Video from the iPhone 4 is still causing crashes with MPC-HC version 2067.

I have an Nvidia GS8400 laptop and an Nvidia GT120M laptop, both running on Win7 with 195.xx drivers, and I'm experiencing crashes on both machines using EVR-CP, EVR Sync and the Haali Renderer when playing the following video from the iPhone 4 review posted by Engadget today.

Specifically I get a major crash whenever I switch from fullscreen to windowed mode, or windowed mode to fullscreen. It happens everytime.

http://stadium.weblogsinc.com/engadget/files/walking_around.mov

Perhaps this is just an Nvidia issue? Can anybody confirm?

EDIT: I'm getting the crash even when using the Overlay Mixer or MadVR. This specific video seems to crash the player no matter what.

ranpha
23rd June 2010, 04:05
ranpha,
as I wrote - I'm not able.
And so does Momber say a few posts up
http://forum.doom9.org/showthread.php?p=1410954#post1410954
Please, do try the sample I'm talking about and tell us if you have success

Yes, that Eurosport .ts play just fine here, unlike 2041 where even other my interlaced test video files.

Aleksoid1978
23rd June 2010, 04:52
720p resolution Video from the iPhone 4 is still causing crashes with MPC-HC version 2067.

I have an Nvidia GS8400 laptop and an Nvidia GT120M laptop, both running on Win7 with 195.xx drivers, and I'm experiencing crashes on both machines using EVR-CP, EVR Sync and the Haali Renderer when playing the following video from the iPhone 4 review posted by Engadget today.

Specifically I get a major crash whenever I switch from fullscreen to windowed mode, or windowed mode to fullscreen. It happens everytime.

http://stadium.weblogsinc.com/engadget/files/walking_around.mov

Perhaps this is just an Nvidia issue? Can anybody confirm?

EDIT: I'm getting the crash even when using the Overlay Mixer or MadVR. This specific video seems to crash the player no matter what.

Possible this is Nvidia issue - at Ati play fine with DXVA.

You have one or two monitor/tv connected to PC ???
If you have mote then one monitor - check this settings on "Output" page - "Reinitialize when changing display"(try uncheck).

G_M_C
23rd June 2010, 06:14
I've got a question about the audio-renders reported in the output tab.

I've installed/removed/reinstalled several cards; A Asus Xonar HDAV, a Ati 5770 and the on-board audio controller.At this point in time i only use the on-board audio.

But in the output-tab all the recently used audio-renderers are still reported, even though i defenately uninstalled all the drivers.

What can i do to get MPC-HT to only report the devices that are actually present in my system, and not just sum up all the devices that have had in my system ?

From the setup script, the procedure which is called if the user chooses yes in the question to remove the settings:

procedure CleanUpSettingsAndFiles();
begin
DeleteFile(ExpandConstant('{app}\*.bak'));
DeleteFile(ExpandConstant('{app}\{#mpchc_ini}'));
DeleteFile(ExpandConstant('{userappdata}\Media Player Classic\default.mpcpl'));
RemoveDir(ExpandConstant('{userappdata}\Media Player Classic'));
RegDeleteKeyIncludingSubkeys(HKCU, 'Software\Gabest\Media Player Classic');
RegDeleteKeyIncludingSubkeys(HKLM, 'SOFTWARE\Gabest\Media Player Classic');
RegDeleteKeyIfEmpty(HKCU, 'Software\Gabest');
RegDeleteKeyIfEmpty(HKLM, 'SOFTWARE\Gabest');
end;
I'm not sure if there's another key where this info is stored, but if there is let me know so I can add it in the installer script.

I've searched all over, and found only some left-over file-extention-errors and other minor faults in the registry. Cleaned up the registry, making shure all references to MPC and unused hardware were gone, and reinstalled MPC-HT again. Still the same same problem. I have no idea what to do next, or where to look.

PS: I've got my HD5770 back from RMA, and are back on the ATI HD audio + on-board for headphones/microphone.
So I'ts now only the Asus Xonar HDAV that's should not be reported anymore (cause its not there ;) )

BedtimeStory
23rd June 2010, 08:08
Build 2067: playback of interlaced H.264 using MPC video decoder still broken.
Yes, MPC_HC even in latest version in DXVA mode has trouble with handling h264 stream coded by x264 with --bff option (DXVA ffdshow due to same code too) - black screen issue, --tff is played well, divxh264 decoder in DXVA mode and ffdshow in software mode play it well in MPC_HC as well as MPC_HC in ffmpeg software mode. I have tested transcoded SD (PAL 50i) originally from DV camcorder. SplashLite cannot play testing file too (in software nor hardware mode). Tested on nVidia 8500GT (Vista32) and ATI HD4670 (WinXP32).

Selur
23rd June 2010, 12:00
Is there a way to keep the window borders when disabling 'View'->'Caption&Menu' in the newer versions ? (don't like the borderless look, especially if there are still some options enabled in the 'View' menu)

88keyz
23rd June 2010, 13:37
The built-in VP8 decoder for WebM content plays files with a screwed up aspect ratio. Check out the following sample to see what I mean.

big_buck_bunny_480p.webm (http://www.ioncannon.net/examples/vp8-webm/big_buck_bunny_480p.webm)

However, the file plays fine in MPC-HC if you have the WebM directshow filters (http://webm.googlecode.com/files/webmdshow-0.9.8.1-20100608.zip) installed.

hoborg
23rd June 2010, 16:24
Hi.
Since BBC HD moved from CBR to VBR, it is not possible to play it in MPC-HC any longer using internal DXVA decoder.
Sample here (http://www.watkinson.me/motd.rar).

PDVD10 DXVA decoder works, but have stuttering.

Win7 video DXVA decoder works without any problem.

Momber
23rd June 2010, 16:29
MPC_HC even in latest version in DXVA mode has trouble with handling h264 stream coded by x264 with --bff option
FWIW, I'm not talking about x264.
I'm talking about H.264 that I cap myself off BBC HD, as well as interlaced AVC video that's found on BluRay discs.

namaiki
23rd June 2010, 17:02
Hi.
Since BBC HD moved from CBR to VBR, it is not possible to play it in MPC-HC any longer using internal DXVA decoder.
Sample here (http://www.watkinson.me/motd.rar).

PDVD10 DXVA decoder works, but have stuttering.

Win7 video DXVA decoder works without any problem.

Seems to play fine with MPC-HC's internal DXVA decoder if Haali Media Splitter is being used. The internal software decoder seems to not play the sample for me.
Sample is MBAFF, whatever that means.

pankov
23rd June 2010, 21:03
Yes, that Eurosport .ts play just fine here, unlike 2041 where even other my interlaced test video files.
ranpha,
which splitter are you using?
I've just tried it again with MPC's one and it definitely doesn't play with MPC's Video decoder. On the other hand I use Haali's then it works with MPCVideoDec
!!??!
So does this mean it's a splitter error and the fix that was made in 2067 which at first allowed the detection of the H264 stream at all has a bug?

namaki, hoborg,
I confirm that with Halli splitter the file plays fine for me ... in software mode too. If I try to use MPC's splitter I get the same behavior as with my sample (from EurosportHD again in TS).

neoufo51
24th June 2010, 02:28
The built-in VP8 decoder for WebM content plays files with a screwed up aspect ratio. Check out the following sample to see what I mean.

big_buck_bunny_480p.webm (http://www.ioncannon.net/examples/vp8-webm/big_buck_bunny_480p.webm)

However, the file plays fine in MPC-HC if you have the WebM directshow filters (http://webm.googlecode.com/files/webmdshow-0.9.8.1-20100608.zip) installed.
I can confirm this issue with 2071.
Possible this is Nvidia issue - at Ati play fine with DXVA.

You have one or two monitor/tv connected to PC ???
If you have mote then one monitor - check this settings on "Output" page - "Reinitialize when changing display"(try uncheck).
No, I do not have a monitor connected to either of my laptops. I have that option enabled by default anyway.
Hi.
Since BBC HD moved from CBR to VBR, it is not possible to play it in MPC-HC any longer using internal DXVA decoder.
Sample here (http://www.watkinson.me/motd.rar).

PDVD10 DXVA decoder works, but have stuttering.

Win7 video DXVA decoder works without any problem.
I can confirm this issue as well with your sample. MPC-HC 2071 not only does NOT play the file, but it locks the player up entirely and I have to use the Win7 task manager to kill the player.

wiak
24th June 2010, 02:49
I can confirm this issue with 2071.

No, I do not have a monitor connected to either of my laptops. I have that option enabled by default anyway.

I can confirm this issue as well with your sample. MPC-HC 2071 not only does NOT play the file, but it locks the player up entirely and I have to use the Win7 task manager to kill the player.
thats file is broken, works fine with a encode i did here " http://s3.nwgat.net/sintel/sintel_trailer_480p_vp8_vorbis.webm ", check your muxer setting and/or encoder is set to 16:9

Aleksoid1978
24th June 2010, 05:24
The built-in VP8 decoder for WebM content plays files with a screwed up aspect ratio. Check out the following sample to see what I mean.

big_buck_bunny_480p.webm (http://www.ioncannon.net/examples/vp8-webm/big_buck_bunny_480p.webm)

However, the file plays fine in MPC-HC if you have the WebM directshow filters (http://webm.googlecode.com/files/webmdshow-0.9.8.1-20100608.zip) installed.

Possible bug with Aspect Ratio, here MediaInfo:

General
Complete name : D:\Download\big_buck_bunny_480p.webm
Format : Matroska
File size : 57.9 MiB
Duration : 9mn 56s
Overall bit rate : 814 Kbps
Writing application : Lavf52.64.0
Writing library : Lavf52.64.0

Video
ID : 1
Format : V_VP8
Codec ID : V_VP8
Width : 854 pixels
Height : 480 pixels
Display aspect ratio : 7.117

Audio
ID : 2
Format : Vorbis
Codec ID : A_VORBIS
Duration : 9mn 56s
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Bit depth : 16 bits

Display aspect ratio : 7.117 - not right.

neoufo51
24th June 2010, 06:05
Question for the devs: Will we ever be able to override aspect ratio with custom values or at least add more commonly used presets for that function?

The values I would like are:

16:10
2.21:1
2.35:1
2.39:1

ranpha
24th June 2010, 07:56
ranpha,
which splitter are you using?
I've just tried it again with MPC's one and it definitely doesn't play with MPC's Video decoder. On the other hand I use Haali's then it works with MPCVideoDec
!!??!
So does this mean it's a splitter error and the fix that was made in 2067 which at first allowed the detection of the H264 stream at all has a bug?


Yes, it is with Haali Media Splitter. I rarely use the internal splitters except AVI.

littleD
24th June 2010, 09:44
Question for the devs: Will we ever be able to override aspect ratio with custom values or at least add more commonly used presets for that function?

The values I would like are:

16:10
2.21:1
2.35:1
2.39:1

Use Numpad 8,2,4,6,5

namaiki
24th June 2010, 09:54
I don't know if there is an easier way at the moment, but you can edit the registy to get the results you want. :P

http://www.mediafire.com/file/qt5ey3cltzj/aspec.reg

eg: for 16:9

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Gabest\Media Player Classic\Settings]
"KeepAspectRatio"=dword:00000001
"AspectRatioX"=dword:00000010
"AspectRatioY"=dword:00000009


edit: remember to convert from decimal to hex, like I didn't in my reg file.
http://www.unitconversion.org/numbers/base-10-to-base-16-conversion.html

Momber
24th June 2010, 12:21
Seems to play fine with MPC-HC's internal DXVA decoder if Haali Media Splitter is being used.
From your signature I take it you're using an Nvidia GPU. I don't. My GPUs are ATi.
Different ballgame.

namaiki
24th June 2010, 12:38
From your signature I take it you're using an Nvidia GPU. I don't. My GPUs are ATi.
Different ballgame.

So, is this something that ATi needs to fix, or that the MPC-HC team needs to fix?

Momber
24th June 2010, 14:45
@namaiki - since DXVA playback of said interlaced H.264 files works perfectly with the Cyberlink decoder, the fault is clearly with MPC.

foxyshadis
24th June 2010, 22:52
I posted this as bug #536 (https://sourceforge.net/apps/trac/mpc-hc/ticket/536) earlier this week, but no work on it yet. I'm sure it'll come soon.

Can a dev take a look at the patch I posted? I'd like to get this fixed so that my autoselect works for English audio & subtitles muxed with mkvmerge 4, since MPC is incorrectly reporting them as "undetermined".

alexins
25th June 2010, 00:13
Media Player Classic HomeCinema (x86/x64), svn 2075 (http://www.xvidvideo.ru/media-player-classic-home-cinema-x86-x64/media-player-classic-homecinema-x86-x64-svn-2075.html)

Changes (2072-2075): (http://www.xvidvideo.ru/logi-izmeneniy/log-izmeneniy-media-player-classic-homecinema.html)

updated ffmpeg;
cosmetics;
Fix : Debug build;
Fix : temporary hack for use MPC Video Decoder to decode H.264 stream in .ts;
Fix ICL compilation.

Aleksoid1978
25th June 2010, 00:47
Can a dev take a look at the patch I posted? I'd like to get this fixed so that my autoselect works for English audio & subtitles muxed with mkvmerge 4, since MPC is incorrectly reporting them as "undetermined".

Upload short sample.

neoufo51
25th June 2010, 04:43
Use Numpad 8,2,4,6,5
But that doesn't actually change the aspect ratio...

Momber
26th June 2010, 23:12
Fix : temporary hack for use MPC Video Decoder to decode H.264 stream in .ts;
You're on the right track, now MPC plays back some of the H.264 streams it didn't before.
Unfortunately, the picture is full of artefacts so more work is needed ;)

GreenEyez
27th June 2010, 00:55
MPC-HC 1.3.2075.0.x86

When I rip the main title only of a DVD to a directory, the Rewind when done playing option doesn't work. Further, when playback has reached the end of the main title, it is not not possible to jump backward or to the previous chapter.

As a consequence, if Remember DVD position is also enabled, playback resumes at the very end of the title, and the only way to recover is with Navigate > Jump To > Title 1 or by temporarily disabling Remember DVD position, neither of which solutions are user friendly in an HTPC environment.

This occurs with main title DVD rips to a directory generated using both tcclone and DVDFab. It does not occur with full DVD rips to a directory or with rips to a file, such as an MKV.

I'd be very appreciative, if someone could fix the Rewind when done playing feature to work with main title DVD rips. Thank you very much. Best media player available anywhere at any price. :)

Keiyakusha
27th June 2010, 03:26
But that doesn't actually change the aspect ratio...
mmm? It does. 8 and 2 is what you need to change ar without cropping. pay attention to the status bar when you pressing buttons. Also I believe you can play with pan&scan presets.

Mangix
27th June 2010, 03:58
i'm gonna post this here since sourceforge is being epic fail for me right now.

i'd love to use the autochange feature of mpc-hc but for some strange reason, it won't see my custom refresh rates that i set in the nvidia control panel using its custom resolution feature. here's a screenshot to see what i mean.

http://img714.imageshack.us/img714/5463/clipboard01kz.png

windows sees the 75hz refresh rate but for some reason mpc-hc does not.

(*|*)
27th June 2010, 09:46
integrated ffdshow-t.

Snowknight26
28th June 2010, 05:42
Fix : temporary hack for use MPC Video Decoder to decode H.264 stream in .ts;
That change causes MPC-HC x64 to crash when opening cap from BBC2. With the 32-bit version, it opens it but corruption is visible when using DXVA. With DXVA off, it plays fine.

Aleksoid1978
28th June 2010, 06:56
That change causes MPC-HC x64 to crash when opening cap from BBC2. With the 32-bit version, it opens it but corruption is visible when using DXVA. With DXVA off, it plays fine.

Can you upload sample of this file ???

Snowknight26
28th June 2010, 07:11
http://stfcc.org/misc/bbc2.sample.ts - first 50,000,000 bytes.

Summary of all the issues that I'm having with this sample:
- 64-bit: MPC-HC crashes when H.264 DXVA is turned on
- 64-bit: Corruption/freezing in the beginning when DXVA is off
- 32-bit: Corruption in the beginning when DXVA is off (not there when DXVA is on)
- 32-bit: Corruption when seeking with DXVA turned off
- 32-bit: Corruption when playing (but not when seeking) with DXVA on
- Both: Strange framerate when playing (due to deinterlacing?) when DXVA is off. Plays at the correct speed but the weird framerate causes judder. According to the stats, it's playing at ~45-48fps.

Apart from one frame of corruption at the beginning, the Microsoft DTV-DVD Video Decoder plays the sample perfectly with DXVA (no corruption [even when seeking], correct fps [50]).

adam777
28th June 2010, 09:53
Hello all,
I've been using MPC-HC for quite some time now, and have recently switched back to x86 in order to use madVR, and all seemed well.
However, one thing did seem a bit "weird" and I could not quite understand what it was, until today it finally hit me - no OSD.
It seems that whatever I try, the OSD will not show, whether using madVR or EVR-CP.
Obviously, "Show OSD" is ticked, any ideas on anything else I should look at?
Thanks in advance, Adam.

namaiki
28th June 2010, 09:55
For one, I'm pretty sure the OSD will not show in MadVR. Besides that, run this: http://www.microsoft.com/downloads/details.aspx?FamilyID=2da43d38-db71-4c1b-bc6a-9b6652cd92a3&displaylang=en

adam777
28th June 2010, 10:23
For one, I'm pretty sure the OSD will not show in MadVR. Besides that, run this: http://www.microsoft.com/downloads/details.aspx?FamilyID=2da43d38-db71-4c1b-bc6a-9b6652cd92a3&displaylang=en

I seem to remember OSD working in madVR, but it doesn't work in EVR-CP as well.
Anyway, everything is up to date here, DirectX included.
Using MPC-HC x86 rev. 2080, FFDShow x86 (non-ICL11) rev. 3488 under Windows 7 x64.

namaiki
28th June 2010, 10:32
Are you talking about MPC-HC's OSD, or FFDShow's OSD?

MPC-HC's OSD will not display through MadVR.

adam777
28th June 2010, 10:39
MPC-HC's OSD, volume change, ctrl+I for time etc.

namaiki
28th June 2010, 10:42
Nah, that won't work with MadVR.

adam777
28th June 2010, 10:55
That's fine, but have you any idea why it won't show up in EVR-CP as well?

namaiki
28th June 2010, 11:03
did you run the dx installer?

adam777
28th June 2010, 11:06
Yep, everything is up to date, as expected.

namaiki
28th June 2010, 11:10
Dunno then, I'm using MPC-HC x86 rev. 2080, Windows 7 x64 as well. :/

adam777
28th June 2010, 11:12
Oh, well, using madVR anyway...
Might be worth investigating anyway for the greater good :)
Thanks, namaiki.

namaiki
28th June 2010, 11:15
I think it would need to be specifically implemented, like subtitle support for MPC-HC's internal subtitle renderer.

Aleksoid1978
29th June 2010, 02:33
I found a bug in the latest SVN 2089 build's internal FFmpeg H.264 software decoder while testing on an old secondary Athlon XP PC, XP SP3. SVN 2080's internal software decoder works fine.

2080
http://img96.imageshack.us/img96/3851/2080.png

2089, Macroblocking errors
http://img691.imageshack.us/img691/7729/2089.png

Upload a sample.

Aleksoid1978
29th June 2010, 03:20
I found a bug in the latest SVN 2089 build's internal FFmpeg H.264 software decoder while testing on an old secondary Athlon XP PC, XP SP3. SVN 2080's internal software decoder works fine.

2080
http://img96.imageshack.us/img96/3851/2080.png

2089, Macroblocking errors
http://img691.imageshack.us/img691/7729/2089.png

Fine play in software mode with internal H.264 decoder, no artefact.

Taurus
29th June 2010, 07:11
The bug only happens on Athlon XP. It does not happen on other PCs with more modern CPUs like Core 2 Duo/Quad or Core i3/5/7. And it happens with almost all the H.264 videos I've tested.
Right, I can confirm this. All H.264 are distorted.
SVN 3483 is doing fine. Corruption started with SVN 3488.