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

tetsuo55
27th July 2009, 18:15
Then you should try with Haali Media Splitter, with MPEG-PS enabled.I see, it works if i prefer haali media splitter(AR).

None of the other splitters work if the video is VC1, but any random splitter will work if the video is MPEG2.

tetsuo55
27th July 2009, 18:27
please, find a reliable host for uploading svn stuff.
please, forget http://www.xvidvideo.ru, that site is terrible, doesn't support download managers & download resume.The MPC-HC team has no influence over alexins's site. We don't host SVN builds ourself, only what we consider to be stable builds.
We do trust alexins and recommend getting SVN builds from his site.

For me downloading from his site takes only a few seconds.

Warbucks81
27th July 2009, 18:29
please, find a reliable host for uploading svn stuff.
please, forget http://www.xvidvideo.ru, that site is terrible, doesn't support download managers & download resume.

I never have any issues downloading from his site.

tetsuo55
27th July 2009, 18:39
but i have, many others too.

Host of the IP: www.xvidvideo.ru
Host IP [?]: 89.169.23.153
IP country code: RU
IP address country: ip address flag Russian Federation
IP address state: Moscow City
IP address city: Moscow
IP address latitude: 55.7522
IP address longitude: 37.6156
ISP of this IP [?]: ZAO Infoline
Organization: INFOLINE
Local time in Russian Federation: 2009-07-27 21:36

please, no chinese, russian hosts.You should troubleshoot the connection issues with your ISP.

Casimir666
27th July 2009, 20:35
Third release candidate with a few fixes is available here :

