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
16th September 2010, 19:52
its intergrated inside the .exe

Underground78
16th September 2010, 19:53
why doesnt mpc-hc come with the mediainfo.dll anymore

See r2340 (http://mpc-hc.svn.sourceforge.net/viewvc/mpc-hc?view=revision&revision=2340) :
Added MediaInfoLib (v0.7.34) (there's no need for MediaInfo.dll anymore)

MediaInfoLib is now directly bundled in mpc-hc.exe.

edigee
16th September 2010, 20:07
I still get 50% CPU usage with the latest versions, no matter wich file I play. With VLC media player the usage is normal.

The high CPU occurs when I use EVR-CP. With any other renderer, the usage is low.

Same here. I'm on windows 7, 32bit, Intel E1400, HD3650 AGP, Catalyst 10.8. MPC_HC VS2010 latest builds, Aero enable, EVR CP.
My CPU ussage goes to 35-40% for a 720p H264 video using any DXVA decoder. On other players( Splash, Pot player,TMT3) same file goes to 7-12% of CPU load. I have tried to disable some of the features that were ticked on rendering settings/presentation/Vsync/GPU control ,as tetsuo 55 told me to do and the CPU load went down indeeed ,but I can't exactly tell what to untick there...

pdanpdan
16th September 2010, 21:03
I found a problem in the interface. On a clean mpc-hc (32bit or 64bit, any version for as long as I remember), if I do the following:
1. check the "Tray icon" option in options/player
2. show the playlist and separate it from the main interface (by dragging)
3. close player
4. start player
The result is that the main interface shows a sort of placeholder for the playlist
This disapears if I start a movie.
This behaviour disapears if I unckeck the "Tray icon" option

Can anyone confirm this behaviour?

MPC-HTPC
16th September 2010, 21:30
Hi pdanpdan,

I was able to reproduce this behaviour with SVN-Version 1.3.2340.0 following the steps you provided. Would you mind to open a ticket on the bug-tracker for this issue since you discovered it?

Open a new ticket on the trac (http://sourceforge.net/apps/trac/mpc-hc/newticket)

edigee
16th September 2010, 22:38
I still get 50% CPU usage with the latest versions, no matter wich file I play. With VLC media player the usage is normal.

The high CPU occurs when I use EVR-CP. With any other renderer, the usage is low.

On Renderer Settings/GPU Control make sure Flush GPU before Vsync is not ticked.
Untick all the Vsync boxes on Renderer Settings/Vsync

Now the CPU ussage is back to 15% maximum when playing a 720p H264 file.

CSMR
16th September 2010, 23:05
I'm getting some issues with Intel Arrandale (core i3), MPC-HC 64 bit, version 1.4.2561.0.
I have no doubt they are due to bugs in Intel's drivers. MPC-HC was working perfectly when I had an AMD graphics card.

h264: on some videos, image degenerates gradually, restoring to a good image every 12s.
VC-1: no DXVA (well known issue)

Assuming this is Intel's problem to fix, please bug them as much as possible about it!

namaiki
17th September 2010, 01:51
I'm getting some issues with Intel Arrandale (core i3), MPC-HC 64 bit, version 1.4.2561.0.
I have no doubt they are due to bugs in Intel's drivers. MPC-HC was working perfectly when I had an AMD graphics card.

h264: on some videos, image degenerates gradually, restoring to a good image every 12s.
VC-1: no DXVA (well known issue)

Assuming this is Intel's problem to fix, please bug them as much as possible about it!

Kind-of known issue: http://sourceforge.net/apps/trac/mpc-hc/ticket/168
Disable DXVA of the Intel card and these will be gone.
Otherwise, use the Microsoft DTV-DVD Video Decoder if you really want to use DXVA. (add under External Filters and set to 'Prefer')(Only available on Windows 7)

NiFa
17th September 2010, 04:29
Is it possible to add "don't use DXVA if scan type is PAFF or MBAFF" or "use DXVA only if scan type is progressive" checkbox in DXVA settings so it doesn't decode interlaced videos at all?

EDIT:
Would it also be possible to add "use AR from stream" the video frame settings, or should "keep aspect ratio" do it? If so then it's not working when playing video with resolution 1440x1080 but AR is 16:9, MPC-HC shows it as 4:3 not 16:9, and if I use 16:9 from override, then all videos that are 4:3 will also be streched to 16:9.

thuan
17th September 2010, 04:40
I still get 50% CPU usage with the latest versions, no matter wich file I play. With VLC media player the usage is normal.

The high CPU occurs when I use EVR-CP. With any other renderer, the usage is low.

Turns off wait for flushes, then. Not every guide on the internet should be followed blindly.

pdanpdan
17th September 2010, 04:44
[QUOTE=MPC-HTPC;1443604]

Ok, I added it to trak

nevcairiel
17th September 2010, 07:05
@a_afra:
I noticed that EVR-CP always uses RGB32 for its internal surfaces. Is this required for the new CMS features to work?
I'm asking because my GFX has an option to output YCbCr over HDMI, and my TV understands that perfectly, and since the video decoders mostly output a YCbCr format as well, this would save on some conversions, wouldn't it?

Previous versions of EVR-CP (and EVR-Sync) as well, show NV12 as being used in the EVR Chain (Mixer Output on the OSD)

MPC-HTPC
17th September 2010, 08:02
EDIT:
Would it also be possible to add "use AR from stream" the video frame settings, or should "keep aspect ratio" do it? If so then it's not working when playing video with resolution 1440x1080 but AR is 16:9, MPC-HC shows it as 4:3 not 16:9, and if I use 16:9 from override, then all videos that are 4:3 will also be streched to 16:9.

Hi NiFa,

as Aleksoid (http://forum.doom9.org/showthread.php?p=1443284#post1443284) pointed out on the previous page of this thread, a "Use AR from Stream"-Function is already implemented.
Just go to the internal filters section in the options and double click the internal filters for the video filter you want to use. There you have a checkbox "Read AR from stream". In Rev 2565 this check box was also added for MPEG2 by Underground78. Usually the "Read AR from stream" checkboxes are ticked by default. Hope this helps!


@ pdanpdan

Thanks for adding the issue to the trac!

NiFa
17th September 2010, 08:08
I don't use internal filters I use ffdshow so that I can have better control that what gets decoded what not.

MPC-HTPC
17th September 2010, 08:20
Then I am out of ideas here, since I only use MPC-HC's internal filters. Maybe somebody else can jump in on this topic and give you further assistance!

chros
17th September 2010, 14:21
Has anybody a laptop with Geforce 9600M GT videocard int it?
Is VC1 DXVA working with it? For me it's not ...

Thanks

nevcairiel
17th September 2010, 14:27
The 9600M GT is a G96, which only supports the VP2 feature set. VP2 only supports assisted decoding, not full bitstream decoding, so VC-1 DXVA is only supported with VP3 and above.

Ingram
17th September 2010, 18:18
Does MPC-HC properly support VC-1 Blurays with True HD? I'm testing with a copy of Tango & Cash which is VC-1/TrueHD. The audio drops out every 10 seconds on the TrueHD track, if I switch to the normal AC3 track the audio stops skipping but there's breakup of the image.

Running directly from the disc if that matters, using latest beta version (mpc-homecinema.1.4.2561.0.x86.msvc2010) with FFDShow ffdshow_rev3562_20100907 and EVR Sync on Vista 32bit.

If it helps, FFDShow shows that the audio stream goes away when the audio breaks up, so I think it's occurring before it hits FFD.

Cheers.

CSMR
17th September 2010, 18:44
Kind-of known issue: http://sourceforge.net/apps/trac/mpc-hc/ticket/168
Disable DXVA of the Intel card and these will be gone.
Otherwise, use the Microsoft DTV-DVD Video Decoder if you really want to use DXVA. (add under External Filters and set to 'Prefer')(Only available on Windows 7)
OK, well then it's also a problem on i3/5 graphics.
Please everyone using Intel graphics, contact Intel support to annoy them into fixing their bugs!

dbone1026
17th September 2010, 18:50
OK, well then it's also a problem on i3/5 graphics.
Please everyone using Intel graphics, contact Intel support to annoy them into fixing their bugs!

This issue has been around for a while, I thought the MPC guys finally got info from Intel to look in to.

Also, keep in mind that using the MS DTV DVD Video Decoder you lose DXVA for VC1 (I think it ends up using the WMA DMO Decoder or something like that), not a problem for me since my core i5 can pick up the slack

nevcairiel
17th September 2010, 19:08
This issue has been around for a while, I thought the MPC guys finally got info from Intel to look in to.

Also, keep in mind that using the MS DTV DVD Video Decoder you lose DXVA for VC1 (I think it ends up using the WMA DMO Decoder or something like that), not a problem for me since my core i5 can pick up the slack

I don't think its strictly a Intel issue. Intel implemented DXVA slightly differently then ATI or NVIDIA, and MPC-HC just doesn't seem to support it 100% yet.

tetsuo55
18th September 2010, 01:51
@ All developers and translators.

We have a translation freeze, the new translation system is being prepared and will be ready soon.
Translators no longer have SVN access, with the new system thats no longer required.
Any translation changes that would be committed will be lost when the new system goes live.

This includes mplayerc.rc, so any patches touching this file are best postponed until we have the new system.


Once translating is possible again i will post an update and explain the new system.

Sjakko
18th September 2010, 10:07
Hi guys,

I'd like to use MPC Home Cinema to timeshift DVB MPEG-TS recordings, but the internal MPEG source filter won't update the video's duration as it the file is growing. Is there a way to do it (without using an external source filter)? If not, is this feature planned?

Thanks!

chros
18th September 2010, 10:52
The 9600M GT is a G96, which only supports the VP2 feature set. VP2 only supports assisted decoding, not full bitstream decoding, so VC-1 DXVA is only supported with VP3 and above.
Thanks... It seems that these pages are wrong:
http://www.notebookcheck.net/NVIDIA-GeForce-9600M-GT.9449.0.html
(It says that it has VP3 ...)
According to DXVA Checker it only accelerates h264 ...

Strange (or not? :)), that 9300M GS accelerates both MPEG2, VC-1, H264 ... (I have tried it.)
http://www.notebookcheck.net/NVIDIA-GeForce-9300M-GS.9452.0.html

betaking
18th September 2010, 11:43
Revision 2582 - Directory Listing
Modified Sat Sep 18 10:14:23 2010 UTC (28 minutes, 30 seconds ago) by xhmikosr
Removed DSM Converter
why Removed DSM Converter?:confused:
becaues,DSM Converter is very useful for most people!

bokonon
18th September 2010, 11:53
Hi guys,

I'd like to use MPC Home Cinema to timeshift DVB MPEG-TS recordings, but the internal MPEG source filter won't update the video's duration as it the file is growing. Is there a way to do it (without using an external source filter)? If not, is this feature planned?

Thanks!

I'd also be interested in this feature. At the moment, I use MPC-HC for everything except this. I have to rely on VLC 0.9.9 for this particular scenario :(

kutjong
18th September 2010, 16:34
Would it be possible to have an option for MPC-HC to never lose focus to other applications? Sometimes when I'm watching a movie or something in MPC-HC in fullscreen, the player will go out of fullscreen mode to windowed with the message "focus lost to application *.exe". This can sometimes be very annoying, especially in the middle of a film.

So, would it be possible to implement an option that would allow for MPC-HC never to lose focus to another application? :)

tetsuo55
18th September 2010, 16:36
Revision 2582 - Directory Listing
Modified Sat Sep 18 10:14:23 2010 UTC (28 minutes, 30 seconds ago) by xhmikosr
Removed DSM Converter
why Removed DSM Converter?:confused:
becaues,DSM Converter is very useful for most people!the DSM format is a dead one, mkv is far better than it in every way.

We have removed the DSM converter from future mpc-hc releases but you can still compile it back in yourself from the legacy branch.

I suggest you use mkvmerge instead though.

betaking
18th September 2010, 17:12
the DSM format is a dead one, mkv is far better than it in every way.

We have removed the DSM converter from future mpc-hc releases but you can still compile it back in yourself from the legacy branch.

I suggest you use mkvmerge instead though.

thanks for the answer! i begin try mkvmerge since today!:)

a_afra
18th September 2010, 17:21
I noticed that EVR-CP always uses RGB32 for its internal surfaces. Is this required for the new CMS features to work?
I'm asking because my GFX has an option to output YCbCr over HDMI, and my TV understands that perfectly, and since the video decoders mostly output a YCbCr format as well, this would save on some conversions, wouldn't it?


It has nothing to do with the CMS. The 3D internal surfaces have always been RGB32, because Direct3D operations (excluding StretchRect, which we use for 2D and offscreen surfaces) require RGB textures. Basically, the surface format was reported incorrectly before my patch.

soulkeeper
18th September 2010, 17:41
i'm trying to play .evo file from an hd-dvd(vc-1) with no success..it gives the message "could not render the file"
internal matroska and mpeg ps/ts splitter checked as vc-1 ffmpeg decoder checked...

mpc-hc 1.3.2372 msvc 2010

VipZ
18th September 2010, 19:03
i'm trying to play .evo file from an hd-dvd(vc-1) with no success..it gives the message "could not render the file"
internal matroska and mpeg ps/ts splitter checked as vc-1 ffmpeg decoder checked...

I find the only way to somewhat play EVO's is by using Haali, next best is LAVFSplitter with stuttering, but MPC-HC seems to completely fail for me.

renq
18th September 2010, 19:07
Thanks... It seems that these pages are wrong:
http://www.notebookcheck.net/NVIDIA-GeForce-9600M-GT.9449.0.html
(It says that it has VP3 ...)
According to DXVA Checker it only accelerates h264 ...

Strange (or not? :)), that 9300M GS accelerates both MPEG2, VC-1, H264 ... (I have tried it.)
http://www.notebookcheck.net/NVIDIA-GeForce-9300M-GS.9452.0.html
Dudes, why not use Wikipedia?
http://en.wikipedia.org/wiki/Purevideo
:o

