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
19th September 2009, 21:00
Thanks for the info.
I dont know what gothsync is (is maybe a renderer like EVR?) but on my pc theres a very impressive difference on CPU usage.
I hope it will be implemented asap on MPCHC. :)

/edit: i found the specific 3d and tried the available modification of MPCHC. I can confirm the right solution, it uses less CPU than MPCHC.Gothsync is the new EVR-CP and VMR9-renderless renderer being written by one of our dev's.

More info available here: http://forum.doom9.org/showthread.php?t=148221

the main focus is judderfree playback, and to achieve this, among other things the cpu usage has been lowered.

v0lt
19th September 2009, 21:49
I installed the MPC-HC 1281, deleted the d3dx9_42.dll, and VMR9(renderless) works fine without errors. (WinXP sp3, DirectX March 2009)

Why install d3dx9_42.dll, if we have errors with it on the old DirectX, but on the new DirectX (August 2009) it is not needed, because it already installed in the system?

tetsuo55
19th September 2009, 21:57
I installed the MPC-HC 1281, deleted the d3dx9_42.dll, and VMR9(renderless) works fine without errors. (WinXP sp3, DirectX March 2009)

Why install d3dx9_42.dll, if we have errors with it on the old DirectX, but on the new DirectX (August 2009) it is not needed, because it already installed in the system?usually just including the d3dx9_**.dll file would work, but with this update too many files where changed for it to work.

If you install the redist the file isnt needed at all.

clemdaddy
20th September 2009, 02:35
Hello folks, excuse me if this has been asked or answered before... I tried to searching and have not found the answer.

I'm running winxp with a nvidia 8400gs. I can get DVXA for h.264, AVC and vc-1 using VMR9. However, when i switch to EVR (i have .NET 3.5 and directx end user runtime dated 9/16/2009 installed) I can only get h.264 and avc to work. h.264 and AVC load up and start playing automatically without issue. VC-1 loads but will not start.

I'm using internal mpc hc filters.

thanks

Keiyakusha
20th September 2009, 03:35
clemdaddy
VC-1 DXVA with nvidia 8400gs? It never worked for me... Actually I always thought VC-1 is not supported by 8400gs. Can you tell exact combination of filters used to get it work with VMR9?

P.S.
h264 and AVC are the same.

clemdaddy
20th September 2009, 04:52
clemdaddy
VC-1 DXVA with nvidia 8400gs? It never worked for me... Actually I always thought VC-1 is not supported by 8400gs. Can you tell exact combination of filters used to get it work with VMR9?

P.S.
h264 and AVC are the same.

Ahh, h264 and AVC are the same! I was wondering why they were grouped together in the list of filters (i thought maybe they shared similar encodings)

I register the following standalone filters provided by mpc hc for H264 and VC1: MpegSplitter.ax, MP4Splitter.ax and MPCVideoDec.ax.

Here is a screen shot of The Matrix (VC-1) with DXVA shown on the bottom left.

http://img199.imageshack.us/img199/8295/matrixzd.th.jpg (http://img199.imageshack.us/i/matrixzd.jpg/)

Lincoln Burrows
20th September 2009, 04:56
the first 6 files are neededHere are the files (445 MB total), if you can analyze:

http://www.megaupload.com/?d=2HGQQ55N

Please tell me if you need anything else. Thanks! :logfile:

P.S. While the Cyberlink video-decoder is making the whole DVD project working (I can reach all menus and the Warner logo appears right away), when I start the disc (Play on the DVD project = will open all 4 episodes at once, 180 min total time, or you can choose a bunch of episodes manually in the episodes menu), and then I move MPC's cursor to a distant timecode (for example, 2minutes to 2hours), the player crashes that moment. I tried to do the same thing with PDVD Ultra 9 and it's simply not crashing, and doing everything I asked. I guess you could say this is another sign of problem, this time probably caused by some DVD Navigator filter embedded on MPC...

sharangad
20th September 2009, 11:44
clemdaddy
VC-1 DXVA with nvidia 8400gs? It never worked for me... Actually I always thought VC-1 is not supported by 8400gs. Can you tell exact combination of filters used to get it work with VMR9?

P.S.
h264 and AVC are the same.


There're two different 8400 GSs. One is the original G86 based version and the other is the G98 based version which is identical in performance to the desktop 9400 mobo GPU (except for lack of audio).

