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

rsd78
26th May 2011, 18:18
Hi,

I know this topic has been brought up, but I didn't see any new information recently so I thought I would ask.

Any plans or what is the status of fixing DXVA for Intel based platforms (e.g. Sandy Bridge)?

Thanks

Anyone able to provide any information? Thanks!

hayan
26th May 2011, 21:09
broken seek (keep Hold down the "← or →" button) on flv or realmedia

Skittelor
28th May 2011, 17:56
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.
Test-drive this build (http://cid-d561cc7d122f3f32.office.live.com/browse.aspx/Shared/MPCHC%5E_SWSCALER%5E_MOD) featuring some new internal software decoder options.
More info in the readme. Also see ticket 719 (http://sourceforge.net/apps/trac/mpc-hc/ticket/719).

http://public.sn2.livefilestore.com/y1p0zCeMT3iqjbz83hAB4ctETpL_fM5vaUJt1gG6NT7lowch9VgTX8vj1X5mNUtmFzzXNADVagu0ayI2Hbag1lvUg/whatsnew.png?psid=1

Are these changes going to make it to the trunk? They're great facelifts. It would be great if they did.

@v0lt and @bobdynlan: It'd be nice if you guys gave us updates once in a while :)

bigzaj
28th May 2011, 21:40
I'm having issues with keyboard shortcuts. For example I set pause to Ctrl-P but it does not respond at all. The cursor comes up but it does not pause. It was working fine until a few days ago. My system did not change but it still won't work. Also I have it set to open files in full screen, when in full screen I cannot right click or anything to get a menu, all I can do is exit (which the keyboard shortcut works for)

namaiki
29th May 2011, 09:49
I'm having issues with keyboard shortcuts. For example I set pause to Ctrl-P but it does not respond at all. The cursor comes up but it does not pause. It was working fine until a few days ago. My system did not change but it still won't work. Also I have it set to open files in full screen, when in full screen I cannot right click or anything to get a menu, all I can do is exit (which the keyboard shortcut works for)

Try reassign 'Toggle Pixel Shaders' which is also set for Ctrl+P.

Try disable D3D Fullscreen mode if it is enabled. (View-> Options-> Output)

PlazzTT
29th May 2011, 11:21
I have a HDTV capture which is 1440x1080. The DAR is 16:9, so the display width and height is 1920x1080.

When I use File->Save Image, is it possible to get the screenshot in 1920x1080 instead of 1440x1080 (without having to resize it in Photoshop later). The Snapshot option in VLC creates a 1920x1080 image.

I suppose it's up for debate which one it should be, just wondering if there's an option in MPC-HC.

JanWillem32
29th May 2011, 17:03
@bigzaj: Since r2964 or something all commands in D3D Fullscreen are like if you tap two or three times. It's annoying for me too, but I haven't exactly found the source of that bug yet. Menus in exclusive mode will have to be made by someone familiar with D3D GUI items. It would be great to have some more controls in addition to only the seekbar.

@PlazzTT: The "Save Image" function only saves a partially rendered item from the mixer. To get a full render, right-click in the main window, set "Full Screen", wait for the mouse cursor to disappear and use the "Print Screen" button on the keyboard. That will capture a fully rendered picture. Depending on your rendering settings, it's in a better quality usually, too. To only enable aspect ratio correction, without fully resizing a picture, use "View", "Video Frame", "Normal Size" first.
You will have to paste the resulting item from the clipboard in an image editor. Most editors will feature an automatic clipping function for if there's any black bars.
If you are into color accurate processing of the images: disable the color management in MPC-HC, take the screenshot and assign a proper HDTV, NTSC, PAL/SECAM color profile on the saved image.
Improving the image saving functions is on my development wish list, but it's not priority (see my thread for reference). I did improve the speed a bit with the 10-, 16- and 32-bit color surface modes when saving images. I also have a screenspace image saving function template for during development, but that one won't convert images to 8-bit, and most people don't know what to do with .PFM or .DDS image files.

jos99
29th May 2011, 19:22
Finally, they are done. Getting the bevel to work at 16x16 was quite tricky, but I think I pulled it off.

http://i.imgur.com/ylsfy.png
Nice icons:thanks:. Slight problem, I am getting the large icons OK, but most of my files are thumbnailed and for these I still get the old style MPC-HC icon in the bottom right corner, any advice how to fix? Also, the icon for the actual exe/shortcut is still old-style also.

mr.duck
30th May 2011, 13:36
Nice icons:thanks:. Slight problem, I am getting the large icons OK, but most of my files are thumbnailed and for these I still get the old style MPC-HC icon in the bottom right corner, any advice how to fix? Also, the icon for the actual exe/shortcut is still old-style also.

I was hoping they looked good enough to be adopted into the project, but so far nothing has happened.

I'm not sure on the procedure. Who gets to decide what icon to use?

BatKnight
30th May 2011, 14:24
I was hoping they looked good enough to be adopted into the project, but so far nothing has happened.

I'm not sure on the procedure. Who gets to decide what icon to use?
tetsuo55 is the MPC-HC Project Manager

Bat

Underground78
30th May 2011, 17:24
I was hoping they looked good enough to be adopted into the project, but so far nothing has happened.

I'm not sure on the procedure. Who gets to decide what icon to use?

You should probably visit irc://irc.freenode.com/#mpc-hc-dev.

diizzy
30th May 2011, 18:13
Hmm...
I'm sitting here with with two computers using Intel HD Graphics (ie built in graphics in first gen Core i3/i5 CPUs) with a rather interesting and somewhat annoying issue. About 95% of the time using EVR CP, EVR Sync or VMR-9 w/ 3D Surfaces MPC-HC tends to lag/stutter heavily when going full screen using a resolution above 1080p like 1920x1200 (this never occurs on 1080p or lower resolution). Sometimes it just works flawless which is very odd and a bit annoying since its not consistent. Resolution of the clip doesn't seem to matter and window mode always works just fine which makes me believe that it isn't a performance issue caused by video card or CPU. Both computers are connected with AC adaptor so they don't run on battery which may cause performance issues/throttling. Anyone else experiencing this? This occurs on two laptops (i3 and i5) running Win 7 SP1 and I've tried several different versions of video drivers without resolving the issue and both are running the newest driver available by Intel. Any suggestions on how to track this is issue down?

CruNcher
30th May 2011, 18:21
Performance issue with the realtime upscaling it seems did you tried all of the resizer options already ?

tetsuo55
30th May 2011, 20:17
I was hoping they looked good enough to be adopted into the project, but so far nothing has happened.

I'm not sure on the procedure. Who gets to decide what icon to use?I'll send an email to the contributers this weekend. Replacing the program icon is something that has to be done carefully.

adam777
30th May 2011, 21:23
Hi all,
I found out what seems to be an MPC-HC bug.
First, I select madVR as the video renderer in the output page.
Next, If I select madVR as a preferred external filter, internal subtitle renderer will not work with it (madVR loads fine).
When not selecting it in the external filters list or selecting it as a blocked (!) filter, it loads and plays subtitles fine.
I'm pretty convinced it's something rather new as I'm quite sure it was selected as a preferred filter for me for quite some time.
Adam.

JanWillem32
30th May 2011, 21:48
Loading MadVR and Haali renderers trough the internal renderer allocation unit is preferred. I can imagine that things become more complicated if you try to set these as an external filter. Not all interfaces might work.

Edit, just a development question:
Does anyone still use the "Regular offscreen plain surface" or "2D surfaces" options with VMR-9 r. (the two options are actually the same thing in the current implementation)? These are legacy options from VMR-7 r. to give VMR-9 r. very basic subtitle, OSD and stats screen support, without any of the more advanced rendering options (scalers, shaders, vsync options, et cetera). It's very dated and inefficient by now, as the unused items from the regular rendering path are still completely loaded. There hasn't been any maintenance on this rendering path anymore for years now.

adam777
31st May 2011, 07:36
Loading MadVR and Haali renderers trough the internal renderer allocation unit is preferred. I can imagine that things become more complicated if you try to set these as an external filter. Not all interfaces might work.

OK, :thanks:

diizzy
31st May 2011, 07:56
@ CruNcher
Doesn't make sense since the same clip runs flawless to what seems randomly, kinda hard to debug. :/

mr.duck
31st May 2011, 19:54
I'll send an email to the contributers this weekend. Replacing the program icon is something that has to be done carefully.

Ok, thanks. I'll keep an eye on this thread. Also, I have made generic file type icons in various sizes with the same logo if that's needed/useful.

oddball
1st June 2011, 06:02
Hey guys. I have another issue. I like to use auto switcher to match the fps to the refresh rate. However when playing back transport streams that are 29.97fps it initially switches to 60Hz on my HDTV (I have auto switch set to 59Hz NTSC but that's beside the point). But then it kinda detects the telecine after a moment and decimates the stream to 23.976fps. However the HDTV is now running at 60Hz and thus is not synced to the video fps.

Is there any way around this?

nevcairiel
1st June 2011, 06:27
No the switch only works on the info from the source filter, not anything the decoder does to the stream

pawlol83
1st June 2011, 19:37
Hello,
I have a problem with video rendering mode MadVR. Despite the choice of rendering mode I am still not able to call its instance. This "error" probably occurred on the version of MPC-Home Cinema 3110 (x86). In another player I have no problem running the video rendering mode MadVR. I tried to restore the default settings by deleting the settings file, deleting the entry from the registry, but it did not give satisfactory results. Using the built-in codecs solves the problem. If you use the ffdshow filter (set to download) I can not run rendering mode MadVR. Please refer to the problem.

FFdshow settings attached to this post.

Greetings

cyberbeing
3rd June 2011, 16:30
There appears to be a bug in the MPC-HC MKV splitter (tested rev 3158) when used with CoreAVC 2.5.5 and VSFilter.dll, which breaks VSFilter's fps counter and causes slowdowns rendering complex subtitles. Enable VSFilter's statistics and you'll see what I mean. The VSFilter's framerate counter goes crazy, fluctuating between 0fps and 10000fps, when it should read something like 23.976fps.

MPC-HC MKV splitter, FFDShow, VSFilter = No bug.
Haali Media Splitter, CoreAVC, VSFilter = No bug.

This is a rather non-issue for me, since I always use Haali, but it should probably be fixed since it very well may effect the internal subtitle renderer as well with that same combo. In the meantime, people should be wary about using the MPC-HC internal MKV splitter with subtitles and CoreAVC.

oddball
5th June 2011, 21:38
Playing back the Big Buck Bunny clip 1 '1080p@24.0, 4:2:2 chroma, 70 Mbps CBR (with no zero stuffing) in a 73 Mbps Transport Stream' using either the internal MPEG2 decoder, LAV CUVID decoder or PowerDVD decoder results in garbled output. Using ffdshow as the decoder results in correct playback.

Can someone else test? I have tried different splitters and renderers and it makes no difference. Only ffdshow LIBMPEG2 seems to display it correctly.

EDIT: In the LAV CUVID thread they say it's the 4:2:2 chroma that is the issue here. Also that there should be a check for it since build 3123. Well I am using 3180 Madhi's build and it does not seem to work. I am not talking about DXVA decoding as obviously the hardware does not support it. But it does not decode it in software correctly either. Only ffdshow seems to. Not that I am bothered if MPC-HC stays broken since ffdshow works perfectly fine. Just thought I would report it as a bug ;)

Underground78
6th June 2011, 06:12
Just thought I would report it as a bug ;)

Yes, you should probably open a ticket on Trac.

hayan
6th June 2011, 06:45
How to disable the time tooltip?

When moving the mouse fast from up to down/down to up over the seek bar in "stopped" status

Time tooltip: I'm alive :p

Mercury_22
6th June 2011, 10:07
Can we please add an icon_x64 cause since there already are logo.1_x64 logo.2_x64 logo.3_x64 it will be in the logic of things to have a icon_x64 too! not to mention that (I know I've said this before but I haven't got an (official) answer) it will really, really, help people with both version on their system (e.g. to distinguish between file association (x64 or x86 MPC-HC) before start playing the file)
Also in the same logic used for the logos we can use the same icon + an "x64" or we can use a totally different icon (I prefer the one from BE mod)

What do you say (tetsuo :) ) ?