nevcairiel
18th September 2010, 19:25
Strange (or not? :)), that 9300M GS accelerates both MPEG2, VC-1, H264 ... (I have tried it.)


The 9300M GS is a G98. The G98 (and the ION) are the only VP3 chips. With the exception of the GT200 (which is VP2), all higher numbers are VP4, and all lower are VP2

DJ_Phatic
18th September 2010, 19:59
I have some mkvs with a flac stream and ac3 stream, I never recall there being an issue previously but using the internal matroska splitter along with ffdshow for audio I find that both audio tracks are played at once.

http://img834.imageshack.us/img834/9121/flacac3graph.png
Any suggestions?

nevcairiel
18th September 2010, 21:25
The internal MKV splitter always exports all streams. MPC-HC internally has the audio switcher which then lets you choose which stream is going to play. When you manually build the graph in grpahstudio, you wont get this. Also, don't turn off the stream switcher in MPC-HC ;)

DJ_Phatic
18th September 2010, 22:36
Also, don't turn off the stream switcher in MPC-HC ;)

Ah, that will be why. I assumed that disabling the stream switcher in MPC-HC and having it enabled in ffdshow would work fine, with both streams going to ffdshow audio decoder.

SamuriHL
18th September 2010, 22:55
Ah, that will be why. I assumed that disabling the stream switcher in MPC-HC and having it enabled in ffdshow would work fine, with both streams going to ffdshow audio decoder.

