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

JohnLai
29th April 2010, 10:44
Anyone has problem with the 1821 build for 64bit version? Seem like the DXVA(H.264) isnt working when using EVR Custom Presenter. Video only runs for 1 second, then the image freeze while the time counter keeps moving ahead. Build 1788 runs fine. Using 8400GS, NVIDIA 197.45, latest directx runtime installed, windows 7 64bit.

EDIT: EVR Sync DXVA works well.

edigee
29th April 2010, 10:48
Anyone has problem with the 1821 build for 64bit version? Seem like the DXVA(H.264) isnt working when using EVR Custom Presenter. Video only runs for 1 second, then the image freeze while the time counter keeps moving ahead. Build 1788 runs fine. Using 8400GS, NVIDIA 197.45, latest directx runtime installed, windows 7 64bit.

EDIT: EVR Sync DXVA works well.

http://forum.doom9.org/showpost.php?p=1395541&postcount=6

JaLooNz
29th April 2010, 12:02
Added H.264 L5.1 DXVA support for ATI cards with drivers > v8.14.1.6105 (Catalyst 10.4)It works rather well, a Gundam 5.1 1080p that used to max out my processor runs 4-5% CPU utilisation now. Using Catalyst 10.4b, W7x64, 32bit SVN 1821 build.

BTW is it possible to label the encode type in the Video Decoder Properties window, ie L5.1 or L4? And one more question, is it possible to restore the border without having to show the title bar? I do not really like the window without borders.
:thanks:

Fadeout
29th April 2010, 15:02
With the latest 1821 svn and official catalyst 10.4 I get lots of blocky artifacts on 5.1 video.

I should point out that I was in the exact same situation before trying the svn build, so what was modified? I was using the 1.3.1774 and MPC was already accepting 5.1 video but showing the blocks exactly as the svn build. So no perceivable change for me.

Anyway, it seems this feature isn't working as it should.

EDIT: some HD videos are playing well, I get the artifacts on a SD 5.1 video.

hoborg
29th April 2010, 16:26
With the latest 1821 svn and official catalyst 10.4 I get lots of blocky artifacts on 5.1 video.

I should point out that I was in the exact same situation before trying the svn build, so what was modified? I was using the 1.3.1774 and MPC was already accepting 5.1 video but showing the blocks exactly as the svn build. So no perceivable change for me.

Anyway, it seems this feature isn't working as it should.

EDIT: some HD videos are playing well, I get the artifacts on a SD 5.1 video.

Seems to be problem of MPC-HC DXVA decoder, becouse it doesnot happend if PDVD 9 decoder is in use (DXVA on).

Fadeout
29th April 2010, 16:44
What's the correct list of supported ATI cards for H264?

The main thread here says from 3850 onward, but I'm reading on the forum using 3450 and the wikipedia says that 3400 3600 and 3800 all have UVD+ so I guess it either works on all models or not?

amango
29th April 2010, 17:04
Level 5.1 only for UVD2 capable cards I guess? (Radeon 4000/5000 only).

http://en.wikipedia.org/wiki/UVD

Fadeout
29th April 2010, 17:15
Then even the first post of this thread is wrong.

Underground78
29th April 2010, 17:19
What's the correct list of supported ATI cards for H264?

It depends on the level, for level 4.1 ATI HD2600 / HD2400 cards with UVD work but it seems that for level 5.1 UVD+ is required ...

edigee
29th April 2010, 19:29
Not really necessarily. I have an HD2600XT(UVD) on my son's XP based PC and its behaviour is the same as my old HD3650(UVD+) Vista system in terms of DXVA. Not only the level(@L4.1 or 5.1) is important ,but also the number of ref.frames , the resolution and AR of the video and the bitrate. It seems that no matter the UVD type is ,MPC_HC have problems in playing 720p H264 videos with more than 12 ref.frames and 1080p videos with more than 8 ref.frames. Another thing: If a 1080p video have L@5.1 ,8 ref.frames and the AR is 2.35:1 ,it plays fine in DXVA mode. But if the AR is 16:9 the video isn't DXVA "playable".
Users above are right: No difference between build 1774 and 1821 in terms if DXVA.

Fadeout
29th April 2010, 19:35
On a 4850 I can see the 1080p planet earth sample which has 16 ref frames and 5.1 1920x1080.

