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
13th April 2011, 09:33
The minimum requirements for MPC-HC are: An SSE2 or better CPU, DEP enabled and Windows XP3 or newer.

Its fairly easy to modify the MPC-HC files so it becomes compatible with older hardware and even win2k. These changes are not supported and at least on win2k are known to cause crashes.

About the Vs2008 probleems, we have had the 2008 compile option in maintenance mode for a while now.
We are considering stopping support for it completely (but like above anyone can still maintain the vs2008 solution locally)

Are there any active dev's that currently can not use vs2010?

nevcairiel
13th April 2011, 10:20
Maybe the whole MPC-HC project is simply too big (with all the internal filters and stuff) for my old development PC. Developing madVR with MSVC++ 2005 is really quick, though.

MPC-HC is indeed too big to really open quickly. My development PC is however very powerful, and after opening (which isn't that bad on this machine), its perfect. I also like the new GUI of 2010, combined with the IntelliSense improvements from Visual Assist X.

You can at least disable the auto-completion and suggestions, i don't think it'll disable the parsing, but at least once its open and done parsing, it shouldn't keep you waiting anymore.

http://msdn.microsoft.com/en-us/library/ecfczya1.aspx
Additionally whats listed there, in the Advanced folder under the language folder there is also a "Disable IntelliSense" option, which might even disable all parsing and updating. Can also disable the code browsing database which will again give you more performance if you don't use that feature.

For building taking long, well, its just a huge project.
My own projects are building fairly quickly, unless i invoke a complete re-build of all base classes that never change.
For some reason MPC-HC wants to rebuild quite a lot of code way too often - something funny in the project setup, i figure.

madshi
13th April 2011, 11:20
MPC-HC is indeed too big to really open quickly. My development PC is however very powerful, and after opening (which isn't that bad on this machine), its perfect. I also like the new GUI of 2010, combined with the IntelliSense improvements from Visual Assist X.

You can at least disable the auto-completion and suggestions, i don't think it'll disable the parsing, but at least once its open and done parsing, it shouldn't keep you waiting anymore.

http://msdn.microsoft.com/en-us/library/ecfczya1.aspx
Additionally whats listed there, in the Advanced folder under the language folder there is also a "Disable IntelliSense" option, which might even disable all parsing and updating. Can also disable the code browsing database which will again give you more performance if you don't use that feature.
Thanks, it was worth a try, but it didn't change or speed up anything for me, unfortunately... :(

betaking
13th April 2011, 11:30
The minimum requirements for MPC-HC are: An SSE2 or better CPU, DEP enabled and Windows XP3 or newer.

Its fairly easy to modify the MPC-HC files so it becomes compatible with older hardware and even win2k. These changes are not supported and at least on win2k are known to cause crashes.

About the Vs2008 probleems, we have had the 2008 compile option in maintenance mode for a while now.
We are considering stopping support for it completely (but like above anyone can still maintain the vs2008 solution locally)

Are there any active dev's that currently can not use vs2010?

OK.Next month i will re-install the system and install vs2010sp1 !

namaiki
13th April 2011, 12:23
What's that DXVA and has anybody been able to use it with Radeon HD-3870 and newest DirectX 10 for it.

I did see the DXVA symbol only with 64 bit MPC-HC, but video was messed up with that.

Not supported for lossless and for most things with resolution higher than 1920x1080.
Make sure to test with the latest ATi/AMD Catalyst if you want to use it.

hopstiii
13th April 2011, 12:39
Not supported for lossless and for most things with resolution higher than 1920x1080.
Make sure to test with the latest ATi/AMD Catalyst if you want to use it.

Oo okey good to know. Will it give smoother fps, or what's it good for. Also i have 8Gb of memory can i pre decode large amount of video to memory as uncompressed for perfect fps, lets say 1000 frames @ 720p.
X264 runs smooth but not ideal, DVD is much more like water in creek.

namaiki
13th April 2011, 12:49
Will it give smoother fps, or what's it good for.

X264 runs smooth but not ideal

What is your CPU and what non-DXVA decoder were you using?

If your CPU is lowly, DXVA will allow your GPU to decode the video instead of your GPU. It may or may not be faster at decoding than your CPU.

nevcairiel
13th April 2011, 12:56
OAlso i have 8Gb of memory can i pre decode large amount of video to memory as uncompressed for perfect fps, lets say 1000 frames @ 720p.

Frames decoded with DXVA in MPC-HC cannot use your system memory, only the graphics memory.

hopstiii
13th April 2011, 15:31
What is your CPU and what non-DXVA decoder were you using?

If your CPU is lowly, DXVA will allow your GPU to decode the video instead of your GPU. It may or may not be faster at decoding than your CPU.

I used haali renderer, i think ffdshow icon comes up when video is playing.

CPU is C2D e4500 2,2GHz, video is smooth but not allways it might benefit by buffering more raw data into memory, because CPU use for decoding is 30-45 %, obviously it must go over 100% if fps isn't constant.

I can see the player isn't using memory "atall", is there way to add option to player to specify buffer me raw frames:
512MB, 1024MB, 2048MB and so on. Homeuser motherboards can take 8 12 24 GB of memory. The 4GB ddr3 models are much cheaper than the ddr2's used to be.

constant frame rate is really good feature :)

namaiki
13th April 2011, 15:37
CPU is C2D e4500 2,2GHz, video is smooth but not always

CPU use for decoding is 30-45%


Open a video in MPC-HC. You can check what decoders are being used in the menu: Play-> Filters. If ffdshow is being used, make sure that you are using the ffmpeg-mt decoder for H.264 in 'Codecs.'

For now, to test your CPU limitation, please test with EVR-CP and check the Ctrl+J graph.

The graph should be consistent. If the green line goes up like a mountain, you can say that the video is not being decoded fast enough.

Please play the video and post a screenshot of the Ctrl+J graph where you feel the video is smooth and not smooth.

ceb
13th April 2011, 16:22
I'm using version 1.5.2.3026 and EVR CP doesn't work, I get a black screen with only audio, if I switch to EVR Sync it works fine. This is similar to the problem I have when enabling DXVA (black screen with only audio but it seems to flash a little), although I wouldn't use DXVA anyway with my CPU.
It worked fine before the format and now it doesn't. I have the exact same hardware/software as before. Can someone help me?
By the way, should I use EVR Sync or CP for best quality? The only thing I do is use Sharpen Complex 2 and changing the resizer to Bicubic A=-0.60 (PS 2.0).
Thanks.

Some details:
Intel Core i5 2500
ATI 5770 with 11.3 Catalyst (driver only version)
Windows 7 SP1 64-bit
MPC-HC 1.5.2.3026 x64 BE mod (with installer)
DirectX 9 updated
video formats: mp4, mkv and avi

hopstiii
13th April 2011, 16:34
Open a video in MPC-HC. You can check what decoders are being used in the menu: Play-> Filters. If ffdshow is being used, make sure that you are using the ffmpeg-mt decoder for H.264 in 'Codecs.'

For now, to test your CPU limitation, please test with EVR-CP and check the Ctrl+J graph.

The graph should be consistent. If the green line goes up like a mountain, you can say that the video is not being decoded fast enough.

Please play the video and post a screenshot of the Ctrl+J graph where you feel the video is smooth and not smooth.

I think the BR-rips 720p MKV's play smoother with DXVA than on CPU. Also the cpu use is 20-25%, with haali it's 50% and jumps really high when i seek.

Now i think the only thing that run worse on DXVA than haali was two pass x264 encode with very high bitrate 40960 kbit/s (5MB/s).

http://static3.nagi.ee/i/p/723/20/180802079c8528_o.jpg

http://static3.nagi.ee/i/p/723/20/18080201ac3516_o.jpg
Where can i get that? Why it's not in Win update?

namaiki
13th April 2011, 16:43
Is that image of the graph when the video is looking smooth, or not smooth?

DirectX Runtime: http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=direct+x+runtime#hl=en&safe=off&sa=X&ei=acSlTYyRH4aIvgOVxNiXCg&ved=0CBIQBSgA&q=directx+runtime&spell=1&bav=on.2,or.r_gc.r_pw.&fp=384aef4afa8e1652

When you play using Haali's Renderer, what's in the menu: Play-> Filters?

hopstiii
13th April 2011, 17:06
Is that image of the graph when the video is looking smooth, or not smooth?

DirectX Runtime: http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=direct+x+runtime#hl=en&safe=off&sa=X&ei=acSlTYyRH4aIvgOVxNiXCg&ved=0CBIQBSgA&q=directx+runtime&spell=1&bav=on.2,or.r_gc.r_pw.&fp=384aef4afa8e1652

When you play using Haali's Renderer, what's in the menu: Play-> Filters?

It looks ideally smooth with such graph, when i seek video then few sec its not soo smooth.

Oo yes the haali is not smooth atall. I can turn it on only in 32bit MPC-HC. There is also off aligned pixel/pixture block lines in video (didn't get it on screenshot but when video is playing its visible)

My cpu and int audio can't handle 7.1 192kHz 24bit. Especially when video only takes 60%. Then cpu gets full. Now i don't have such video with 7.1 orig audio to benchmark the DXVA which feature is new for me. But i belive DXVA is perfect for that.

That's haali.
http://static3.nagi.ee/i/p/723/21/18080395c9bd6b_o.jpg

namaiki
13th April 2011, 17:11
Hmm... Both MPC Video Decoder and ffdshow Video Decoder are appearing in the Filters menu. Is ffdshow set to decode, or just to post process? The latter would be very inefficient.

hopstiii, please idle in the MPC-HC IRC channel. http://webchat.freenode.net/?channels=mpc-hc
I'll have a chat with you some time and get this stuff fixed up.. :P

Qaq
13th April 2011, 17:16
hopstiii, your display is set to 60Hz and video is 24. You have to set your display 1:1 (or 2:1) matched to video.

renq
13th April 2011, 17:23
What's that DXVA and has anybody been able to use it with Radeon HD-3870 and newest DirectX 10 for it.

I did see the DXVA symbol only with 64 bit MPC-HC, but video was messed up with that.

http://static3.nagi.ee/i/p/722/25/180563530fdb33_o.jpg

HD3000-series has some limitations on the UVD decoder, for instance, it can't decode H264 Level5/5.1 (with high RefFrames)

hopstiii
13th April 2011, 17:42
Does it help?

MPC is also in filters menu with DXVA

MPC
Filter : MPC Video Decoder - CLSID : {008BAC12-FBAF-497B-9670-BC6F6FBAE2C4}

- Connected to:

CLSID: {0A68C3B5-9164-4A54-AFAF-995B2FF0E0D4}
Filter: F:\Filmid\Virgin Territory (2007) 720p.mkv
Pin: English (Video 1)

- Connection media type:

Video: MPEG4 Video (H264) 1280x696 24.00fps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: Unknown GUID Name {31435641-0000-0010-8000-00AA00389B71}
formattype: FORMAT_MPEG2_VIDEO {E06D80E3-DB46-11CF-B4D1-00805F6CBBEA}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 166

VIDEOINFOHEADER:
rcSource: (0,0)-(0,0)
rcTarget: (0,0)-(0,0)
dwBitRate: 0
dwBitErrorRate: 0
AvgTimePerFrame: 416666

VIDEOINFOHEADER2:
dwInterlaceFlags: 0x00000000
dwCopyProtectFlags: 0x00000000
dwPictAspectRatioX: 160
dwPictAspectRatioY: 87
dwControlFlags: 0x00000000
dwReserved2: 0x00000000

MPEG2VIDEOINFO:
dwStartTimeCode: 0
cbSequenceHeader: 34
dwProfile: 0x00000064
dwLevel: 0x00000029
dwFlags: 0x00000004

BITMAPINFOHEADER:
biSize: 40
biWidth: 1280
biHeight: 696
biPlanes: 1
biBitCount: 24
biCompression: AVC1
biSizeImage: 0
biXPelsPerMeter: 0
biYPelsPerMeter: 0
biClrUsed: 0
biClrImportant: 0

pbFormat:
0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0020: 00 00 00 00 00 00 00 00 9a 5b 06 00 00 00 00 00 ........š[......
0030: 00 00 00 00 00 00 00 00 a0 00 00 00 57 00 00 00 ........*...W...
0040: 00 00 00 00 00 00 00 00 28 00 00 00 00 05 00 00 ........(.......
0050: b8 02 00 00 01 00 18 00 41 56 43 31 00 00 00 00 .......AVC1....
0060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0070: 00 00 00 00 22 00 00 00 64 00 00 00 29 00 00 00 ...."...d...)...
0080: 04 00 00 00|00 19 67 64 00 29 ac 34 e6 01 40 16 ......gd.)4ę.@.
0090: 7e 58 40 01 96 e6 c0 4c 4b 40 23 c6 0c 66 80 00 ~X@.–ęĄLK@#Ę.f€.
00a0: 05 68 ee b2 c8 b0 .hīČ



Haali
Filter : Haali Video Renderer - CLSID : {760A8F35-97E7-479D-AAF5-DA9EFF95D751}

- Connected to:

CLSID: {04FE9017-F873-410E-871E-AB91661A4EF7}
Filter: ffdshow Video Decoder
Pin: Out

- Connection media type:

Video: 1280x696 24.00fps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_RGB32 {E436EB7E-524F-11CE-9F53-0020AF0BA770}
formattype: FORMAT_VideoInfo2 {F72A76A0-EB0A-11D0-ACE4-0000C0CC16BA}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 3563520
cbFormat: 112

VIDEOINFOHEADER:
rcSource: (0,0)-(0,0)
rcTarget: (0,0)-(1280,696)
dwBitRate: 0
dwBitErrorRate: 0
AvgTimePerFrame: 416666

VIDEOINFOHEADER2:
dwInterlaceFlags: 0x00000081
dwCopyProtectFlags: 0x00000000
dwPictAspectRatioX: 160
dwPictAspectRatioY: 87
dwControlFlags: 0x00000000
dwReserved2: 0x00000000

BITMAPINFOHEADER:
biSize: 40
biWidth: 1280
biHeight: 696
biPlanes: 1
biBitCount: 32
biCompression: 0
biSizeImage: 3563520
biXPelsPerMeter: 0
biYPelsPerMeter: 0
biClrUsed: 0
biClrImportant: 0

pbFormat:
0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0010: 00 00 00 00 00 00 00 00 00 05 00 00 b8 02 00 00 ...............
0020: 00 00 00 00 00 00 00 00 9a 5b 06 00 00 00 00 00 ........š[......
0030: 81 00 00 00 00 00 00 00 a0 00 00 00 57 00 00 00 .......*...W...
0040: 00 00 00 00 00 00 00 00 28 00 00 00 00 05 00 00 ........(.......
0050: b8 02 00 00 01 00 20 00 00 00 00 00 00 60 36 00 ..... ......`6.
0060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

ffdshow
Filter : ffdshow Video Decoder - CLSID : {04FE9017-F873-410E-871E-AB91661A4EF7}

- Connected to:

CLSID: {008BAC12-FBAF-497B-9670-BC6F6FBAE2C4}
Filter: MPC Video Decoder
Pin: Output

- Connection media type:

Video: YV12 1280x696 24.00fps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_YV12 {32315659-0000-0010-8000-00AA00389B71}
formattype: FORMAT_VideoInfo2 {F72A76A0-EB0A-11D0-ACE4-0000C0CC16BA}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 112

VIDEOINFOHEADER:
rcSource: (0,0)-(1280,696)
rcTarget: (0,0)-(1280,696)
dwBitRate: 0
dwBitErrorRate: 0
AvgTimePerFrame: 416666

VIDEOINFOHEADER2:
dwInterlaceFlags: 0x00000081
dwCopyProtectFlags: 0x00000000
dwPictAspectRatioX: 160
dwPictAspectRatioY: 87
dwControlFlags: 0x00000000
dwReserved2: 0x00000000

BITMAPINFOHEADER:
biSize: 40
biWidth: 1280
biHeight: 696
biPlanes: 3
biBitCount: 12
biCompression: YV12
biSizeImage: 1336320
biXPelsPerMeter: 0
biYPelsPerMeter: 0
biClrUsed: 0
biClrImportant: 0

pbFormat:
0000: 00 00 00 00 00 00 00 00 00 05 00 00 b8 02 00 00 ...............
0010: 00 00 00 00 00 00 00 00 00 05 00 00 b8 02 00 00 ...............
0020: 00 00 00 00 00 00 00 00 9a 5b 06 00 00 00 00 00 ........š[......
0030: 81 00 00 00 00 00 00 00 a0 00 00 00 57 00 00 00 .......*...W...
0040: 00 00 00 00 00 00 00 00 28 00 00 00 00 05 00 00 ........(.......
0050: b8 02 00 00 03 00 0c 00 59 56 31 32 00 64 14 00 .......YV12.d..
0060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

Barlow
13th April 2011, 18:08
In recent revisions subtitle anti-aliasing appears to have changed.

2827
http://tweakers.net/ext/f/ojvMtRZ4GuWQ0rNj3M0YXn5X/medium.png (http://tweakers.net/ext/f/ojvMtRZ4GuWQ0rNj3M0YXn5X/full.png)

3025
http://tweakers.net/ext/f/FxqgnlWmY0JGRpwNWMMHtncW/medium.png (http://tweakers.net/ext/f/FxqgnlWmY0JGRpwNWMMHtncW/full.png)

I prefer the look of the former, but there doesn't appear to be a way to change it back. I used the same ini file, so settings should be the same. If i missed a switch please tell me :)

I couldn't find the exact build that introduced this change, as binaries aren't available for every revision. In build 2855 subtitles still look like before. 2875 was the first build I could find where the subtitles look different.

hopstiii
13th April 2011, 19:42
hopstiii, your display is set to 60Hz and video is 24. You have to set your display 1:1 (or 2:1) matched to video.

Oo ok i will keep it in mind in futture. But what will it change?

Qaq
13th April 2011, 20:47
But what will it change?
That makes playback smooth (please don't ask why).

HowlerX
13th April 2011, 22:21
In recent revisions subtitle anti-aliasing appears to have changed.


I prefer the look of the former, but there doesn't appear to be a way to change it back. I used the same ini file, so settings should be the same. If i missed a switch please tell me :)

I couldn't find the exact build that introduced this change, as binaries aren't available for every revision. In build 2855 subtitles still look like before. 2875 was the first build I could find where the subtitles look different.

Yes, I also liked how they used to look. Put me down as a vote for at least providing the option for anti-aliased subtitles or blurring them or whatever the old builds used to do.

chapas
14th April 2011, 06:03
How can I change the output colorspace for MPC-HC codecs like I do on ffdshow? I ask this because the vanilla internal mpc-hc codecs seem to output RGB32 instead of NV12 for things like Xvid and DivX.

There's a mod called mpc-hc-be that has the options on the codec's config page:

http://www.xvidvideo.ru/media-player-classic-home-cinema-x86-x64/media-player-classic-homecinema-x86-x64-1-5-2-3030.html

http://www.xvidvideo.ru/images/stories/my_pic/new_00005.png

Thanks!

hopstiii
14th April 2011, 06:15
In 32bit MPC-HC there is option under haali to convert to luma 255 or 235. But under DXVA there isn't, what's that by default 235 or 255.

namaiki
14th April 2011, 06:21
In 32bit MPC-HC there is option under haali to convert to luma 255 or 235. But under DXVA there isn't, what's that by default 235 or 255.

View-> Renderer-> Output range. However, if I recall correctly, the options in Haali and EVR are opposite as EVR = output range and Haali = input range.

LigH
14th April 2011, 11:37
Using the "Black Edition" from xvidvideo.ru, I experienced a strange seeking behaviour with some AVIs, clicking on the timeline:

The first time I click, the video playback is distorted, like decoding not from an I-frame on. The second time I click (no matter if the same position or another), the decoding is correct. And again - even vs. odd numbers.

I am not certain which keywords to search for ... does this description sound familiar to you? If not, I will try to provide more details (hope my ISP at home has fixed the connection in the meantime).

I guess it may be related to the misc. option to seek to keyframes only.

Trey_S
14th April 2011, 22:49
Hello.
I've tried to get HD video from a Canon DSLR to play with HD-acceleration in MPC-HC but I've so far never gotten it to work. All i get is a black screen when dxva is enabled.

The moveis are H.264? in .mov-containers. Tried updating to the latest nvidia drivers (have a 8600m gt card). Had an older MPC-HC version at first which I updated to the version on the sourceforge page but still the same problem.

Are these videos incompatible with HD-acceleration or am i doing something else wrong? Never had any problems with other HD-videos in DXVA-mode...

Links to video samples (scroll down on the pages):
http://www.dpreview.com/reviews/canoneos600d/page15.asp
http://www.dcresource.com/reviews/canon/eos_rebel_t2i-review/using

Aleksoid1978
14th April 2011, 23:33
Hello.
I've tried to get HD video from a Canon DSLR to play with HD-acceleration in MPC-HC but I've so far never gotten it to work. All i get is a black screen when dxva is enabled.

The moveis are H.264? in .mov-containers. Tried updating to the latest nvidia drivers (have a 8600m gt card). Had an older MPC-HC version at first which I updated to the version on the sourceforge page but still the same problem.

Are these videos incompatible with HD-acceleration or am i doing something else wrong? Never had any problems with other HD-videos in DXVA-mode...

Links to video samples (scroll down on the pages):
http://www.dpreview.com/reviews/canoneos600d/page15.asp
http://www.dcresource.com/reviews/canon/eos_rebel_t2i-review/using

All sample play fine with Internal DXVA Decoder.

Trey_S
15th April 2011, 00:08
Well that sounds good.
Wonder what goes wrong with my setup. How can I proceed with troubleshooting?

I have EVR custom pres. selected.
It says "Playing [DXVA]" but the videos doesn't play at all.
Tried with Haali splitter and with the internal MP4/MOV, and tried renaming file to .mp4 but all give same result.

Do I have to have quicktime installed?

ceb
15th April 2011, 11:40
I found out that my problem was caused by the BE Mod, it doesn't work with EVR CP. If I use EVR Sync it works, if I use the normal version of MPC-HC (both EVR CP and Sync) it works. :confused:
I played a video, right click > Filters > MPC Video Decoder and have set my settings as this image (taken from xvidvideo.ru):

http://www.xvidvideo.ru/images/stories/my_pic/new_00005.png

It surely has to do with the BE Mod since the normal version works fine.
I'm using version 1.5.2.3033 (with installer) 64-bit, DXVA disabled (I get black screen), Sharpen Complex 2 and Bicubic A=-1.00 (PS 2.0).
Thanks for any help.

Ger
15th April 2011, 12:24
Did you try the 32-bit BE mod? Works for me with HD5770 + Catalyst 11.3. I never tested the 64-bit version.

nevcairiel
15th April 2011, 13:47
Move NV12 up one position, above YV12, it should potentially help.

bobdynlan
15th April 2011, 14:18
You won't find much support for the "BE" mod, and the new libswscale feature in particular is in testing stage. I would first read this about it (http://cid-d561cc7d122f3f32.office.live.com/self.aspx/Shared/MPCHC^_SWSCALER^_MOD/readme.txt). Then, while playing videos, check the actual output format in Filters->Name-of-video-renderer. Like on the readme, if it's YUY2 you need to put Chroma to RGB to less than Full (this screams for a fix later on). Next time, please specify the renderer used.
alexins said he found a serious mistake leading to crashes, so I'm waiting for more info on it.

I'm also after the big fish, as I try to update the 6-months old ffmpeg. For now, I've completed the libavutil (with merged libavcore, msvc build ok), and libavcodec is 50% ready for GCC build.
When this starting point it's done, I'm guessing more people will contribute to re-apply specific patches, correct mistakes and fix the msvc builds.

nevcairiel
15th April 2011, 14:33
I would vote for simply ignoring MSVC builds, it'll make future updates easier and save alot of trouble (and work).
Stick to vanilla ffmpeg as close as possible.

Not that i personally really care, i'll write my own decoder in due time. :d

Virtual_ManPL
15th April 2011, 14:41
Not that i personally really care, i'll write my own decoder in due time. :d

waiting for your player next :devil:

Mercury_22
15th April 2011, 15:02
You won't find much support for the "BE" mod, and the new libswscale feature in particular is in testing stage. I would first read this about it (http://cid-d561cc7d122f3f32.office.live.com/self.aspx/Shared/MPCHC^_SWSCALER^_MOD/readme.txt). Then, while playing videos, check the actual output format in Filters->Name-of-video-renderer. Like on the readme, if it's YUY2 you need to put Chroma to RGB to less than Full (this screams for a fix later on). Next time, please specify the renderer used.
alexins said he found a serious mistake leading to crashes, so I'm waiting for more info on it.

I'm also after the big fish, as I try to update the 6-months old ffmpeg. For now, I've completed the libavutil (with merged libavcore, msvc build ok), and libavcodec is 50% ready for GCC build.
When this starting point it's done, I'm guessing more people will contribute to re-apply specific patches, correct mistakes and fix the msvc builds.

In the meantime we are still waiting for your GUI patch to make it to the SVN as you promised :p
...
That's based on a old sketch source and I do not support it. I will reboot that mod soon - and now I mean it :)

P.S. BE mod x64 working fine here

ceb
15th April 2011, 15:29
Did you try the 32-bit BE mod? Works for me with HD5770 + Catalyst 11.3. I never tested the 64-bit version.
Same problem.
Move NV12 up one position, above YV12, it should potentially help.
It still doesn't work.
Next time, please specify the renderer used.
It's using Enhanced Video Renderer (custom presenter).

I don't understand why before it worked fine and now no, perhaps a recent change?
Also it seems that I'm the only one with this problem. :confused:
What do you guys suggest me to do? Should I stop using the BE Mod or is EVR Sync the same as EVR CP in terms of quality?

Mercury_22
15th April 2011, 15:51
Same problem.

It still doesn't work.

It's using Enhanced Video Renderer (custom presenter).

I don't understand why before it worked fine and now no, perhaps a recent change?
Also it seems that I'm the only one with this problem. :confused:
What do you guys suggest me to do? Should I stop using the BE Mod or is EVR Sync the same as EVR CP in terms of quality?

First of all reset MP-HC's settings and display adapter's settings ( Restore factory defaults)

Then if you want us to help you please provide details: OS video drivers, DirectX....

More here http://sourceforge.net/apps/trac/mpc-hc/wiki/Troubleshooting_guidelines

ceb
15th April 2011, 16:20
Then if you want us to help you please provide details: OS video drivers, DirectX....
Sorry I forgot about that, here are my details:
Intel Core i5 2500
ATI 5770 with 11.3 Catalyst (driver only version)
Windows 7 SP1 64-bit (with all updates)
MPC-HC 1.5.2.3033 x64 BE mod (with installer)
DirectX 9 updated
DXVA disabled (because of black screen)
Sharpen Complex 2 and Bicubic A=-1.00 (PS 2.0)
video formats: mp4, mkv and avi

Ger
15th April 2011, 17:26
I have the same OS, same GPU, same resizer and no black screen.

Differences from your setup:
- Different/older CPU/mobo.
- Full "Catalyst Software Suite" 11.3 (with CCC).
- 32-bit BE mod.
- "YV12 Chroma Upsampling" shader enabled to work around a chroma upsampling issue with EVR-CP + ATI that started in r2837. Other shaders disabled.
- Maybe different splitters and stuff, but I don't think that would matter.

If you tried resetting all MPC-HC/decoder settings to default already, and maybe rerunning the DirectX web setup just in case, I guess reinstalling Catalyst with CCC may be worth a shot. People seem to disagree on the effects. I always install CCC so I have no opinion on the matter.

tetsuo55
15th April 2011, 18:37
You won't find much support for the "BE" mod, and the new libswscale feature in particular is in testing stage. I would first read this about it (http://cid-d561cc7d122f3f32.office.live.com/self.aspx/Shared/MPCHC^_SWSCALER^_MOD/readme.txt). Then, while playing videos, check the actual output format in Filters->Name-of-video-renderer. Like on the readme, if it's YUY2 you need to put Chroma to RGB to less than Full (this screams for a fix later on). Next time, please specify the renderer used.
alexins said he found a serious mistake leading to crashes, so I'm waiting for more info on it.

I'm also after the big fish, as I try to update the 6-months old ffmpeg. For now, I've completed the libavutil (with merged libavcore, msvc build ok), and libavcodec is 50% ready for GCC build.
When this starting point it's done, I'm guessing more people will contribute to re-apply specific patches, correct mistakes and fix the msvc builds.Thanks for the update, as Nevcairiel said you can ignore msvc builds. XhmikosR wants to commit your patch asap, so once its in "any" shape to be committed please give him the link.

If you have any other patches waiting to be committed you can give them to him too.

chapas
16th April 2011, 03:55
Guys, so there's no way to set the colorspace for Divx/Xvid decoding with MPC-HC filters? It defaults to RGB32 for me, and I can't change it.

The h264/VC-1 decoder works on NV12 colorspace.

v0lt
16th April 2011, 09:44
little progress
http://img812.imageshack.us/img812/347/fileassociations3.th.png (http://img812.imageshack.us/img812/347/fileassociations3.png)
now controls are not connected with the settings. a lot of work.

pirlouy
16th April 2011, 10:36
You already know that, but: Nice one !

khagaroth
16th April 2011, 10:47
Nice redesign. Just a note. When creating dialogs, please keep in mind they will be later translated into other languages -> make all dialog elements as big as possible. Don't know how you create the .rc file, but some resource editors have the stupid habit of automatically shrinking elements to the length of the English string, which usually is not enough space for other languages. One possible show-stopper in the above dialog is the 'Other:' string, align the input field to the right of the above tree box and enlarge the 'Other:' static element.

ceb
16th April 2011, 11:20
I have the same OS, same GPU, same resizer and no black screen.

Differences from your setup:
- Different/older CPU/mobo.
- Full "Catalyst Software Suite" 11.3 (with CCC).
- 32-bit BE mod.
- "YV12 Chroma Upsampling" shader enabled to work around a chroma upsampling issue with EVR-CP + ATI that started in r2837. Other shaders disabled.
- Maybe different splitters and stuff, but I don't think that would matter.

If you tried resetting all MPC-HC/decoder settings to default already, and maybe rerunning the DirectX web setup just in case, I guess reinstalling Catalyst with CCC may be worth a shot. People seem to disagree on the effects. I always install CCC so I have no opinion on the matter.
I tried installing the CCC but it still doesn't work, guess I'll have to use EVR Sync.
Are there any advantages/disadvantages in using EVR Sync instead of EVR CP?

hopstiii
16th April 2011, 11:42
Hi :)

Are this settings DXVA compatible?

http://static3.nagi.ee/i/p/723/80/180950913729d0_o.jpg

clsid
16th April 2011, 11:56
Thanks for the update, as Nevcairiel said you can ignore msvc builds. XhmikosR wants to commit your patch asap, so once its in "any" shape to be committed please give him the link.

If you have any other patches waiting to be committed you can give them to him too.The MSVC builds are used only for the debug version of MPC. So the ffmpeg based internal decoders should be excluded in the debug build if you want to get rid of MSVC compatibility. Getting ffmpeg to compile in MSVC requires a lot of custom code, so getting rid of it is a good idea.

Avish
16th April 2011, 13:49
How to add a new shader to mpc-hc's list of shaders? I want to try "SharpenFlou (jim ro)" from PotPlayer's list of shaders.

bobdynlan
16th April 2011, 15:51
How to add a new shader to mpc-hc's list of shaders? I want to try "SharpenFlou (jim ro)" from PotPlayer's list of shaders. Only one page back I've posted a hint http://forum.doom9.org/showthread.php?p=1491576#post1491576