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

menlvd
1st February 2008, 22:47
can any body compile latest build of HC :)

Casimir666
1st February 2008, 23:38
can any body compile latest build of HC :)
No need for the moment, only few changes since last xxl build.

menlvd
3rd February 2008, 00:47
No need for the moment, only few changes since last xxl build.

i'll simple want try vc-1 decoder for mine new muxed ts files with vc-1 video

Casimir666
3rd February 2008, 09:22
i'll simple want try vc-1 decoder for mine new muxed ts files with vc-1 video

VC1 is not working for the moment, but it should be soon. Just a little more patience ;)

_xxl
3rd February 2008, 10:06
mpc-hc r392:
http://rapidshare.com/files/88780811/mplayerc.rar.html

Miryan
3rd February 2008, 11:02
For those who dont like rapidshare, a mirror: http://dl1.usite.hu/player/mplayerc.rar

arfster
3rd February 2008, 14:44
DXVA is not only decoding acceleration but also hardware deinterlacing. For people watching tv on computer this is must have option.

You can use ffdshow to have software decode, but hardware deinterlacing (set colour space to NV12, and output flag bob).

arfster
3rd February 2008, 14:49
mpc-hc r392:
http://rapidshare.com/files/88780811/mplayerc.rar.html


Thanks, just tried.

As with previous, 720p does VLD acceleration perfectly on my setup (2600xt with 7.7 drivers, vista32), with near zero CPU.

1080p/i is still a problem though. Stuff that isn't 4.1-compliant is a full green screen, but I guess that's a limitation of the card (PDVD decoder does the same). Video that is 4.1 compliant (bluray, and BBC HD) makes a strange mess, with only the top half of the video showing, and the entire thing covered in a green haze.

Thanks to the coders here btw, this is a really nice addition to MPCHC. In particular, not having the 20fps bug is handy.

