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

v0lt
7th January 2012, 14:06
Are there any goals left for 1.5.3? It would be nice to see more than one or two stable releases a year.
Use the r3920-r3922.The newer builds are not stable.

Keiyakusha
7th January 2012, 16:30
Are there any goals left for 1.5.3? It would be nice to see more than one or two stable releases a year. Last release was on 22-July 2011, for software that has daily updates the full releases are looking pretty stagnant.
Just curious, for you as a user, what will be different when so called "stable" release will go out?

fairchild
7th January 2012, 16:44
Just curious, for you as a user, what will be different when so called "stable" release will go out?

Well in my case hopefully bugs don't make it into said release. For instance in my case most newer builds that I've tried will hang and not close files properly while in full-screen with MadVR. I have to then do CTRL+ALT+DEL and kill the mpc-hc.exe file. Also it sometimes crashes when swapping to different files in a playlist.

The stable build 1.5.2.3456 is the only build that is rock-solid stable and doesn't have any issues.

Keiyakusha
7th January 2012, 16:48
Well in my case hopefully bugs don't make it into said release. For instance in my case most newer builds that I've tried will hang and not close files properly while in full-screen with MadVR. I have to then do CTRL+ALT+DEL and kill the mpc-hc.exe file. Also it sometimes crashes when swapping to different files in a playlist.

The stable build 1.5.2.3456 is the only build that is rock-solid stable and doesn't have any issues.

Well, yes. For stable release, one of the builds will be taken that doesn't seem to give new problems. But why it is so hard to pick this build by yourself and stick to it? Why the name "stable" matters so much? if there is some bugs that are not some regressions added in most recent revisions, they are not going to be magically fixed when you'll call it "stable"

Hera
7th January 2012, 19:25
Well, yes. For stable release, one of the builds will be taken that doesn't seem to give new problems. But why it is so hard to pick this build by yourself and stick to it? Why the name "stable" matters so much? if there is some bugs that are not some regressions added in most recent revisions, they are not going to be magically fixed when you'll call it "stable"

It is called getting the product to the masses, something that VLC does VERY well and MPC does not.

Keiyakusha
7th January 2012, 21:47
It is called getting the product to the masses, something that VLC does VERY well and MPC does not.
Understand. But do you think MPC-HC needs that? It is bad to be a project for limited audience? Especially when it is developed not for masses but to satisfy needs of the developers.

_xxl
7th January 2012, 22:18
Just 1 or 2 developers working on MPC-HC can't do much in very short time. This project needs new developers to deliver a better and stable media player.... with ffdshow the same situation .... maybe those 2 projects should sign for "Google Summer of Code" if possible, that's to be decided by the right people.

Hera
7th January 2012, 23:48
MPC needs larger exposure, a broader audience
This, in turn, can bring in potential developers

:)

ryrynz
8th January 2012, 00:25
Just curious, for you as a user, what will be different when so called "stable" release will go out?

It's really just about distribution, not everyone goes looking for nightlies or betas as mentioned by Hera.

Understand. But do you think MPC-HC needs that? It is bad to be a project for limited audience? Especially when it is developed not for masses but to satisfy needs of the developers.

Yes I do, which is why I mentioned it. MPC-HC isn't made for developers only, it's actually known as one of the best functioning most compatible players out there.
It may not be the flashiest thing about but it gets the job done and could really use a more active approach in new "stable" releases.

MPC needs larger exposure, a broader audience this, in turn, can bring in potential developers.

My thoughts exactly, egur's development in ffdshow actually made it to the front page on many news sites as an example and no doubt brought about more exposure. I think we can all agree that this is a good thing and it should be desired.

Just 1 or 2 developers working on MPC-HC can't do much in very short time. This project needs new developers to deliver a better and stable media player.... with ffdshow the same situation .... maybe those 2 projects should sign for "Google Summer of Code" if possible, that's to be decided by the right people.

An excellent idea xxl, anything to invigorate the life of these two products would be of great benefit to the community.

While I'm on the topic of improvements, can a nice developer please finally integrate the BE mod and make make an option to revert to the original theme?, I think everyone generally agrees it's a better UI.
We already have a few developers making BE versions, It's about time it got added to MPC officially and should be in the "stable" release.

IF it was integrated the playlist would have to match in color, also there's a bug with it not disappearing in fullscreen that been around since forever.

If there was to be a consolidated effort for a new release I believe it would be best if the version was updated to 2.0, It's about time to ditch the current legarthic version numbering for stable releases.
Again, this is to help stimulate MPC development and overall awareness.

Removing the majority or all of the internal filters which has been discussed and integrating LAV would be a good idea for 2.0 also as that's made quite some headway and isn't far off from primetime.