Thunderbolt8
6th June 2011, 19:24
I have two questions:


1. is there still someone working on VSfilter/directvobsub, is there a thread somewhere here?

2. regarding the title, would it be possible to add blu-ray subtitle support (PGS) for external files (.sup) which have the same name as the movie file (for mpc-hc and directvobsub/VSfilter)? (e.g. a mkv remux).
atm, it its necessary that these subs have to be muxed together with video and audio, otherwise they wont show. and it also seems that PGS subs are not supported at all by directvobsub atm?

nevcairiel
6th June 2011, 19:36
DirectVobSub supports PGS just fine, you just have to use a non-ancient version.

Also, why not just mux them into the mkv? :d

SamuriHL
6th June 2011, 20:06
Also, why not just mux them into the mkv? :d

Do I need to come over there and slap you? :D LOL! That's a HORRIBLE idea!!! :D

nevcairiel
6th June 2011, 20:07
Whats wrong with muxing subtitles inside the MKV? If you use one of those automatic tools, thats what they'll do too.

Thunderbolt8
6th June 2011, 20:10
because usually I prefer OCRed subs, the pgs ones would only be a measure of last resort when running into non OCR-friendly subs. but I guess I could do that, as long as they are not automatically enabled by default.

DirectVobSub supports PGS just fine, you just have to use a non-ancient version.thats strange. in which situation, only when they are muxed inside the .mkv or also outside? Im using DirectVobSub_2.40.3164_x86 and they dont work for me.