dooWohcysP
3rd February 2008, 16:35
Hi,
I submitted a small patch (https://sourceforge.net/tracker/?func=detail&atid=854653&aid=1885296&group_id=170561) regarding html webserver pages, hope someone will find it useful (I will, at least :p).

Casimir666
3rd February 2008, 18:36
Release 396 can be download from here :
http://www.zshare.net/download/71601646f3d9cf/

VC1 decoder is fully functionnal in DXVA. As for H264, only the bitstream mode is supported, which mean it will works only with ATI HD series graphics cards.


I have a request for nVidia users : can you please :
- download this trailer in 720p http://www.apple.com/trailers/wb/thedarkknight/hd/
- try this release, and tell me if internal DXVA decoder is working or not.

For all reports please indicate the graphics card model, the operating system and the video renderer used.


@dooWohcysP
There is something wrong in the patch you uploaded :
Line 546 : hFind = lpò-(path + "*.*", &fd);

dooWohcysP
3rd February 2008, 19:03
@dooWohcysP
There is something wrong in the patch you uploaded :
Line 546 : hFind = lpò-(path + "*.*", &fd);

:eek:
I can't believe I uploaded the wrong file, I was too much nervous and for such a stupid patch.. :scared:

Sorry, I corrected the file now.

3ngel
4th February 2008, 00:04
I'm testing the last build with VC1 decoder.

With Haali Splitter + VMR9 Renderless + ATI and a file VC1.EVO i get only black screen and the file doesn't start.

Why's that?

flanger216
4th February 2008, 00:22
*Testing the Dark Knight trailer on a Geforce 8600GT in Vista x64:*

EVR CUSTOM...
Garbled block of green, and the media does not play (it stays at 00:00)

EVR STANDARD...
Garbled block of green, but the media *does* play (timeline progresses and sound plays); screen does not change

VMR9 RENDERLESS...
Black screen, but the media does play; screen does not change


Let me know if there's anything else I can do to help.

arfster
4th February 2008, 00:30
I'm testing the last build with VC1 decoder.

With Haali Splitter + VMR9 Renderless + ATI and a file VC1.EVO i get only black screen and the file doesn't start.

Why's that?

Guessing cos it's 1080p?

With my 2600XT+vista32 some 720p VC1 works, others MPC chooses to use wmvideo decoder instead.

Casimir666
4th February 2008, 08:11
I'm testing the last build with VC1 decoder.

With Haali Splitter + VMR9 Renderless + ATI and a file VC1.EVO i get only black screen and the file doesn't start.

Why's that?

When the file didn't start at all, it could be because of the audio decoder. If you file have eac3, you should use Sonic audio decoder and disable mpc internal audio switcher

luojs
4th February 2008, 08:50
When the file didn't start at all, it could be because of the audio decoder. If you file have eac3, you should use Sonic audio decoder and disable mpc internal audio switcher

Just want make thing clear. Same problem happen to dual screen configuration.Player's "stop key" always been depressed.Can't press any other key.

3ngel
4th February 2008, 09:17
When the file didn't start at all, it could be because of the audio decoder. If you file have eac3, you should use Sonic audio decoder and disable mpc internal audio switcher

I have exactly sonic audio decoder and internal switcher disabled.

Another update. With .EVO and .MKV with VC1 inside i get black screen and the files doesn't start (no error on loading), it remains on 0:0.0 with "playing".
Using VMR9 renderless. XP X64.

Demuxing the VC1 and getting the raw stream, with the Sonic HD Demuxer, the file does play but i get garbled and random green blocks all over the video.

thuan
4th February 2008, 11:28
I've just tested your build on this file http://download.remedygames.com/movies/alanwake_720p60_51_15mbps.wmv.
It played for 15 seconds then stuck, the sound still kept playing though. After turning off MPC-HC, it crashed my system with a stop 8E error.

tetsuo55
4th February 2008, 15:16
Release 396 can be download from here :
http://www.zshare.net/download/71601646f3d9cf/

VC1 decoder is fully functionnal in DXVA. As for H264, only the bitstream mode is supported, which mean it will works only with ATI HD series graphics cards.


I have a request for nVidia users : can you please :
- download this trailer in 720p http://www.apple.com/trailers/wb/thedarkknight/hd/
- try this release, and tell me if internal DXVA decoder is working or not.

For all reports please indicate the graphics card model, the operating system and the video renderer used.


@dooWohcysP
There is something wrong in the patch you uploaded :
Line 546 : hFind = lpò-(path + "*.*", &fd);

Huh how did you get DXVA working?

EDIT: Nevermind, i read how you did it, too bad you cannot support older cards (due to the sucky way they decode video)
Are you planning on adding DXVA for mpeg2 and WMV?

Miryan
4th February 2008, 16:15
Release 396 can be download from here :
http://www.zshare.net/download/71601646f3d9cf/



Mirrorred here: http://dl1.usite.hu/player/mplayerc_r396.rar

I dont know, if it helps somebody or not, but if you, or anyone else annoyed by this, please let me know, and I stop mirroring mpc.

banquo
4th February 2008, 20:06
Testing latest build

XP Pro SP2 + Haali + VMR9 Renderless + HD2400 (AGP 4x)

1080p x264 (4.1 encoded) and 720p VC-1 playback flawlessly so far in .mkv and .wmv containers.

1080p x264 (5.1 Profile) is black screen.

CPU 10-20% on Athlon XP 2500+ with 1GB RAM.

Great Work! :)

Guspaz
5th February 2008, 01:26
Release 396 can be download from here :
http://www.zshare.net/download/71601646f3d9cf/

VC1 decoder is fully functionnal in DXVA. As for H264, only the bitstream mode is supported, which mean it will works only with ATI HD series graphics cards.


I have a request for nVidia users : can you please :
- download this trailer in 720p http://www.apple.com/trailers/wb/thedarkknight/hd/
- try this release, and tell me if internal DXVA decoder is working or not.

For all reports please indicate the graphics card model, the operating system and the video renderer used.



@dooWohcysP
There is something wrong in the patch you uploaded :
Line 546 : hFind = lpò-(path + "*.*", &fd);

Is the fix for bug #1818791 in this build? Thanks for fixing it, BTW, it was the only major issue stopping me from switching over from 6.4.9.1 :)

EDIT: Confirmed, build 396 is working correctly, the bug is fixed. I'm going to switch over to HC from now on :)