32 bits (http://www.zshare.net/download/63243532593f468d/)
64 bits (http://www.zshare.net/download/6324357383070895/)

The1n
27th July 2009, 21:14
Third release candidate with a few fixes is available here :

32 bits (http://www.zshare.net/download/63243532593f468d/)
64 bits (http://www.zshare.net/download/6324357383070895/)

Great , any G45 fixes ?

The1n

Mercury_22
27th July 2009, 21:23
Third release candidate with a few fixes is available here :

32 bits (http://www.zshare.net/download/63243532593f468d/)
64 bits (http://www.zshare.net/download/6324357383070895/)

Any chance for the old VC-1 i bug to be solved before the final ? (none of the internal VC-1 filters can play VC-1 interlaced )

VC-1 interlaced sample (http://www.megaupload.com/?d=RE4ED8EP)

Casimir666
27th July 2009, 22:00
Great , any G45 fixes ?

The1n

sorry not yet

Snowknight26
27th July 2009, 22:29
Enabling subs in r1194 with 20 subs to buffer causes a pretty big pause:

http://i32.tinypic.com/4ie8vt.jpg

Tested it with 60, paused for almost a second. Test with 1 and there was no stutter at all.

tetsuo55
27th July 2009, 22:33
Enabling subs in r1194 with 20 subs to buffer causes a pretty big pause:

http://i32.tinypic.com/4ie8vt.jpg

Tested it with 60, paused for almost a second. Test with 1 and there was no stutter at all.the subtitle renderer is not being worked on, but needs a lot of love.

bran
28th July 2009, 07:31
please, find a reliable host for uploading svn stuff.
please, forget http://www.xvidvideo.ru, that site is terrible, doesn't support download managers & download resume.

Heh, download manager..? It's not exactly gigabyte file-sizes we're talking about here..

Takes <5secs on a modern connection.

clemdaddy
28th July 2009, 08:17
First post :)

No matter what settings i try, or build I use, I seem to get video corruption on any AVC encoded bluray. When I run the same movie through powerdvd, I don't have any problems.

I have a nvidia 8400gs. I have the PCI version of the card (not to be confused with the pci-express version - this was the only way I could squeeze out a few more years from my aging agp amd x2 3800+). I'm running winxp (SP2)

I'm using the standalone filters (build 1179). I get dvxa on all bluray codecs (vc1, avc, h.264 and mpeg2). As I mentioned above, AVC has video corruption.

Since I'm using the standalone filters, I have all internal filters turned off in mpc hc. Graphedit and the filter option in mpc hc confirm that i'm using the standalone filters. Graphedit also shows i don't have any other filters in between standalone filter and splitter.

Here are the details (you can see the video corruption in the capture below):

http://img27.imageshack.us/img27/5586/mpchcinfo.jpg

tetsuo55
28th July 2009, 08:20
Too bad you didn't read the last few posts

This build (with internal decoder): http://forum.doom9.org/showthread.php?p=1309066#post1309066 Should work.

clemdaddy
28th July 2009, 09:52
Too bad you didn't read the last few posts

This build (with internal decoder): http://forum.doom9.org/showthread.php?p=1309066#post1309066 Should work.

Yes! that worked! Are the standalone filters available yet?

thanks for the quick response.

tetsuo55
28th July 2009, 10:06
Yes! that worked! Are the standalone filters available yet?

thanks for the quick response.We will release them with the next stable release

tetsuo55
28th July 2009, 10:14
Would someone please test this sample, with RC3 on nvidia hardware:

http://dl1.armed-assault.de/videos/ARMA2-USMC-720p.mp4

Also does anyone have an anime sample, with extremly difficult animated subtitles? (preferably one that works on ATI DXVA)

alex_3d42
28th July 2009, 10:52
Would someone please test this sample, with RC3 on nvidia hardware:

http://dl1.armed-assault.de/videos/ARMA2-USMC-720p.mp4

The video is corrupted on my Nvidia 8800gt with 190.40beta drivers on Windows 7 x64.

http://img195.imageshack.us/img195/2480/corruptionmpc.jpg

aerodown
28th July 2009, 11:00
Would someone please test this sample, with RC3 on nvidia hardware:

http://dl1.armed-assault.de/videos/ARMA2-USMC-720p.mp4

Windows XP SP3
Nvidia GeForce 8600GT (Driver: 190.38)
Media Player Classic Homecinema RC3
Transform Filter: H264/AVC (DXVA)

http://img132.imageshack.us/img132/1313/arma2usmc720p.th.jpg (http://img132.imageshack.us/i/arma2usmc720p.jpg/)

neoufo51
28th July 2009, 11:04
Would someone please test this sample, with RC3 on nvidia hardware:

http://dl1.armed-assault.de/videos/ARMA2-USMC-720p.mp4

Also does anyone have an anime sample, with extremly difficult animated subtitles? (preferably one that works on ATI DXVA)
This is what I get using RC3 with EVR CP on a Win7x64 Notebook with an Nvidia GT 120M, latest WHQL drivers.

EDIT: The way it looks when I play it is like a very fast strobe effect: alternating between all green pixelization, very corrupted yet correctly colored picture, and perfect picture. It's weird to watch.

http://img145.imageshack.us/img145/4986/arma2usmc720pmp4thumbs2.th.jpg (http://img145.imageshack.us/i/arma2usmc720pmp4thumbs2.jpg/)

tetsuo55
28th July 2009, 11:12
Too bad :(

thanks for trying, lets hope the stream itself is corrupt, or that its a splitter problem.

Does it work with haali as the splitter?

neoufo51
28th July 2009, 11:15
Too bad :(

thanks for trying, lets hope the stream itself is corrupt, or that its a splitter problem.

Does it work with haali as the splitter?
Edit: never mind

Keiyakusha
28th July 2009, 11:18
On 8400gs/190.38/win7 32bit it doesn't works with original mp4 or muxed to mkv using internal splitter or haali, but it works when muxed to ts, using internal splitter or haali

marc99
28th July 2009, 11:28
Would someone please test this sample, with RC3 on nvidia hardware:

http://dl1.armed-assault.de/videos/ARMA2-USMC-720p.mp4

Also does anyone have an anime sample, with extremly difficult animated subtitles? (preferably one that works on ATI DXVA)

Remuxed to m2ts works perfectly.

Keiyakusha
28th July 2009, 11:42
After doing: original mp4 --> .ts (ts muxer) --> .mp4 (yamb) it works fine

tetsuo55
28th July 2009, 11:42
After doing: original mp4 --> .ts (ts muxer) --> .mp4 (yamb) it works fineSo we can be pretty sure it has been muxed incorrectly?

Keiyakusha
28th July 2009, 11:54
So we can be pretty sure it has been muxed incorrectly?

Don't know about "pretty", since neoufo51 said that it works for him with haali... but yes.

neoufo51
28th July 2009, 12:02
Don't know about "pretty", since neoufo51 said that it works for him with haali... but yes.
Sorry, I read that as Haali "as the renderer" for some reason. I now confirm your findings.

tetsuo55
28th July 2009, 12:04
Thanks for testing everyone, i am happy with the result.
The bug report about the sample has been closed.

stax76
28th July 2009, 17:36
The keyboard shortcuts feature is easily the worst I've ever seen, it's somehow understandable since working on DirectShow is more important. I'm still hoping at some time the UI improves, the C in MPC don't neccesary has to stand for Classic forever, at one time a more WMP/Win7 like UI could be added as additional option and the C in MPC could optionally stand for Contemporary.

I noticed recently that VirtualDub has a keyboard shortcuts feature very similar to the VisualStudio keyboard shortcuts feature allowing to search (filtering) and binding multiple shortcuts to the same target (very important for a player and yet not possible in MPC). Avery Lee being like Gabest one of the most respected low level programmer here with the difference he always ensures the UI lifes up to the same high quality standards then the low level features. It could be ported from VirtualDub.

The current implementation could be improved adding the possibility to learn the shortcut by entering it instead of going through the pain of using two different ComboBoxes. Another usability improvement could be adding groups to the ListView that could be collapsible on Vista or higher. I'm not sure if the collapsible option is available in detail mode but I guess yes, here is a codeproject article (http://www.codeproject.com/KB/list/ListViewGroupCollapsible.aspx).

Regarding UI on top of video, hovering mouse using Winspector (Spy++ like tool) shows Win 7 WMP uses transparent windows on top of the video, Zoom Player uses the same techique, this has some advantages over rendering the UI with DirectShow like media centers, most important OSD being independent from the renderer.

tetsuo55
28th July 2009, 18:06
Everyone with visual studio, microsoft had released a huge patch to adres a very serious security bug:

Visual Studio 2008 Service Pack 1 ATL Security Update
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=294de390-3c94-49fb-a014-9a38580e64cb

Unfortunately the end user runtimes are effected also.
You should uninstal the current ones completely and then install the new one:

2008
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=2051a0c1-c9b5-4b0a-a8f5-770a549fd78c

2005
http://www.microsoft.com/downloads/details.aspx?familyid=7C8729DC-06A2-4538-A90D-FF9464DC0197&displaylang=en

----------
The runtimes are now being distributed over windows update, not sure about msvc one though.

STaRGaZeR
28th July 2009, 18:43
Blu-ray MBAFF sample that shows corruption when using DXVA but not with software decoders: http://www.megaupload.com/?d=ZMWMFHRA (58MB)

Blu-ray sample that has several frames out of order in the middle, causes stuttering, clearly visible with Ctrl+J. Happens in other sources too: http://www.megaupload.com/?d=NATS7AZF (45MB)

Specs in sig, but using RC3 from Casimir.

jmnk
28th July 2009, 18:46
These are my CoreAVC settings and a screenshot of MPC with Ctrl+J: http://img190.imageshack.us/img190/9131/51400480.th.jpg (http://img190.imageshack.us/img190/9131/51400480.jpg)

I'll appreciate any recommendations and thanks in advance to everyone!
I'm sure this is explained somewhere - but I can't find where. The info and the graph that MPC shows with Ctr+J; where I could find the explanation of the meaning of these numbers? Any links would be greatly appreciated.

^^^^sorry to bump this question. Any pointers please?

ADude
28th July 2009, 19:34
Third release candidate with a few fixes is available here :

32 bits (http://www.zshare.net/download/63243532593f468d/)
64 bits (http://www.zshare.net/download/6324357383070895/)

Please do not make a stable release of MPC-HC until we have had a chance to test Beliyaal's code.

We cannot test Beliyaal's code until he returns and clarifies how the options work.

There have been unanswered questions for months.

Casimir666
28th July 2009, 19:55
Blu-ray MBAFF sample that shows corruption when using DXVA but not with software decoders: http://www.megaupload.com/?d=ZMWMFHRA (58MB)

Blu-ray sample that has several frames out of order in the middle, causes stuttering, clearly visible with Ctrl+J. Happens in other sources too: http://www.megaupload.com/?d=NATS7AZF (45MB)

Specs in sig, but using RC3 from Casimir.

Stuttering happen only in mixer mode, can you confirm?

Keiyakusha
28th July 2009, 20:02
Please do not make a stable release of MPC-HC until we have had a chance to test Beliyaal's code.

We cannot test Beliyaal's code until he returns and clarifies how the options work.

There have been unanswered questions for months.

I thought all questions was answered. Maybe I miss something but even if you don't know what some options do, it doesn't mean that release can't be stable. Maybe this is because my limited knowledge of English, but from your posts I get an impression that you just don't like Beliyaal. If something is very broken for you, why not just post some bugreports... if nothing is broken, then there is no point to delay stable release.

Casshern
28th July 2009, 20:13
Please do not make a stable release of MPC-HC until we have had a chance to test Beliyaal's code.

We cannot test Beliyaal's code until he returns and clarifies how the options work.

There have been unanswered questions for months.

For me and many others his code works... it seems to be mainly you who constantly complains. Maybe it does not work for you - that's fine. But do not prevent the majority from enjoying the benefits.

clsid
28th July 2009, 20:29
A GUI suggestion for a next release (after the upcoming one):

Also add the new renderer settings to the Options, as a sub-page of the current Output page. Then tooltips and/or a text field can be added with clarifications of the various options.


Have any goals been set for the near future?
There are several minor GUI tweaks like the one above that I can think of that would improve the general user experience.
Reducing the number of open items on the bugtracker could also be a goal. For example going from the 100+ now to lets say 80.

STaRGaZeR
28th July 2009, 21:31
Stuttering happen only in mixer mode, can you confirm?

I don't know what do you mean with mixer mode, I'm using EVR Custom, not VMR9. But in case you mean the custom presenter, the corruption and the frame disorder both happen with normal EVR too.

ADude
28th July 2009, 22:08
For me and many others his code works... it seems to be mainly you who constantly complains. Maybe it does not work for you - that's fine. But do not prevent the majority from enjoying the benefits.

In order for you to determine that the code works for you, you must know what the options do, so you can answer the questions that no one else can answer. Cool !

Here is a paste of my previous post:
Someone decided to incorporate the code before it was adequately explained.

We are hoping the settings can be technically
described, so that we can test them prior to a "stable" version release.

For example, I tried the new sync display. With "Vsync" unchecked in the Renderer settings, other settings will change the graph. There is no documentation on the graph, but perhaps it is just showing what the code would do if it is turned on ? I am assuming that unchecking "Vsync" in the Renderer settings turns off all of MPC-HC's Vsync code and allows the graphic card drivers to do the sync in whatever manner they have been set to do - is that correct ? There are different graph results with the 4 different combinations of "Vsync" and "Alternate Vsync" checked, for example.

STaRGaZeR
28th July 2009, 23:48
Beliyaal's code has problems, many of them (if not all) derivated from incorrect refresh rate detection. When it detects the correct one, almost everything works perfectly. However this does not happen on every computer everytime. Symptoms are stuttering, video playing at full speed, etc.

ranpha
29th July 2009, 01:37
For example, I tried the new sync display. With "Vsync" unchecked in the Renderer settings, other settings will change the graph. There is no documentation on the graph, but perhaps it is just showing what the code would do if it is turned on ? I am assuming that unchecking "Vsync" in the Renderer settings turns off all of MPC-HC's Vsync code and allows the graphic card drivers to do the sync in whatever manner they have been set to do - is that correct ? There are different graph results with the 4 different combinations of "Vsync" and "Alternate Vsync" checked, for example.

From my observation, 'VSync', 'Accurate VSync' and 'Alternative VSnyc' are different vsync algorithms Beliyaal has coded. This mean that unchecking 'VSnyc' mean only 'VSync' feature has been disabled and you can still choose 'Accurate VSync' or 'Alternative VSync' (which I believe is coded specially for ATI users, but I am lazy to dig out the info). What each algorithm do, I do not know because for me Beliyaal's most important contribution are the D3D GUI and subtitle engine enhancements (finally, KMPlayer has nothing on MPC-HC anymore) while the vsync codes are only solving problems I never have in Vista/7.

_xxl
29th July 2009, 06:56
@all
I''ll write a new opening post and I would like that know issues, bugs, info's about DXVA, Todo to be added to my post.

Kazuya
29th July 2009, 11:25
Hello XXL, and thanks for all your incredible job.

I was wondering what you think about make a new GUI more attractive for MPC-HC ?

At least a skin support, and a SWF file support.
:thanks:

Like KMP for example :

http://img179.imageshack.us/img179/773/clip6resize.jpg

tetsuo55
29th July 2009, 12:03
The keyboard shortcuts feature is easily the worst I've ever seen, it's somehow understandable since working on DirectShow is more important. I'm still hoping at some time the UI improves, the C in MPC don't neccesary has to stand for Classic forever, at one time a more WMP/Win7 like UI could be added as additional option and the C in MPC could optionally stand for Contemporary.

I noticed recently that VirtualDub has a keyboard shortcuts feature very similar to the VisualStudio keyboard shortcuts feature allowing to search (filtering) and binding multiple shortcuts to the same target (very important for a player and yet not possible in MPC). Avery Lee being like Gabest one of the most respected low level programmer here with the difference he always ensures the UI lifes up to the same high quality standards then the low level features. It could be ported from VirtualDub.

The current implementation could be improved adding the possibility to learn the shortcut by entering it instead of going through the pain of using two different ComboBoxes. Another usability improvement could be adding groups to the ListView that could be collapsible on Vista or higher. I'm not sure if the collapsible option is available in detail mode but I guess yes, here is a codeproject article (http://www.codeproject.com/KB/list/ListViewGroupCollapsible.aspx).

Regarding UI on top of video, hovering mouse using Winspector (Spy++ like tool) shows Win 7 WMP uses transparent windows on top of the video, Zoom Player uses the same techique, this has some advantages over rendering the UI with DirectShow like media centers, most important OSD being independent from the renderer.I know how you feel about this, the gui definately needs an update, and this updated gui should at least be just as fast as it is now.
I still think it would be great if you could join the team to get this ball rolling...

chiyuwang
29th July 2009, 12:31
Is there anyone who try to play 2 movies with DXVA 1.0 enabled?
When I play them nicely, like build graph -> run, there would not be any problem.
But when I do pause and seek several times, one of the movie will not play. seems that it is kind of stuck.

stax76
29th July 2009, 13:59
I still think it would be great if you could join the team to get this ball rolling...

It's not a goal I have but recently I started a little WTL project and I want to do at least one or two more little ones. This will improve my rather poor C++ knowledge and might increase my interest in MPC development.

tetsuo55
29th July 2009, 14:16
It's not a goal I have but recently I started a little WTL project and I want to do at least one or two more little ones. This will improve my rather poor C++ knowledge and might increase my interest in MPC development.Sounds good ;).

If you want to learn C++ quickly and fully (at least the theoretical part) i recommend reading these books (in order)
http://www.cprogramming.com/books.html

These books are written in such a way that you learn it really quickly and its based on learning through doing.
The 2nd book for example, has a lot of "find the bug(s) in this code" exercises.

Anyone who wants to learn C++ should read these books.

Mirabel
29th July 2009, 14:43
I was wondering what you think about make a new GUI more attractive for MPC-HC ?

At least a skin support, and a SWF file support.

Please no.

I prefer MPC as it's lightwight. I just want to watch videos, without any bloated library and stuff just for the eye. All coding/development should target the quality of media, not the look of the application itself. That's the way it is right now and that's the way which made MPC-HC to the outstanding player it is - superior quality instead of pleasing the eye with effects.

The only thing I'd want in this category would be more glass on Vista/7 - but that's really not important.

And I don't see why all media players should have skin support (most of those skins are ugly, besides). Does e.g. Microsoft Word have skins? No.

If you want the stuff you requested, just use KMP. You can install MPC and KMP on the same machine.

Or use WMP - it has skin support.

bugmenot2
29th July 2009, 14:44
Many thanks for mpc-hc. It's awesome.

One problem though: shaders don't work for me. When I enable one, it says 'shader: [name]' at the bottom, but I don't see any difference (while at least grayscale and invert should be visible). Suggestions are highly appreciated.

And another problem: some quicktime movies only work with QT Alternative (no dxga), and do not work when renamed to *.hdmov (mpc-hc changes into an audio player and only plays noise). E.g. try one of the 1080p trailers on http://www.apple.com/trailers/sony_pictures/thetakingofpelham123/

XP SP3, Radeon HD4550, Catalyst 9.6, mpc-hc 1.2.908.0 (and a build from SVN from last week), DXVA mode H.264 bitstream decoder, no FGT.

stax76
29th July 2009, 14:46
@tetsuo55

Thanks for the advice, I once bought a 21 C++ books package for 60€ at eBay and at least the half of them were very popular titles containing the three last titles of your list. Unfortunately I sold a few good ones since prices for them were high but still got enough and also have good bookmarks. It was a very good deal. :)