SamuriHL
6th June 2011, 20:11
Whats wrong with muxing subtitles inside the MKV? If you use one of those automatic tools, thats what they'll do too.

MUXING, ok, sorry, misread what you said. Man this cold needs to go away so I can stop taking cold medicine! :) Yes, muxing's good. Burning them into the video is not! :p

Thunderbolt8
6th June 2011, 21:12
ok, tried a bit more and indeed, both directvobsub and the mpc-hc filter play PGS subs outside of .m2ts files, but only if they are muxed into the .mkv - not as external files, whereas both play other externals subs like .srt and .ass fine.

so it would be nice if external PGS support could be added as well for both.

Underground78
6th June 2011, 21:43
How to disable the time tooltip?

When moving the mouse fast from up to down/down to up over the seek bar in "stopped" status

Time tooltip: I'm alive :p

You can still seek when playback is stopped and as the seekbar is enable, the tooltip shows up. I am not quite sure to understand why we can still seek when the playback is stopped ... What do you think ? I may add a special behavior not to show the tooltip in this case but I would rather follow the behavior of the seekbar. In personally not against changing the behavior of the toolbar if people think it would be better.

Superb
7th June 2011, 02:12
I hope to post a Hebrew translation for MPC-HC tomorrow. I'm almost done.

Something I've noticed: the whole "translate the rc file" way is ugly, hard, and annoying. Many (many!) strings are repeating themselves. Not all strings are in string tables (which are indeed easier to translate). There must be a better way.
Also, I wanted to ask: would it be possible to set the RTL window flag when using the Hebrew translation (and other future RTL languages)?