G98 based 8400 GS supports VC-1 and MPEG-2 bitstream ( and iDCT ) modes as well as H.264 FGT and non-FGT modes.

G86 only supports iDCT and earlier modes for VC-1 and WMV as well as bitstream for H.264.

You can tell them apart from the clock speeds.

Lincoln Burrows
21st September 2009, 07:47
Now that I have updated my MPC-HC version in one of my computers, each time I push fullscreen or change the video's size the image is all black or fuzzy with different colors, but you can't see any video details anymore. It seems this bug was introduced in this last version, what happened?

My working version was svn 1269. I didn't changed the old settings, in fact I instructed svn 1281 to save these settings. I was using VMR9-renderless. When I changed MPC-HC to Overlay Mixer, all videos were normal. Is there a conflict with this setting in this version?

Aleksoid1978
21st September 2009, 07:52
Now that I have updated my MPC-HC version in one of my computers, each time I push fullscreen or change the video's size the image is all black or fuzzy with different colors, but you can't see any video details anymore. It seems this bug was introduced in this last version, what happened?

My working version was svn 1269. I didn't changed the old settings, in fact I instructed svn 1281 to save these settings. I was using VMR9-renderless. When I changed MPC-HC to Overlay Mixer, all videos were normal. Is there a conflict with this setting in this version?

Try update DirectX to latest.

THX-UltraII
21st September 2009, 19:09
I have a problem with Reclock/MPC-HC usage:

When I use Reclock as audio renderer as output and I play a file I get 2 short audible 'clicks/pops' (no audio) when the file begins playing. When I don t use Reclock as audio output the clicks are gone. I ve also noticed that lowering the sound-pre buffer size in the Reclock settings makes the duration of the clicks (no sound) smaller.

Could this be fixed in some way?

Snowknight26
21st September 2009, 19:56
Check it in another player. If it happens there too, it's not an MPC-HC issue, so post in the appropriate forum/thread.

Lincoln Burrows
21st September 2009, 20:25
Try update DirectX to latest.Offtopic: Is there a way to check what DirectX version I am using?

This machine was formatted 5 years ago and it's in bad shape (Windows is saturated, and I wasn't able to update XP SP1 to SP2 before, it returned some error when updating). I have another machine using XP SP3 and everything is normal there.

I hope the last DX can accept this old system.

hoborg
21st September 2009, 20:43
@THX-UltraII

I still need to know which filters you use.
and cca is probably right, i don't use dxva for my dvd's and menu's work reasonably well.