So did I. I guess I better go turn that back on. :D

janos666
18th September 2010, 23:04
Ah, that will be why. I assumed that disabling the stream switcher in MPC-HC and having it enabled in ffdshow would work fine, with both streams going to ffdshow audio decoder.

I have been using the FFDShow stream switcher without any problems. Didn't you accidentally disable both of them? Do you use an up-to-date FFDShow build?

nevcairiel
19th September 2010, 00:33
I have been using the FFDShow stream switcher without any problems. Didn't you accidentally disable both of them? Do you use an up-to-date FFDShow build?

It'll just not work properly when you have one stream thats not decoded with ffdshow, like in his example there using the MPC MPA Decoder

SamuriHL
19th September 2010, 00:36
Or in my case when doing madVR and trying to bitstream a BD using MPC-HC's internal splitter. OOPS! :D

Tom Keller
19th September 2010, 01:21
It'll just not work properly when you have one stream thats not decoded with ffdshow, like in his example there using the MPC MPA Decoder
But you could enable the support for uncompressed audio in the ffdshow audio decoder. That should do the trick for analog audio output, cause then ffdshow should connect between the other audio decoder and the renderer and the ffdshow audio switcher will work...

robpdotcom
19th September 2010, 01:36
What if you prefer to use Reclock for flac/LPCM? Is there any way to switch between those streams and a DTS/DD stream? It seemed to me that it wasn't possible, since DTS/DD passed through DirectSound (not possible to switch renderers while playing?).