B.F.
8th January 2012, 02:50
Just want to ask.
There was an old patch for WASAPI exclusive mode.
http://forum.doom9.org/showthread.php?p=1332687#post1332687
Is it still there or it was trown away?

Remicade
8th January 2012, 13:34
Reclock works with MPC HC 64 bits ? The Reclock Audio Renderer doesn't show.

SamuriHL
8th January 2012, 13:50
Reclock is 32 bit only.

Sent from my Xoom using Tapatalk

Aleksoid1978
9th January 2012, 07:10
Just want to ask.
There was an old patch for WASAPI exclusive mode.
http://forum.doom9.org/showthread.php?p=1332687#post1332687
Is it still there or it was trown away?

Yes - MPCAudioRender can use WASAPI exclusive mode

_xxl
9th January 2012, 08:19
There is a bug that occurs only on my old AMD XP 2000+, on my newer PC no problem at all. Internal Avispitter crashes randomly .... Xvid + avi file.

v0lt
9th January 2012, 09:31
There is a bug that occurs only on my old AMD XP 2000+, on my newer PC no problem at all. Internal Avispitter crashes randomly .... Xvid + avi file.
Try the latest version:
r3948 (xvidvideo.ru) (http://www.xvidvideo.ru/media-player-classic-home-cinema-x86-x64/media-player-classic-homecinema-x86-x64-1-5-3-3948.html)
r3952 (http://www.mediafire.com/?xfgh33iws56bh)

Try to disable the internal audio decoder.

Aleksoid1978
9th January 2012, 10:50
There is a bug that occurs only on my old AMD XP 2000+, on my newer PC no problem at all. Internal Avispitter crashes randomly .... Xvid + avi file.

Try to detect in what version begin bug. Try disable internal Avi splitter and(or) Mpeg Audio Decoder.

Where you download svn build ??? Can run with /minidump key - and upload a dump file.

sillKotscha
10th January 2012, 17:53
ahoj,

unfortunately its not possible to play the following avi file "out-of-the-box" ...

http://www.megaupload.com/?d=16CMVCAY

fourCC = IV32


[ About file ]

Name: MODE.AVI
Date: 14/11/1995 15:56:02
Size: 6,274,476 bytes (5.984 MB)

[ Generic infos ]

Play duration: 00:00:55 (54.806318 s)
Container type: AVI
Number of streams: 2
Type of stream nr. 0: video
Type of stream nr. 1: audio
Audio streams: 1
JUNK: J)

[ Relevant data ]

Resolution: VERY LOW (268 x 200)
Width: multiple of 4 (16 would be better)
Height: multiple of 8 (16 would be better)

[ Video track ]

FourCC: iv32/IV32
Resolution: 268 x 200
Frame aspect ratio: 67:50 = 1.34 (~4:3)
Pixel aspect ratio: 1:1 = 1
Display aspect ratio: 67:50 = 1.34 (~4:3)
Framerate: 12.078899 fps
Number of frames: 662
Delay: 0 ms

[ Audio track ]

Audio tag: 0x1 (PCM)
Bitrate (container): 88.2 kbps CBR
Channels (container): 1
Sample rate (container): 11025 Hz
Delay: 0 ms

[ About MS-MPEG4 encoding ]

Packed bitstream: No
QPel: No
GMC: No
Interlaced: No
Aspect ratio: Square pixels
Quant type: H.263


would it be possible to play the file without installing additional software (currently LAV is installed "on top")?

I have a handful of such files... old GDR advert spots :D

v0lt
10th January 2012, 19:42
fourCC = IV32
This is a very old format, now it is not used.
Use ffdshow or LAV Video.

sillKotscha
10th January 2012, 19:44
This is a very old format, now it is not used.
Use ffdshow or LAV Video.


would it be possible to play the file without installing additional software (currently LAV is installed "on top")?

thank you for reading ...

cafevincent
10th January 2012, 21:21
I'm getting a green screen with 4K HD (mp4) videos downloaded from youtube. The audio plays fine and I have no control over my computer, not even ctrl-alt-del works until the playback ends (audio stops). Then I can ctrl-alt-del.

I have a Radeon 5850/512mb ram and Windows 7 with 8gb ram. MPC-HC settings are pretty much default, set to dxva.

Aleksoid1978
11th January 2012, 00:56
I'm getting a green screen with 4K HD (mp4) videos downloaded from youtube. The audio plays fine and I have no control over my computer, not even ctrl-alt-del works until the playback ends (audio stops). Then I can ctrl-alt-del.

I have a Radeon 5850/512mb ram and Windows 7 with 8gb ram. MPC-HC settings are pretty much default, set to dxva.

What version MPC-HC ???
What Video decoder ???

cafevincent
11th January 2012, 07:08
What version MPC-HC ???
What Video decoder ???

1.5.2.3456
Not sure about the decoder or how to check it. As I said I have pretty much default settings in mpc-hc (internal filters as is) but I have installed shark007 pack (default settings) for thumbnail purposes and under H264 it says "do not use FFDshow", "use MPC-HC codec", "in directshow players use LAV codec" and under MP4 "use LAV's splitter" are selected. MMG shows the testfiles being avc1 with mp4a audio (mp4 container). I do get thumbnails for the them in explorer.

edit: I didn't change any settings in MPC or Shark but now I get video (wtf?) but not at full speed. Audio has gabs in playback probably because video seems to have trouble keeping up to speed. CPU (sandy bridge i5 2500) is at 25%. The video is at a 550mb/s SSD so it's not a read speed bottleneck.

LigH
11th January 2012, 12:54
@ sillKotscha: Long time no see! :D

@ IV32: Long time no see - as well... :p — intel Indeo Video 3.2 possibly deserves to be deprecated.

Luyten
11th January 2012, 13:05
latest svn 1.5.3.3958 x64 seem crashing with hi10p videos (x86 version works fine)...

v0lt
12th January 2012, 15:54
r3961 (http://www.xvidvideo.ru/media-player-classic-home-cinema-x86-x64/media-player-classic-homecinema-x86-x64-1-5-3-3961.html)
Fix : x64 crash on hi10p video, update libav;

Luyten
12th January 2012, 17:07
r3961 (http://www.xvidvideo.ru/media-player-classic-home-cinema-x86-x64/media-player-classic-homecinema-x86-x64-1-5-3-3961.html)
Fix : x64 crash on hi10p video, update libav;

Great! :thanks:

kasper93
13th January 2012, 22:39
If you're updating copyright year, you could change AUTHORS to Authors.txt too. But it's only cosmetics.

ADude
14th January 2012, 22:58
Some good work done over the past months.

My main hard drive died and I reinstalled Vista clean on a new SSD (since hard drives are still expensive), and I then installed MPC-HC stable (3456) with no external anything.... and all my files that I tested play just fine. MKVs and AVIs, default subtitles work fine, and even have black borders around the white lettering by default. The only things I had to change from default were to use "EVR Sync" instead of "EVR CP" and "open files in fullscreen" (the latter being just personal preference).

So, thanks to all the devs and volunteers who have tweaked all of these details for months. I think that the hours I've spent reporting bugs and reading this thread, has been well invested... I hope the program does not disappear in favor of some new "flavor of the month".

Superb
15th January 2012, 06:17
My main hard drive died and I reinstalled Vista cleanVista? For real? :P

Midzuki
15th January 2012, 09:46
Vista? For real? :P

If it's not broken, don't try to fix it ;)

nevcairiel
15th January 2012, 10:06
If it's not broken, don't try to fix it ;)

But it did break, together with the harddrive. :D

Midzuki
15th January 2012, 15:23
But it did break, together with the harddrive. :D

No problem, Windows 7 and Windows 8 will also break, sooner than you expect :devil: :p

[ / End Of Vista-bashing OTs ;) ]