Guspaz
5th February 2008, 03:05
Report on DXVA:

XViD: Tested using EVR, regular and custom, neither used it. File played correctly.
h.264 (trailer): Tested using EVR, regular and custom, did not appear to even use the MPC decoders (filters menu was disabled). Not sure what I'm doing wrong here. File played correctly.
VC-1: Tested using EVR, regular and custom, neither used it. File played correctly.

Specs:
Dell Inspiron 9400
Vista Home Premium
GeForce Go 7900gs
Drivers: 163.75

And here's a screenshot from the DXVA checker, showing my card's listed support:

http://img216.imageshack.us/img216/2158/dxvagn0.th.jpg (http://img216.imageshack.us/my.php?image=dxvagn0.jpg)

So, my conclusion is that DXVA isn't working, or I'm doing something wrong.

dtomoyo
5th February 2008, 03:26
Report on DXVA:

XViD: Tested using EVR, regular and custom, neither used it. File played correctly.
h.264 (trailer): Tested using EVR, regular and custom, did not appear to even use the MPC decoders (filters menu was disabled). Not sure what I'm doing wrong here. File played correctly.
VC-1: Tested using EVR, regular and custom, neither used it. File played correctly.

Specs:
Dell Inspiron 9400
Vista Home Premium
GeForce Go 7900gs
Drivers: 163.75

And here's a screenshot from the DXVA checker, showing my card's listed support:

http://img216.imageshack.us/img216/2158/dxvagn0.th.jpg (http://img216.imageshack.us/my.php?image=dxvagn0.jpg)

So, my conclusion is that DXVA isn't working, or I'm doing something wrong.

MPC-HC supported only....

H.264: ModeH264_VLD_NoFGT
VC-1: ModeVC1_VLD

Not working DXVA modes on GeForce 7000 series.

Required GeForce 8000 series or Radeon HD 2000/3000 series.

Guspaz
5th February 2008, 06:04
MPC-HC supported only....

H.264: ModeH264_VLD_NoFGT
VC-1: ModeVC1_VLD

Not working DXVA modes on GeForce 7000 series.

Required GeForce 8000 series or Radeon HD 2000/3000 series.

So only cards that support the entire decode process in hardware, then?

I don't suppose we'll see support for partial acceleration?

Oh well, my CPU is fast enough for 1080p h.264, so long as it isn't being decoded by QuickTime ;)

Of course, it's not fast enough for 1080p *and* a deband filter :(

luojs
5th February 2008, 12:29
Another weird thing happen.started about 2 days ago.MPC can not prevent screensaver start.I tried old version,but same thing happen.Cat8.1 or dual screen? Thanks a lot.

chros
6th February 2008, 13:48
Casimir666:
I know that it's not top priority, but can you patch the built-in SubResync to don't remove the formatting tags (eg. <i>) from a sub file when saving into srt format ?
(Or an option to enable/disable this feature would be great!)

Thanks for your hard work !

Demi9OD
6th February 2008, 15:14
Mmmm, quadcore + 8800GT post processing on 720p h.264 is sexy.
http://i5.photobucket.com/albums/y167/Demi9OD/mkv_post.png