mindbomb
7th June 2011, 04:23
does anyone know if using full or half floating point processing effects chroma upsampling on nvidia hardware?

it seems to go hand in hand the use of it and chroma upsampling shaders, idk if that is a coincedance or if it's necessary.

Underground78
7th June 2011, 07:00
Something I've noticed: the whole "translate the rc file" way is ugly, hard, and annoying.

You are not supposed to translate the RC file but only the text file which contains only the strings (in the text folder, you can find mplayerc.rc.txt which is the base you should have used). It is not a big deal but for next time use the text file which will correspond to your translation).

v0lt
7th June 2011, 07:50
These strings are never used and duplicated. I can delete them all or half only.

IDS_AG_NAVIGATE "Navigate"
IDS_AG_OPEN_DISC "Open Disc"
IDS_AG_FILTERS "Filters"
IDS_AG_SUBTITLES "Subtitles"
IDS_MAINFRM_28 "Audio Language"
IDS_MAINFRM_29 "Subtitle Language"
IDS_AG_VIDEO_ANGLE "Video Angle"
IDS_AG_JUMP_TO "Jump To..."
IDS_AG_FAVORITES "Favorites"
IDS_AG_SHADERS "Shaders"
IDS_AG_VIDEO_FRAME "Video Frame"
IDS_AG_PANSCAN "PanScan"
IDS_AG_ASPECT_RATIO "Aspect Ratio"

IDS_SHADER_POPUP "Shaders"
IDS_FAVORITES_POPUP "F&avorites"
IDS_JUMPTO_POPUP "Jump To..."
IDS_VIDEOANGLE_POPUP "Video Angle"
IDS_SUBTITLELANGUAGE_POPUP "Subtitle Language"
IDS_AUDIOLANGUAGE_POPUP "Audio Language"
IDS_SUBTITLES_POPUP "Subtitles"
IDS_AUDIO_POPUP "Audio"
IDS_FILTERS_POPUP "Filters"
IDS_OPENCDROM_POPUP "O&pen Disc"
IDS_NAVIGATE_POPUP "Navigate"
IDS_VIDEOFRAME_POPUP "Video Frame"
IDS_PANSCAN_POPUP "Pan&&Scan"
IDS_ASPECTRATIO_POPUP "Aspect Ratio"
IDS_ZOOM_POPUP "Zoom"
IDS_RECENT_FILES_POPUP "Recent Files"