Aleksoid1978
17th January 2012, 04:15
Hi all. Test DXVA VC1 I and P playback with internal DXVA decoder - http://aleksoid.tosei.ru/Test/mpc-hc.vc1%5bI%5dtest_2.7z

wanezhiling
17th January 2012, 06:15
win7 x86
m hd4650
CCC 12.1

http://i.imgur.com/v8ACe.png
vc1 i ts

http://i.imgur.com/grxQO.png
vc1 i avi

Fine.:)

Snowknight26
17th January 2012, 06:17
Works well for all interlaced and progressive samples I tried with my Radeon 6870 on Windows 7.

One thing I noticed, though, was that the beginning of most VC-1 streams showed green frames/macroblocks (only when using DXVA), such as in the following samples:
http://stfcc.org/misc/VC-1i.sample1.mkv
http://stfcc.org/misc/VC-1i.sample2.mkv

Aleksoid1978
17th January 2012, 06:32
Works well for all interlaced and progressive samples I tried with my Radeon 6870 on Windows 7.

One thing I noticed, though, was that the beginning of most VC-1 streams showed green frames/macroblocks (only when using DXVA), such as in the following samples:
http://stfcc.org/misc/VC-1i.sample1.mkv
http://stfcc.org/misc/VC-1i.sample2.mkv

Very short sample - need biggest. But - on this sample i don't have green frames/macroblocks.

nevcairiel
17th January 2012, 07:53
Stealing my VC1i fixes, are we? :p

Aleksoid1978
17th January 2012, 09:09
Stealing my VC1i fixes, are we? :p

Yea :)
Yes - I took the part of your code in ffmpeg and adapted to the code of MPC VC1 DXVA decoder.