Underground78
29th April 2010, 19:37
Not really necessarily. I have an HD2600XT(UVD) on my son's XP based PC and its behaviour is the same as my old HD3650(UVD+) Vista system in terms of DXVA. Not only the level(@L4.1 or 5.1) is important ,but also the number of ref.frames , the resolution and AR of the video and the bitrate. It seems that no matter the UVD type is ,MPC_HC have problems in playing 720p H264 videos with more than 12 ref.frames and 1080p videos with more than 8 ref.frames. Another thing: If a 1080p video have L@5.1 ,8 ref.frames and the AR is 2.35:1 ,it plays fine in DXVA mode. But if the AR is 16:9 the video isn't DXVA "playable".
Users above are right: No difference between build 1774 and 1821 in terms if DXVA.

All the L5.1 files I've tested on my HD2600XT doesn't work (in fact I've to disable the checking to test because MPC-HC doesn't even try to use DXVA). I'll try to do more tests ...

edigee
29th April 2010, 19:45
On a 4850 I can see the 1080p planet earth sample which has 16 ref frames and 5.1 1920x1080.

It means that is the UVD 2 type gain.

xiulet
29th April 2010, 21:12
hi, i have problems with 5.1 on ati , with drivers 10.4a that are new that oficial 10.4 on win7 64 and mpc hc 32:


http://img688.imageshack.us/img688/219/snap1b.jpg


thank you :) adéu.

clsid
29th April 2010, 21:25
@xiulet
Disable "Use custom media type for H.264" in Haali Media Splitter options.
Or use ffdshow, which supports the CCV1 media type.

Superb
29th April 2010, 21:29
@xiulet: your Haali Media Splitter is configured to change the FOURCC code for mkvs w/ H.264. Try going to Haali's options -> Output -> Change "Use custom media type for H.264" to FALSE.

EDIT: I now see that clsid already answered...

edigee
29th April 2010, 21:32
@xiulet

Why don't you use Mediainfo?

I guess it's the same file from here:
http://www.networkedmediatank.com/showthread.php?tid=8175&pid=70245#pid70245

It has a very high bitrate(40Mbps) ,it is L@5.1 profile with 16 ref.frames and a rez. 1920x1080(AR 16:9). This file is at the limit of every DXVA specification.

xiulet
29th April 2010, 21:34
@xiulet
Disable "Use custom media type for H.264" in Haali Media Splitter options.
Or use ffdshow, which supports the CCV1 media type.

ok, now is running! so that it serves this option? "use custom media type......"

thanks so much, adéu.

xiulet
29th April 2010, 21:47
@xiulet

Why don't you use Mediainfo?

I guess it's the same file from here:
http://www.networkedmediatank.com/showthread.php?tid=8175&pid=70245#pid70245

It has a very high bitrate(40Mbps) ,it is L@5.1 profile with 16 ref.frames and a rez. 1920x1080(AR 16:9). This file is at the limit of every DXVA specification.

yes sorry this demo put on limit dxva but with the option of haali disabled, it is running perfect! very nice al least l5.1 and 16 reframes are working on ati.

thanks, adéu.

Momber
29th April 2010, 21:54
Fixed options "Remember last window position/size" (introduced in revision 1707);
Fix is not working.

nijiko
29th April 2010, 22:44
How to crop the DVD overscan lines by MPC-HC?