JanWillem32
7th June 2011, 09:11
@mindbomb: For nVidia hardware a bilinear filter is forced. For 8-bit working surfaces on ATi hardware a bilinear filter is used by choice (hardcoded in the rendering engine), 10- 16- and 32-bit working surfaces are unfiltered (nearest neighbor). For Intel hardware, I don't know exactly what the last generation and the one before that do. Intel IGPs became DirectX 10+ only recently, that's one of the reasons there are differences in the two generations.
To integrate a custom mixer so that the rendering engine can work with raw data from a DirectShow video decoder is no small effort. I don't have much experience with actual DirectShow stuff, and we could really use some extra developers to help with those parts. Unless a mixer is added, there's unfortunately no way to access the raw Y'CbCr structures directly from the decoder in the rendering engine.
Also note that the chroma up-sampling shaders won't work on interlaced content. (A modified version for the vertical 4:2:0 part could actually work by using the forced wave deinterlacer. That deinterlacer doesn't do more than writing the top and bottom field to one progressive frame, so it halves the field rate. It's a popular, but very bitrate inefficient way to transport near-progressive 1920×1080 frames inside interlaced 1920×540 fields.)

Skittelor
7th June 2011, 11:48
EDIT: In the LAV CUVID thread they say it's the 4:2:2 chroma that is the issue here. Also that there should be a check for it since build 3123. Well I am using 3180 Madhi's build...

Where do I get builds by madshi?

v0lt
7th June 2011, 13:47
MPC-HomeCinema 1.5.2.3193 (x86) (http://www.mediafire.com/?xfgh33iws56bh)
fixed bitrate calculation for DTS and DTS Hi-Res in DTSAC3Source
fixed bitrate calculation for DTS-core in BaseSplitter
Thanks to madshi.

Superb
8th June 2011, 00:06
I hope to post a Hebrew translation for MPC-HC tomorrow. I'm almost done.

Something I've noticed: the whole "translate the rc file" way is ugly, hard, and annoying. Many (many!) strings are repeating themselves. Not all strings are in string tables (which are indeed easier to translate). There must be a better way.
Also, I wanted to ask: would it be possible to set the RTL window flag when using the Hebrew translation (and other future RTL languages)?

Hebrew translation: http://www.sendspace.com/file/togbmg or http://www.mediafire.com/?5r6cfycfnol26d0

Underground78
8th June 2011, 06:17
Hebrew translation: http://www.sendspace.com/file/togbmg or http://www.mediafire.com/?5r6cfycfnol26d0

Thanks, I will have a look tonight.

CruNcher
8th June 2011, 07:41
Feature Request: http://forum.doom9.org/showpost.php?p=1506227&postcount=816

ch1n4
8th June 2011, 08:57
MPC-HomeCinema 1.5.2.3193 (x86) (http://www.mediafire.com/?xfgh33iws56bh)
fixed bitrate calculation for DTS and DTS Hi-Res in DTSAC3Source
fixed bitrate calculation for DTS-core in BaseSplitter
Thanks to madshi.

Is madshi releasing builds regularly or are these "special builds"?

madshi
8th June 2011, 09:11
I don't release MPC-HC builds at all (except for very special situations). 3193 was made by v0lt, not me. I just assisted a bit via PM.

v0lt
8th June 2011, 14:06
MPC-HomeCinema 1.5.2.3199 (x86) (http://www.mediafire.com/?xfgh33iws56bh)
fixed bitrate calculation for DTS in MpaDecFilter
fixed bitstream output for DTS with a bitrate less then 1536 kbit

@ch1n4
This is usual builds. Madshi helped. Many thanks to him.

v0lt
8th June 2011, 18:09
@Underground78
In r3177 there are tooltips on the buttons, in r3180 no longer exists.
IMHO, the problem in r3178.

Underground78
8th June 2011, 18:24
@Underground78
In r3177 there are tooltips on the buttons, in r3180 no longer exists.
IMHO, the problem in r3178.

I am currently improving the tooltip but I don't understand what you are talking about.

I have already fixed locally some cases where the tooltip was not hiding as it should. Also I have added back the auto-hide when the cursor stays still for a while.