Mercury_22
17th January 2012, 09:34
The green screen (http://i.imgur.com/yXNV6.png) only appears when you start to play the file from the beginning, if you start to play the file from any other point in time there's no green screen

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

P.S. Do I understand correctly that at this point in time MPC-HC's internal DXVA is faster than Nev's DXVA ?

Aleksoid1978
17th January 2012, 09:39
P.S. Do I understand correctly that at this point in time MPC-HC's internal DXVA is faster than Nev's DXVA ?

I don't know. Not measured the rate of - for me it does not matter.

nevcairiel
17th January 2012, 09:46
Its probably faster on AMD/ATI because it doesn't copy the frames back to the CPU, however it also only works with EVR. :)

btw, the green screen issue doesn't happen with LAV, or does it? :)

Mercury_22
17th January 2012, 09:54
Its probably faster on AMD/ATI because it doesn't copy the frames back to the CPU, however it also only works with EVR. :)

btw, the green screen issue doesn't happen with LAV, or does it? :)
No it doesn't ;)
With LAV the same ~1sec it's black
It's the beginning of (any ? VC1i ) file that is black with LAV and green with MPC-HC

Aleksoid1978
17th January 2012, 09:57
No it doesn't ;)
With LAV the same ~1sec it's black
It's the beginning of (any ? VC1i ) file that is black with LAV and green with MPC-HC

I think - we have green screen at begin only on Ati, on my GTX 460 no green, ~1sec it's black at you sample.

Mercury_22
17th January 2012, 10:09
I think - we have green screen at begin only on Ati, on my GTX 460 no green, ~1sec it's black at you sample.

Quite possible since Snowknight has a Radeon 6870

P.S. But it's still a MPC-HC decoder bug since with lav there's no green screen

EDIT IIRC you've fixed something similar for MPC-HC's h264(i) on ATI no?

dbcooper
17th January 2012, 10:22
It's really just about distribution, not everyone goes looking for nightlies or betas as mentioned by Hera.



Yes I do, which is why I mentioned it. MPC-HC isn't made for developers only, it's actually known as one of the best functioning most compatible players out there.
It may not be the flashiest thing about but it gets the job done and could really use a more active approach in new "stable" releases.



My thoughts exactly, egur's development in ffdshow actually made it to the front page on many news sites as an example and no doubt brought about more exposure. I think we can all agree that this is a good thing and it should be desired.



An excellent idea xxl, anything to invigorate the life of these two products would be of great benefit to the community.

While I'm on the topic of improvements, can a nice developer please finally integrate the BE mod and make make an option to revert to the original theme?, I think everyone generally agrees it's a better UI.
We already have a few developers making BE versions, It's about time it got added to MPC officially and should be in the "stable" release.

IF it was integrated the playlist would have to match in color, also there's a bug with it not disappearing in fullscreen that been around since forever.

If there was to be a consolidated effort for a new release I believe it would be best if the version was updated to 2.0, It's about time to ditch the current legarthic version numbering for stable releases.
Again, this is to help stimulate MPC development and overall awareness.

Removing the majority or all of the internal filters which has been discussed and integrating LAV would be a good idea for 2.0 also as that's made quite some headway and isn't far off from primetime.

Further to this post, contributing to the following discussion by the mozilla Firefox devs, on whether to consider doing color space conversions and color management on the GPU, might bring some nice attention to the MPC-HC project.

https://groups.google.com/d/msg/mozilla.dev.platform/9JZhTxGlG8k/8s538TGvF8cJ

Aleksoid1978
17th January 2012, 10:31
Quite possible since Snowknight has a Radeon 6870

P.S. But it's still a MPC-HC decoder bug since with lav there's no green screen

EDIT IIRC you've fixed something similar for MPC-HC's h264(i) on ATI no?

I don't have Ati ... sorry.

betaking
17th January 2012, 10:51
To:Mercury_22, you must know If ATI's drivers DXVA decoder on the case of a problem than the NVIDIA or INTEL's even more!

Aleksoid1978
17th January 2012, 11:32
Quite possible since Snowknight has a Radeon 6870

P.S. But it's still a MPC-HC decoder bug since with lav there's no green screen

EDIT IIRC you've fixed something similar for MPC-HC's h264(i) on ATI no?

Try this - http://aleksoid.tosei.ru/Test/mpc-hc_vc_test_2.7z

Mercury_22
17th January 2012, 12:25
Try this - http://aleksoid.tosei.ru/Test/mpc-hc_vc_test_2.7z

No change

aufkrawall
17th January 2012, 14:30
There's a bug in some of the latest versions, for some videos the FPS are more than doubled, e.g. with Theora Big Buck Bunny.

Doesn't happen with videos that are decoded with DXVA, it seems.

Edit: Another issue: It can't play 5.1 Vorbis audio.
Download a legal sample here:
http://www.mediafire.com/?2o3ccy1qnyyfddk