This is a known problem, but there might be a solution for it eventually, there is a POC (http://en.wikipedia.org/wiki/Proof_of_concept) where dvd navigation works perfectly with any combination of navigator/decoder.
Hopefully it can be used eventually to get dvd navigation working better in mpc-hc

Just to known - DVD navigation + DXVA(highlighted butons) works fine on XPSP3 + MS DVD navigator + WMR9 + Cyberlink PDVD decoder, but it is broken on Vista/Win7

Brazil2
21st September 2009, 20:48
Offtopic: Is there a way to check what DirectX version I am using?
dxdiag.exe

namaiki
21st September 2009, 23:41
I have a problem with Reclock/MPC-HC usage:

When I use Reclock as audio renderer as output and I play a file I get 2 short audible 'clicks/pops' (no audio) when the file begins playing. When I don t use Reclock as audio output the clicks are gone. I ve also noticed that lowering the sound-pre buffer size in the Reclock settings makes the duration of the clicks (no sound) smaller.

Could this be fixed in some way?
I don't think that's really an issue.

When you first open a video with Reclock, the video is played at it's original speed and Reclock does some calculations for what is the optimal speed (i.e. 23.976->24.8FPS @ 62Hz), and then you hear the silence and after the silence, the video is played at the new speed.

clemdaddy
22nd September 2009, 02:52
There're two different 8400 GSs. One is the original G86 based version and the other is the G98 based version which is identical in performance to the desktop 9400 mobo GPU (except for lack of audio).

G98 based 8400 GS supports VC-1 and MPEG-2 bitstream ( and iDCT ) modes as well as H.264 FGT and non-FGT modes.

G86 only supports iDCT and earlier modes for VC-1 and WMV as well as bitstream for H.264.

You can tell them apart from the clock speeds.

Didnt know there were different versions of the 8400gs. So I must have the G98 version, since I get DVXA with VC-1 and VMR9? But that doesn't explain why only VC-1 doesn't work in EVR mode.

Lincoln Burrows
22nd September 2009, 07:17
Question: Is there a way to display closed-caption subtitles from some DVD-project?

When I try to select those subtitles, the player simply says there are no subtitles making that option unavailable for me.

On the other hand, PowerDVD has an option in the menu for it, but I wanna use MPC-HC (unless there's a way to do this that I am not aware, perhaps some Cyberlink filter?).

For the record, the DVD I was testing only features one subtitle track, and it's in Closed captions, so there are no others embedded.

THX-UltraII
22nd September 2009, 12:24
Check it in another player. If it happens there too, it's not an MPC-HC issue, so post in the appropriate forum/thread.

the problem is reclock (I ve had contact with James, the author of reclock).

thxz for your reply.

THX-UltraII
22nd September 2009, 12:24
are there people out there using the x64 version of MPC-HC already?

nlnl
22nd September 2009, 13:15
Is there anyway in MPC-HC to output 1080p23.976 to videorenderer/driver from 1080i59.94 source (AVC codec, film, 3:2 telecine inside) using hardware acceleration (DXVA, Cuda) for decoding and/or deinterlacing?

Piyoko
22nd September 2009, 14:32
Is there anyway in MPC-HC to output 1080p23.976 to videorenderer/driver from 1080i59.94 source (AVC codec, film, 3:2 telecine inside) using hardware acceleration (DXVA, Cuda) for decoding and/or deinterlacing?
That would be useful, but wouldn't it depend on the hardware part of the processing? ATI Avivo can do IVTC ("Pulldown detection"), but I think the problem is that it can't do it consistently, so the output will still be at 60 fps to accommodate the sections it can't de-interlace to film.

On a slightly related note, I posted a bug report previously about jerky pans when playing 1080i content and I believe I may have found what's causing the problem. When de-interlacing or IVTC'ing the video Avivo is probably assuming a 60 fps frame rate, but the VSync code or whatever of MPC is trying to force the frame rate at the specified fps of the stream (30 fps) which causes stuttering.

I've checked this in the Ctrl+J information when playing said videos. Enabling Alternative VSync or running in D3D Fullscreen mode makes the stuttering go away, because then the frame rate is reported at around 60 fps. I don't really know if this would be possible to fix, maybe some kind of "force 60 fps for interlaced" mode? (If it's indeed the actual problem.) I'll try to update the bug report anyway.

Keiyakusha
22nd September 2009, 14:40
About ReClock...
To be honest, so far I don't understand why any kind of problems with it have something to do with MPC-HC. If with reclock something is better than without, then MPC should provide similar functionality. As for me, maybe I used it wrong, but unless I set up screen refresh rate to match with video fps (which normally never happens on my monitor) it doesn't give me any better results than MPC. And if refresh rate match FPS - MPC-HC already gives me perfect result... Maybe things a bit different for other peoples, but work on MPC-HC renderers etc. still in progress...

Jong
22nd September 2009, 16:24
About ReClock...
To be honest, so far I don't understand why any kind of problems with it have something to do with MPC-HC. If with reclock something is better than without, then MPC should provide similar functionality. As for me, maybe I used it wrong, but unless I set up screen refresh rate to match with video fps (which normally never happens on my monitor) it doesn't give me any better results than MPC. And if refresh rate match FPS - MPC-HC already gives me perfect result... Maybe things a bit different for other peoples, but work on MPC-HC renderers etc. still in progress...Reclock:

1. improves the coordination of clocks in the PC so they all agree on a common definition of time. This is probably of marginal benefit in a modern PC, but nice none the less.

2. Prioritises video over audio quality (reverse of a PC without Reclock) - if frame rate and refresh rate do not match it changes frame rate so they do and resamples audio (to a very high standard) instead of dropping/repeating frames and keeping audio the same (as Windows normally does).

3. if you have the right renderer and renderer settings it can time frame presentation so you do not get "synchronised frame rate/refresh rate judder" (vsync correction)

1 is probably not that important now, but probably does help reduce the odd dropped frame. 3 is being worked on by the Gothsync branch (and was also dealt with by Beliyaal)

2 is not really planned at all other than with Gothsync for very small corrections. There is no way to playback PAL movies on DVD, sped up to 25Hz, at their original speed without Reclock and no way to play 24p Blu-ray @50Hz without pulldown judder if you live in PAL-land and have a 50Hz(native) TV.

Sorry it didn't work out for you, but it does do a very good job of 2 and it would be a pretty major piece of work to replicate this in MPC-HC multi-channel high quality resampling of audio, with option to re-encode to AC3, if needed, for s/pdif connected sound.

me7
22nd September 2009, 19:16
I need a recent build of MPC-HC but xvidvideo.ru, my usual source, is down. Where else can I get svn builds?

ikarad
22nd September 2009, 19:35
question:
why this bug has priority 1?
http://sourceforge.net/tracker/?func=detail&atid=854651&aid=2805913&group_id=170561
2 weeks ago priority was 7.
although this bug still exists.

tetsuo55
22nd September 2009, 20:03
question:
why this bug has priority 1?
http://sourceforge.net/tracker/?func=detail&atid=854651&aid=2805913&group_id=170561
2 weeks ago priority was 7.
although this bug still exists.Bugs are being re-evaluated.
Don't worry about the priority for now.

clsid
22nd September 2009, 20:57
Some comments with regard to the "Troubleshooting guidelines":
* VS2005/VS2008 runtimes are not used by MPC and are thus irrelevant!
* internal/external filters -> using the word "behavior" there is weird, just tell users to give a list of the used filters.
* Don't instruct users to use GraphStudio, but let them look in the 'Filters' menu during playback.
* Add a link for MediaInfo.

I also strongly suggest to upload development builds to SourceForge. Depending on a third party site is not a wise idea.

saint-francis
22nd September 2009, 22:10
I also strongly suggest to upload development builds to SourceForge. Depending on a third party site is not a wise idea.

This is one of the best ideas I've seen in a long time. At the very least Alexins builds could be posted there.

THX-UltraII
23rd September 2009, 07:18
there seem to be problems with the SVN build site since yesterday. Is it possible that someone uploads the latest x64 MPC-HC build for me please?

Aleksoid1978
23rd September 2009, 07:28
Question to all - someone else have a problem, slowly open files on Win 7 x64, MPC-HC x86, EVR Custom. If select other Output - all ok, but DXVA not work.

P.S. - only if ffdshow use for video decode.

Aleksoid1978
23rd September 2009, 07:37
there seem to be problems with the SVN build site since yesterday. Is it possible that someone uploads the latest x64 MPC-HC build for me please?

See here - http://aleksoid.tosei.ru/Dist/

me7
23rd September 2009, 11:39
See here - http://aleksoid.tosei.ru/Dist/

Thanks :)

ryrynz
23rd September 2009, 14:02
Is there any way to automatically load the pan & scan option scale to 16:9 TV? If not, I would like to request this option, thank you.

Scoty
23rd September 2009, 14:10
For what ist MPCHCShellExt64.dll and how use it with MPC?

MatMaul
23rd September 2009, 19:15
Question to all - someone else have a problem, slowly open files on Win 7 x64, MPC-HC x86, EVR Custom. If select other Output - all ok, but DXVA not work.

P.S. - only if ffdshow use for video decode.
same here.
http://forum.doom9.org/showthread.php?t=149371

Aleksoid1978
23rd September 2009, 23:07
For what ist MPCHCShellExt64.dll and how use it with MPC?

It's Explorer Context Menu ShellExtension,
run regsvr32 MPCHCShellExt64.dll to register and see new menu item in Explorer context menu on directory and file type register to MPC-HC.

Bumsfalara
23rd September 2009, 23:10
Just one small question:

Is it recommend to delete the mplayer.ini when upgrading to a new version? I just upgraded vom 1189 to 1284. As far as I know Beliyaas code is not anymore implemented using mpc-hc, so I was wondering if using an old .ini could cause some problems.

73ChargerFan
24th September 2009, 00:23
I don't, only if the new version has problems or is a major, major upgrade.

tetsuo55
24th September 2009, 06:50
Just one small question:

Is it recommend to delete the mplayer.ini when upgrading to a new version? I just upgraded vom 1189 to 1284. As far as I know Beliyaas code is not anymore implemented using mpc-hc, so I was wondering if using an old .ini could cause some problems.I do recommend this, we have changed a lot of settings.
beliyaals changes are still in there.

cengizhan
24th September 2009, 18:30
Is there a way to make the player quit after playing has ended ? That would be very helpful.

Inspector.Gadget
24th September 2009, 18:38
cengizhan - make a shortcut to call MPC-HC with switches "/play" and "/quit", then launch files by dragging them onto that shortcut.

Lincoln Burrows
24th September 2009, 18:49
Did you guys noticed, when opening some m2ts (from the movies, usually files 20 GB or larger) if there are any slowdowns during playback? I never noticed such thing with at least a dozen of different titles, only the last couple days with the movie "Risky Business", decrypted with the last AnyDVD-HD version.

My PC is a Core Quad 9450, 2 GB/RAM, Windows XP SP3, whole disk-encrypted (TrueCrypt). It can play all those 1080P files properly.

When the file is playing, the slowdown is affecting in it's entirely, I mean, it runs 2 or 3 seconds and then freezes, and keeps going, freezes again, and so forth. You can't watch the movie this way.

I was thinking about using Haali Media Splitter but I believe it has a bug that is preventing me from selecting embedded subtitles from those m2ts containers. The movie was not remuxed, instead, it was a 1:1 perfect copy, with the region/protections removed, of course.

I just need to know if something like this happened before with other BD title, decrypted. One thing I am taking under consideration is the fact that m2ts file has 8 audio tracks, instead of 3, 4 or 5 (english and some dubs).

Perhaps this is what is causing the problem? I believe the only movie I tested with the same number of tracks was "Eraser" (with 9), but it was using BD-25, not BD-50, so the m2ts file from the movie was smaller.

The conclusive test: when opening the m2ts from the movie with BSPlayer PRO, I saw no slowdowns at all. I also tested with Total Media Theatre from Arcsoft, and GOMPlayer. Still no sign of lags during playback.

Can I assume the internal MPC-HC filters sometimes can't handle those files properly or the problem must be with me? I tried different configurations here and nothing worked.

clsid
24th September 2009, 18:54
Play -> After Playback
(Note that this setting only applies for the current session, it does not get remembered, nor should it before anyone asks)

cengizhan
24th September 2009, 19:30
cengizhan - make a shortcut to call MPC-HC with switches "/play" and "/quit", then launch files by dragging them onto that shortcut.

So adding /quit switch in registry will make it permanent ?
:thanks:

Edit : /quit did not work It was /close

Smoofie
24th September 2009, 20:45
Hi, I am having a problem with MPC. I deactivated FFDshow/haali codec for Matroska,h.264 etc and MPC is using the EVR output. But yet the GPU acceleration isn't working. Take a look at this: http://img268.imageshack.us/img268/3018/clipboard01ss.jpg I am getting that all the time. does anyone know what it is and how I can fix it. It aint a GPU problem cause I'm running games like MAss effect, CoD4,bf2, crysis etc without artifacts or something.

clsid
24th September 2009, 21:11
DXVA is not the same as a game. In fact, it is totally different. So it is perfectly possible that your problems are due to a bug in your graphics driver.

If you want the developers to help you, then you need to provide more information, such as the brand and model of your graphics card. Also post MediaInfo output for that file you were playing.

Smoofie
24th September 2009, 21:18
I have an ATI 4870 512mb Toxic edition with the latest drivers, It's happening with all 1080p files(bluray)

Aleksoid1978
25th September 2009, 01:30
I have an ATI 4870 512mb Toxic edition with the latest drivers, It's happening with all 1080p files(bluray)

Try different video drivers. Many error in DXVA - it's driver error.

Also for test try other DXVA compatible video decoder, like Arcsoft or Cyberlink.

Casshern
25th September 2009, 02:05
Hi, I am having a problem with MPC. I deactivated FFDshow/haali codec for Matroska,h.264 etc and MPC is using the EVR output. But yet the GPU acceleration isn't working. Take a look at this: http://img268.imageshack.us/img268/3018/clipboard01ss.jpg I am getting that all the time. does anyone know what it is and how I can fix it. It aint a GPU problem cause I'm running games like MAss effect, CoD4,bf2, crysis etc without artifacts or something.

Try to enable the options "Flush GPU after Vsync" and "Wait for GPU Flush". Disable all other vsync options and use vmr9.