chros
7th February 2008, 12:08
...can you patch the built-in SubResync to don't remove the formatting tags (eg. <i>) from a sub file when saving into srt format ?...
Well, I was trying to find out, what does this, but with no luck. :(
I see these 2 files:
http://guliverkli2.svn.sourceforge.net/viewvc/guliverkli2/src/apps/mplayerc/PlayerSubresyncBar.cpp?revision=1&view=markup
http://guliverkli2.svn.sourceforge.net/viewvc/guliverkli2/src/apps/mplayerc/SaveTextFileDialog.cpp?revision=1&view=markup

Strange thing is, that if I load an srt file which have some formatting codes, subresync displays it like this:
original: <i>foo</i>
subresync: {\i1}foo{\i}

When I change manually the tags to the right one and save it in subresync, the resulted file is OK.

So, maybe the change is during the loading-time, but I couldn't find where ...

hdboy
7th February 2008, 16:34
So only cards that support the entire decode process in hardware, then?

I don't suppose we'll see support for partial acceleration?

Oh well, my CPU is fast enough for 1080p h.264, so long as it isn't being decoded by QuickTime ;)

Of course, it's not fast enough for 1080p *and* a deband filter :(

Casimir, thanks for your hard work.

any chance you'll add DXVA1 support for people with older cards, like nvidia 7x00 series. with a X2 3800+ @2.4ghz, I'm barely making it with 1080p h264 in MPC video decoder software only.

anyway, it's really cool that MPC can do h264 and vc1 internally now.

Casimir666
7th February 2008, 20:54
Casimir, thanks for your hard work.

any chance you'll add DXVA1 support for people with older cards, like nvidia 7x00 series.

Maybe i will add motion compensation in the future, but the problem will be testing since my card do only bitstream...

Casimir666
7th February 2008, 21:02
Well, I was trying to find out, what does this, but with no luck. :(
I see these 2 files:
http://guliverkli2.svn.sourceforge.net/viewvc/guliverkli2/src/apps/mplayerc/PlayerSubresyncBar.cpp?revision=1&view=markup
http://guliverkli2.svn.sourceforge.net/viewvc/guliverkli2/src/apps/mplayerc/SaveTextFileDialog.cpp?revision=1&view=markup

Strange thing is, that if I load an srt file which have some formatting codes, subresync displays it like this:
original: <i>foo</i>
subresync: {\i1}foo{\i}

When I change manually the tags to the right one and save it in subresync, the resulted file is OK.

So, maybe the change is during the loading-time, but I couldn't find where ...

What do you mean exactly by "subresync"? The function i have added to shift subtitle (VK_NEXT / VK_PRIOR) or something else?

NorthPole
8th February 2008, 01:29
Be using MPC HC with EVR on XP with good sucess on a pc with an older ATI card that doesn't support h264. With Version 1.0.11.4 and 1.0.11.5, I had slightly better cpu performance then with 1.0.11.6. Also, can't seem to get the DVD navigation working. Casimir666 thanks.

donaldtone
8th February 2008, 02:54
Home Cinema is a very good work. It can play most of movies without installation codecs in the system.
There is still a problem, is it possible to build in VSFilter.dll(DirectVobSub) as an internal filter? So it will be more convient for user.
Anyway, I know there is still a vobsub built-in. Why it does not work and the external filter DirectVobSub works very well?

chros
8th February 2008, 10:01
Anyway, I know there is still a vobsub built-in. Why it does not work and the external filter DirectVobSub works very well?
It's working, but you should select the appropriate renderer:
look at the Output tab in Options, and if you see 2 stars (**) after the renderer, then it supports the builtin engine

Eg.: I'm using Haali's Renderer (maybe the 2 stars doesn't fit :) )

chros
8th February 2008, 10:20
What do you mean exactly by "subresync"? The function i have added to shift subtitle (VK_NEXT / VK_PRIOR) or something else?
Thanks for your interest!
I mean totally something else :) :
View -> SubResync (CTRL+6)

It's simply amazing !!!
It's can do anything that other Subtitles utils can do, but I only missing the mentioned feature ...

I was thinking about it:
if it's simpler to implement, you can create the conversion on saving time ({\i1} -> <i>) with regular expressions ...

clsid
8th February 2008, 12:53
MPC seems to convert the input to SSA as an intermediary format. The bug occurs during saving of the (edited) file. There it should convert {\i1} back to <i> (depending on the destination format).

donaldtone
8th February 2008, 19:07
It's working, but you should select the appropriate renderer:
look at the Output tab in Options, and if you see 2 stars (**) after the renderer, then it supports the builtin engine

Eg.: I'm using Haali's Renderer (maybe the 2 stars doesn't fit :) )
Thank you for your comment. I actually have tested two of the render(VMR9 or VMR7). When VMR9 is checked, the image is all right but without subtitle. When VMR7 is checked, the subtitle is all right but without image.
The system is windows xp sp2, video card is ATI Rage 128 pro 16M. Maybe this card is too old but it works well together with DirectVobsub.

Casimir666
8th February 2008, 19:23
Thank you for your comment. I actually have tested two of the render(VMR9 or VMR7). When VMR9 is checked, the image is all right but without subtitle. When VMR7 is checked, the subtitle is all right but without image.
The system is windows xp sp2, video card is ATI Rage 128 pro 16M. Maybe this card is too old but it works well together with DirectVobsub.

You have to choose renderless VMR to have subtitles, or EVR custom

donaldtone
8th February 2008, 21:24
You have to choose renderless VMR to have subtitles, or EVR custom
Yes, that is what it is set.
The auto-load subtitles option in playback also is checked. However, the subtitle fail to load.
is it possible to generate a log report for your reference?

pdanpdan
8th February 2008, 21:51
Hi, is there a way to disable the internal subtitling? All my encoded files (DV source encoded as x264+AAC+timestamp subtitles in MKV) crash when trying to play them. If I activate DirectVobSub, then everything is OK, but no DXVA. If I remux the files without subtitles, the everything is OK, with DXVA. The playback crashes with all renderers. Using all internal filter from MPC.

clsid
8th February 2008, 22:15
Options -> Playback -> uncheck "auto-load subtitles"

fastplayer
8th February 2008, 22:29
Options -> Playback -> uncheck "auto-load subtitles"
People stumble over this setting all the time.
Any chance you put that check box to Options --> Subtitles?

xW0Lf
8th February 2008, 23:00
Sorry for this n00b question but...
where is option in mpc-hc for color controls (bright,contrast,gama)
I not find it (yet)...

where i can get more shader effects... not only these that are included in build?

tnx for answer(s)...

pdanpdan
8th February 2008, 23:14
Options -> Playback -> uncheck "auto-load subtitles"
It's already unchecked, and the subtitles are not loading in the mplayerc (not HC).
Also, all files play OK with mplayerc (not HC) with or without susbtitles enabled (x264 decoded by ffdshow).
The subtitles are included in the MKV files, not external.

fastplayer
8th February 2008, 23:29
It's already unchecked, and the subtitles are not loading in the mplayerc (not HC).
Also, all files play OK with mplayerc (not HC) with or without susbtitles enabled (x264 decoded by ffdshow).
The subtitles are included in the MKV files, not external.
Disable "Accept embedded subtitles" in ffdshow's subtitle configuration dialog.

fastplayer
8th February 2008, 23:31
Sorry for this n00b question but...
where is option in mpc-hc for color controls (bright,contrast,gama)
I not find it (yet)...
Dunno about MPC but you can change color controls in ffdshow's overlay options (if you're using it) and your videocard's configuration tool of choice.

luojs
9th February 2008, 00:43
Another weird thing happen.started about 2 days ago.MPC can not prevent screensaver start.I tried old version,but same thing happen.Cat8.1 or dual screen? Thanks a lot.

Update.

Disable second screen and restart computer.Than this problem gone(also dxva coming back).What a hopeless ATI driver!!!

Kado
9th February 2008, 04:20
Thank you for your comment. I actually have tested two of the render(VMR9 or VMR7). When VMR9 is checked, the image is all right but without subtitle. When VMR7 is checked, the subtitle is all right but without image.
The system is windows xp sp2, video card is ATI Rage 128 pro 16M. Maybe this card is too old but it works well together with DirectVobsub.

Directvobsubs merges the subtitles with the video (making it compatible even with the overlay mixer) while the internal renderer renders the subs over the video in hardware. Probably your "ancient" card don't have the required hardware capabilities to provide both video and subs.

Actually I prefer the internal renderer instead of directvobsub, but that's just me.

donaldtone
9th February 2008, 04:43
Directvobsubs merges the subtitles with the video (making it compatible even with the overlay mixer) while the internal renderer renders the subs over the video in hardware. Probably your "ancient" card don't have the required hardware capabilities to provide both video and subs.

Actually I prefer the internal renderer instead of directvobsub, but that's just me.
I think you are right. When I use ATI 9700, the internal vobsub worked.
I just wonder if the home cinema can give an option to build in directVobsub to support "ancient" vga card. The internal vobsub resumes less resources than directVobsub.