Keiyakusha
29th April 2010, 22:57
I just noticed that icon for .swf files for some reason shows shows "321". Is this normal? Or not every extension have its own icon?
Also MKV icon looks way worse than this 321. Like it was upscaled (http://imgur.com/Uef49.png)... (background I mean, letters are fine)


How to crop the DVD overscan lines by MPC-HC?

Try to press 6 or 9 on numpad while playing.

nijiko
30th April 2010, 01:12
Try to press 6 or 9 on numpad while playing.

Thank you. But is there a auto-feature for it?
Because the overscan lines are variable.
Self-adapting is a best way.
And why not add removing black area feature?

Keiyakusha
30th April 2010, 01:35
nijiko
I don't remember such auto feature. (However I can miss some feature I don't use). But IMO it is not a big deal if black bars are not constant. If they are not constant, its just a bad source.
And for general removing black bars theoretically you can configure ffdshow to do so with or without help of avisynth filter (I didn't tried myself). MPC-HC is not doing any post processing. EDIT: well, yes, except shaders, but I don't think they suitable for this. It will need to be on all the time and most likely will be very slow.

nijiko
30th April 2010, 07:58
nijiko
I don't remember such auto feature. (However I can miss some feature I don't use). But IMO it is not a big deal if black bars are not constant. If they are not constant, its just a bad source.
And for general removing black bars theoretically you can configure ffdshow to do so with or without help of avisynth filter (I didn't tried myself). MPC-HC is not doing any post processing. EDIT: well, yes, except shaders, but I don't think they suitable for this. It will need to be on all the time and most likely will be very slow.

About this DVD:
Yes, this DVD is a film of 1987.
The source is not good enough.
But nVidia's nStantMedia Player can well handle the overscan lines with it.

Sometimes MPC-HC is no humanization at all.
And nobody pay attention to consummate it.
The devs always do what they want to, something not important, and abandon the basic.
Even they said, you can choose another better player to use.

EDIT:
By reading the source of MPC-HC, there is a big problem with whole frame of MPC-HC.
Such as rendering, controlling filters, seeking, and etc.
But there is no any signs that some one will or want to fix them.

G_M_C
30th April 2010, 09:28
Has someone a tip or idea to my earlier post ?


Hello, having resolved the misinformation i had about MPC-HT's flac decoder (see my previous post :rolleyes: ), i've ran into something i dont know how to solve;

Before i explain, i have to note that i have an Asus Xonar HDAV Slim. For people that dont know, it's a sound-card that you loop between your video-card and your receiver. It takes in the video, adds HD-grade audio, and outputs a full HDMI1.3 signal with HDCP and PAP. So you get to stream DTS-MA, TrueHD or PCM up to 192/24 and max 7.1 channels.

The problem i have lies in the way the audiocard manifests itself in Windows (i currently use 7-64, but it's the same in XP-32 ). The card is seen as 2 different cards; 1 called "Speakers". I handles all decoded PCM streams, up to 7.1 (8 channels). The second one is the S/PDIF streaming device.

I have to use this one when i play multi-channel FLAC's. MPC decodes, and and I have to set the audio renderer to Asus HDAV: Speakers (direct sound or not doesn't matter).

When I want to play a video with, say, DTS. I have to choose a different renderer. It is called "ASUS HDAV: S/PDIF Streaming".

The problem lies of course in the fact that i constantly have to switch audio-renderers. When i inadvertently use "S/PDIF" with my multi-channel FLAC's, i only get 2 channels PCM (max limitation of all regular S/pdif). Worse is if i use "Speakers" with a DTS-track. Streaming undecoded DTS provides a nice crackling and popping noise, which cannot be very good for my speakers (or my receiver for that matter).

The question is: Can i set specific renderers with specific decoders ? Or can that be made as a feature ?
For instance I imagine a roll-down menu in de DTS/AC3 decoder module. It has all the renderers in it, and an option "Use default" which is the way it works now (render set in options -> output). There i can choose to use the s/pdif output renderer. And then the same idea for other audio-decoders built in into MPC.

Or something which might be better to implement: In the audio-switcher menu, an option to differentiate in decoded or streamed audio to specific renderers. Decoded: Use renderer ......., Streamed: Use renderer ...........

I dont know if my post is clear, or if more people could see the benefit of this system, or if it's even possible. But i'd like a feature like this, and people with more then one audio-card could also benefit :)


Or is there another way around my problem ?

TinTime
30th April 2010, 11:55
Or is there another way around my problem ?

You could use Reclock as your audio renderer. That will let you assign one audio device for, say, WaveOut and another for, say, DirectSound (this is on XP). You can then tell it to use WaveOut for bitstreamed audio and DirectSound for PCM.

DMD
30th April 2010, 14:37
Sorry for the banal question.

There is a way to use the Blu-ray Disc Navigator Cyberlink as external filter?


THANKS

_xxl
30th April 2010, 18:21
Sorry for the banal question.

There is a way to use the Blu-ray Disc Navigator Cyberlink as external filter?


THANKS

Only MS DVD Navigator is supported, not completely. Some DVD are not working with MPC.

hayan
30th April 2010, 19:44
mpc-hc x64 rev 1824 (from XvidVideo.RU) (Geforce8, win7)

mpc-hc64.exe + EVRCP + DXVA(h264) + Haali MKV Splitter (1.10.120.15) + mkv file + Unkrown = Video freeze (only first frame)

PS1:EVR Sync no problem (x86 & x64)
PS2:Internal Matroska Splitter no problem (EVRCP, x86 & x64)
PS3:mpc-hc x86 work fine (x86 & x64)

ADude
30th April 2010, 22:03
Can MPC-HC's internal audio decoders pass the DTS MA lossey core to SP/DIF ?

namaiki
1st May 2010, 06:13
EDIT:
By reading the source of MPC-HC, there is a big problem with whole frame of MPC-HC.
Such as rendering, controlling filters, seeking, and etc.
But there is no any signs that some one will or want to fix them.

Nijiko: MPC-HC is always looking for more volunteers to work on and help improve code.

People work on parts that they are interested in.