The only way I found was to enable bitstreaming with Reclock, but I got occasional dropouts when bitstreaming through Reclock.

click2
19th September 2010, 03:16
I have an unrelated problem: Despite having Haali Renderer avaliable to select, VMR-7 is still used.

<Image> (http://i.imgur.com/O3VnT.png)

Snowknight26
19th September 2010, 04:05
That's not VMR-7, that's Video Renderer. And funny that you even have a video considering his shows don't have video.

khagaroth
19th September 2010, 09:05
Whats up with SVN? I'm getting 403 forbidden when trying to update Czech translation.

Underground78
19th September 2010, 09:07
Whats up with SVN? I'm getting 403 forbidden when trying to update Czech translation.

See :

@ All developers and translators.

We have a translation freeze, the new translation system is being prepared and will be ready soon.
Translators no longer have SVN access, with the new system thats no longer required.
Any translation changes that would be committed will be lost when the new system goes live.

This includes mplayerc.rc, so any patches touching this file are best postponed until we have the new system.


Once translating is possible again i will post an update and explain the new system.

nevcairiel
19th September 2010, 09:24
But you could enable the support for uncompressed audio in the ffdshow audio decoder. That should do the trick for analog audio output, cause then ffdshow should connect between the other audio decoder and the renderer and the ffdshow audio switcher will work...

Sure, that would work again, but imho its a rather ugly workaround. Whats wrong with the built in audio switcher? ;)

DJ_Phatic
19th September 2010, 10:21
It'll just not work properly when you have one stream thats not decoded with ffdshow, like in his example there using the MPC MPA Decoder

So it does, if I set ffdshow to decode the ac3 stream rather than passthrough I can use the ffdshow stream switcher.

Not that it's an issue using the internal one.

khagaroth
19th September 2010, 10:34
After a quick glance, the new translation system doesn't look that great for now, but ok, it's not final so hopefully it will get better. Just in case you didn't notice that yet, it doesn't find changed strings, only removed or added. And how will it handle situations where a dialog/control needs to be resized to fit a longer string?