G_M_C
1st May 2010, 09:12
Has someone a tip or idea to my earlier post ?



Or is there another way around my problem ?

You could use Reclock as your audio renderer. That will let you assign one audio device for, say, WaveOut and another for, say, DirectSound (this is on XP). You can then tell it to use WaveOut for bitstreamed audio and DirectSound for PCM.

Is that really the only way to automate the choice of audio-renderer (based on PCM/decoded or streamed)?

This cause i've Win-7 64 here, and i try to keep to 64-bit as much as possible. So i have 64-bit MPC-HT, and reclock has no 64-bit afaik ?

mikleemy
1st May 2010, 09:43
When I'm uncheck the 'use DXVA' (found in Internal filter), most my 1080p mkv playback is shuttered . Turn on dxva is fine.
My PC spec. are Intel Core 2 duo ( 3.2G ),Win7 & ATI 5750 (512MB-128bit) - cat 10.4
But when I change to my old Geforce 9600GT (512Mb-256bit), everthing is fine.
So, could someone help me to solve my problem.:devil:

Sebastiii
1st May 2010, 11:52
Hi,

I open a ticket but, i want to know if many of you has the same issue.

In this sample : PGS subs not working in MPC-HC (http://www.mediafire.com/download.php?w5kwjwznykm)

We can't see the sub for n'avi talk, it seems that is related to the font that the PGS sub use but i maybe wrong.

At first i think it related to Forced but now i'm not sure.
It's not a splitter issue because the test i have made with FFDshow (rev 3370) it's working.
Cheers,

Sebastiii.

Kazuya
1st May 2010, 19:47
Hey guys !
I have a problem with MPC. Actually it works very well, excepted that I can't have a perfect jitter and vsync without tearing.

I really tried all possibilities without found this perfection.
Actually this is pretty good, but at the end of a movie, sometimes and specially on 1.85 movies, this is what I get :

http://img87.imageshack.us/img87/7461/clip40resize.jpg

Never get this for a 2.35 movie, but always a jitter above 1.1ms whereas it starts below 0.5ms. And more important, those little waves create ponctual tearing at the top of the screen.

Typically I get this :

http://img195.imageshack.us/img195/3888/clip16resize.jpg

Framerate oscillates between 24.998 and 25.003

My best setup is :
_ MPC-HC 1722 in EVR custom,
_ renderer settings : Vsync, accurate and alternative all checked, vsync offset = 0 (at 1, there's constant tearing but jitter is perfect : 0.005ms)

_ NO D3D (tearing too),
_ ffdshow in RGB32 output,
_ reclock 1.8.5.4 at 50.001Hz,
_ Powerstrip 3.80 on an ATi 3870HD ultimate
_ XP SP3 32bits, CCC 8.1 (worth this newer), and last directX
_ Displays in dualview : HC3100 projector and LCD monitor.

I think there's a problem between reclock, powerstrip and the alternative vsync.
If anyone get an idea, thanks ! :)

Polcius
2nd May 2010, 01:11
Is the auto-load subtitles bug fixed in the last svn?

XhmikosR
2nd May 2010, 01:13
kinddragon fixed it in r1835. A build is available here (http://www.xvidvideo.ru/media-player-classic-home-cinema-x86-x64/media-player-classic-homecinema-x86-x64-svn-1829.html).

Zulithe
2nd May 2010, 04:27
I'm having a problem where videos will play at more than 1x speed if I open several videos in succession without closing MPCHC. It doesn't happen on the first video opened but can happen on
the 2nd or later videos opened. If I close MPCHC and re-open the same video it plays at 1x.

Stopping/starting the video doesn't work, nor does "reset rate" i have to totally close MPC and restart it.

Output is set to EVR

Anyone encountered this?

G_M_C
2nd May 2010, 08:18
I have seen a similar situation, but with some other cause. It is related to my previous post: http://forum.doom9.org/showpost.php?p=1396084&postcount=12754

When i open a video with a audio-track that i want to have streamed (DTS, AC3), and i forgot to set the correct audio-renderer, video plays at 2x speed.(*)

I can reproduce the problem always, by switching to the correct renderer: it plays as intended, switch back to the aother audio-renderer 2x speed again. Trying to change playback-speed has no effect.

I have set the DTS/AC3 decoder to spdif. I have to change my audio-renderer to spdif streaming device, else the described effect happens. When i forget the renderer (it is then on the "speakers device") MPC-HT uses AVI <-> DTS/AC3 and Microsoft DTV-DVD Audio Decoder to decode.

(*)Note: I say 2x speed, but i dont know the exact speed. I might also be the best the system can do (as fast as it can get ?). I use CoreAVC 2.0 as software decoder. But it also happens with the DXVA decoder (HD5770). In both cases the playback-speed seems about the same, and CPU usage is not very high (software 20 ~ 40, hardware 0~10).

To complete the post: I'm on Window 7 64 bit (have to run the process in Vista SP2 compatibility mode). And I've used the complete package/installer/x64, version 1.3.1821.0. Audio as decribed in earlier post, video render EVC-Sync (but the same behavior is seen in all video-renderers)

edigee
2nd May 2010, 10:53
Is the auto-load subtitles bug fixed in the last svn?

Yes ,they fixed it!
http://mpc-hc.svn.sourceforge.net/viewvc/mpc-hc/?view=log

""""""
Revision 1825 - Directory Listing
Modified Sat May 1 18:59:00 2010 UTC (14 hours, 53 minutes ago) by kinddragon
Problem with auto-loading subtitles fixed
This commit fixes ticket #456
""""""

Kazuya
2nd May 2010, 16:41
Anyone is concerned by jitter problems ? :confused:
I made a lot of config for very differents computers, and the result is always the same.
Maybe different on Seven, but it adds other bugs.

leeperry
2nd May 2010, 17:27
Anyone is concerned by jitter problems ?
Jong is the guy to talk to, try to catch him on the Reclock forum ;)

Momber
3rd May 2010, 00:03
* Problem with auto-loading subtitles fixed. This commit fixes ticket #456;
* Fix : "Remember last window position", "Remember last window size" and "Launch file in fullscreen".
Confirmed - on both fixes!
Thank you very much indeed.

alexins
3rd May 2010, 01:46
Media Player Classic HomeCinema (x86/x64), svn 1834 (http://www.xvidvideo.ru/media-player-classic-home-cinema-x86-x64/media-player-classic-homecinema-x86-x64-svn-1834.html)

Supported languages: BR, BY, CN, CZ, DE, EN, ES, FR, HU, IT, KR, PL, RU, SE, SK, TR, UA

Changes (1830-1834):

Temporal ffmpeg fix with debug build;
updated ffmpeg;
Minor fixes;
Crash with RealMedia fixed (ticket #163).

namaiki
3rd May 2010, 01:59
On my laptop, it has an Intel X3100 graphics adaptor. It doesn't support DXVA acceleration of AVC, but I just wanted to try the mpc-hc.ini I have on my main laptop.

Setup:
Windows 7 64-bit
MPC-HC 1775 32-bit
EVR-Custom Presenter
Auto-load subtitles
Microsoft DTV-DVD Video decoder

http://img405.imageshack.us/img405/3394/84845244.jpg

What is of note is that the DXVA line says: "MPEG-2 variable-length decoder" with "Playing [DXVA]" also displaying.
I assure you the file is AVC/H.264 and it is also in the screenshot.

What is happening here?

Keiyakusha
3rd May 2010, 02:21
Microsoft DTV-DVD Video decoder supports partial acceleration so "Playing [DXVA]" is probably right. It is possible that your graphics adapter can do that.
As for "MPEG-2 variable-length decoder" - have no idea. Maybe some bug... Someone else probably can comment on that.

namaiki
3rd May 2010, 02:36
Curiously, it might actually be hardware(?) de-interlacing or something. I tried with and without vsfilter and with dxva enabled (vsfilter disabled) there was no combing of the video.

Booji Boy
3rd May 2010, 23:01
I guess since updating to a newer graphics driver DXVA playback produces artifacts. Using the non-DXVA internal filters the video is fine. It looks like this:
http://img266.imageshack.us/img266/3928/pbslatinmusicusa1of4bri.th.png (http://img266.imageshack.us/i/pbslatinmusicusa1of4bri.png/)

System OS is Windows 7 x64, MPC-HC build 1.3.1249.0, graphics card is an AMD Radeon 4870, graphics driver version is 10.4. Output settings is EVR+custom.

PS: Just checked and used ffdshow for decoding with hardware acceleration enabled. Same artifacts. So it's a driver issue. Probably not MPC-HC's fault.

PS2: reverted back to driver version 10.3. artifacts gone.

Aaah. btw, right now seeking with ffdshow+hw shows the same artifacts for a split second. so the bug in 10.4 seems to be that the driver is ignoring I-frames or so constantly...

Keiyakusha
3rd May 2010, 23:29
Just checked and used ffdshow for decoding with hardware acceleration enabled. Same artifacts
Driver issue or not but checking in ffdshow can't tell you much since it uses the same code as MPC-HC :)