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

Gleb Egorych
10th May 2009, 18:54
Exactly the same problem. The problem is bicubic resizer. Bilinear is OK. b1101.

Found where bug appeared. Tried xvidvideo.ru builds, 1043 is the last good, 1050+ is affected. Seems like related to Beliyaal tweaks.

*Edit: Only WinXP affected, Vista unaffected. The bug is related to "Disable desktop composition" option. When checked the bug appears. Since the feature is useless in WinXP it is better to disable it.
Strange but it appeared on XP even with "Disable desktop composition" disabled. Rebooted from XP to XP - garbage line does present. Rebooted from XP to Vista and then from Vista to XP - the line disappeared. Maybe bicubic algorithm uses some bad variable/memory initialization routine which causes video memory garbage to be present in picture. And maybe Vista clears video memory while XP does not.

Beliyaal
10th May 2009, 20:17
Strange but it appeared on XP even with "Disable desktop composition" disabled. Rebooted from XP to XP - garbage line does present. Rebooted from XP to Vista and then from Vista to XP - the line disappeared. Maybe bicubic algorithm uses some bad variable/memory initialization routine which causes video memory garbage to be present in picture. And maybe Vista clears video memory while XP does not.

I'm working on fixing this problem with VMR9 with mixer mode disabled. Do you have mixer mode disabled?

MatMaul
10th May 2009, 20:58
I'm working on fixing this problem with VMR9 with mixer mode disabled. Do you have mixer mode disabled?
I have the same problem and mixer mode is enabled

Gleb Egorych
10th May 2009, 21:03
I'm working on fixing this problem with VMR9 with mixer mode disabled. Do you have mixer mode disabled?
Sorry, I didn't wrote, I'm using EVR-CP. But I also tested VMR9, the garbage presents in both mixer and non-mixer modes.

Keiyakusha
10th May 2009, 21:09
Beliyaal
Is it possible to make "Disable Desktop Composition" option available with any renderer? For exapmpe it will be good to try it with madVR...

Beliyaal
10th May 2009, 21:19
Beliyaal
Is it possible to make "Disable Desktop Composition" option available with any renderer? For exapmpe it will be good to try it with madVR...

I would be, but you can just right click mplayerc.exe in explorer and under compatibility just disable it there.

Beliyaal
10th May 2009, 21:21
Sorry, I didn't wrote, I'm using EVR-CP. But I also tested VMR9, the garbage presents in both mixer and non-mixer modes.

I'm not entierly sure how it could be garbage in EVR-CP. Maybe something that only happens on non-ATI cards. I have however submitted some fixes to SVN. Let me know how it works in the next build.

Keiyakusha
10th May 2009, 21:36
I would be, but you can just right click mplayerc.exe in explorer and under compatibility just disable it there.

Ok. Thanks!

Steveo08
10th May 2009, 22:34
@Beliyaal


i would like to know what is better for picture quality, to use 10 bit rgb or not in renderer settings?

nijiko
10th May 2009, 22:59
Problem with Gabest's AVI splitter

*There is some problems with the pending system on this forum, so i post it again.

Last time, I reported some AVI files can't be played correctly.
Some peoples said it's about I have no decoders.
This time, I confirm the peoblem is about Gabest's AVI splitter.

The pics attached, they are all played in MPC-HC.
Diffs. is only the splitter.

System:
http://forum.doom9.org/attachment.php?attachmentid=9874&d=1241934173

Gabest:
http://forum.doom9.org/attachment.php?attachmentid=9875&d=1241934184

hoborg
11th May 2009, 12:41
When playing with fullscreen, there is a bad line under the video.
It happens to any videos and any decoders.
So I think the problem is about MPC.

Can this be related?
http://forum.team-mediaportal.com/codecs-external-players-55/shiny-stripe-around-movie-picture-44990/index2.html#post321111

nijiko
11th May 2009, 14:21
Can this be related?
http://forum.team-mediaportal.com/codecs-external-players-55/shiny-stripe-around-movie-picture-44990/index2.html#post321111

Fixed in 1103.

alexins
11th May 2009, 20:30
Media Player Classic HomeCinema (x86/x64), svn 1104 (http://www.xvidvideo.ru/content/view/747/1/)

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

Changes log (http://www.xvidvideo.ru/content/view/7/17/)

(1102-1104)
Fixed : popup menu in simplified Chinese translation (bug #2785436);
Fixed: Incorrect fps reported to subtitle renderer. In EVR custom 23.976 FPS was always used in VMR9 25 FPS was always used;
Fixed: Handling of different video resolution from video surface resolution;
Fixed: Incorrectly reported video resolution and aspect ratio with VMR9 without mixer mode worked around by checking media type;
Fixed: Always use 1 pass bicubic resampler to avoid problem of checker pattern caused by different resolution textures used in 2 pass bicubic;
Fixed: Incorrect aspect ratio calculation when aspect ratios are very large causing integer overflow;
Fixed: Reset device could lock up player in VMR9 renderer mode. (For example when moving between monitors);
Updated Ukrainian translation.

GTPVHD
11th May 2009, 20:59
Something is broken with 1104 and SD video aspect ratio? I'm using the Haruhi dance video, which everyone uses to test whether DXVA is working or not.

This is 1101. This is how it looks like in all previous builds also.

http://img67.imageshack.us/img67/6344/1101c.jpg

And this is 1104.

http://img67.imageshack.us/img67/2163/1104t.jpg

This is on XP SP3, DirectX March 2009, latest Nvidia 185.85 WHQL drivers, also tested on an older system with an older Geforce GPU that has no VLD support & 175.19 WHQL drivers and it happens also. I didn't change any settings in MPC-HC at all, I just played the video with the newer 1104 build. Can anyone else confirm it's not just me thats experiencing this with SD videos?

Update: I figured it out. If you disable VMR9 mixer mode, everything is fine in 1104 with VMR9 Renderless and SD videos. Enable VMR9 mixer mode and it's bugged in VMR9 Renderless.

Snowknight26
11th May 2009, 22:00
No issue for me.

However, when DXVA tries to kick in for SD files or any interlaced H.264, x64 MPC-HC crashes. The x86 build does not. Vista SP2, 4850, Catalyst 9.4.

mark0077
11th May 2009, 22:08
Just posting here to ask why vc-1 content is output in yuy2 mode.

yuy2 with nvidia cards always looks REALLY BAD! Its conversion from yuy2 to rgb32 is absolutely terrible. Its blockyness is MUCH less noticible on this 1920 x 1080 content but for dvd content you can really see how horrible it is.

I am asking why isn't vc-1 output by default in yv12 like mpeg2.

EDIT: Just to note, I have tried output yuy2 on purpose from the mpc-hc mpeg2 decoder, for testing the nvidia yuy2 -> RGB conversion BUT when passing yuy2 through ffdshow and letting it do the RGB conversion which we all know to be very good, the quality is not as good as passing yv12 from the mpc-hc decoder. haruhiko over on the ffdshow thread thinks this could be a problem with the yv12 -> yuy2 conversion that is done in this scenario by mpc-hc. I am testing with a DVD (thats incorrectly marked as interlaced), and passing the interlaced flag through to ffdshow (where I choose whether to de-interlace content or not), so maybe the yv12 -> yuy2 conversion thats done in mpc-hc is using this flag during its conversion?

In summary here is my problems with mpc-hc regarding colorspaces.

Problem 1: yuy2 output for vc-1 content by default instead of the native yv12
Problem 2: yuy2 -> yv12 conversion in the mpc-hc mpeg2 decoder output shows slight degredation of quality in my tests over just outputting pure yv12. I SUSPECT mpc-hc is using the dvd interlaced flag (when I don't want it to) as some horizontal lines (very slight) are seen when mpc-hc does this conversion. I thought the yv12 to yuy2 conversion could be done losslessly?

Gleb Egorych
11th May 2009, 22:23
I'm not entierly sure how it could be garbage in EVR-CP. Maybe something that only happens on non-ATI cards. I have however submitted some fixes to SVN. Let me know how it works in the next build.
Yes, I use nvidia 8800GT. In b1104 bicubic resizer is OK for me :thanks:

Something is broken with 1104 and SD video aspect ratio? I'm using the Haruhi dance video, which everyone uses to test whether DXVA is working or not.

This is 1101. This is how it looks like in all previous builds also.

http://img67.imageshack.us/img67/6344/1101c.jpg

And this is 1104.

[url]http://img67.imageshack.us/img67/2163/1104t.jpg[/url
Yes, it's broken for me too. The bug appeared for me when I tried to play DVD. The starting video was OK, menu and movie were broken. No bug in b1101. Broken only VMR9 renderless in both WinXP and Vista.

anyone23
12th May 2009, 17:32
with 1104 bicubic resizer is completely broken on my pc.:scared: I have "scratches" everywhere.

(with 1101 and older it worked except when zooming)

PC:
Win Vista SP1
ATI HD 2400 XT mobility Cat 9.4

Btw: The volume control doesn't work with midi files + vista (works on my win xp pc). Can somebody confirm this?

Phaser
12th May 2009, 19:21
Same problem here with the bicubic resizer, and also with the VSync (doesn't work unless I enable "Wait for flushes").
Many things don't work as they should since svn 1050... Maybe some of the changes/patches should be reverted or examined carefully to make sure they don't break other functionality.
I hope to see a more stable build soon.

mark0077
12th May 2009, 21:14
Hi all,

I am about to make a lot of bug reports on the mpc-hc bug tracker but I thought it might be useful to post here first and maybe get feedback on what other information I could give, or any other info from you guys in general. Well heres my current list of problems with mpc-hc, and one or two feature requests thrown in. I will keep my own list upto date as time goes by. I am mainly having problems with m2ts files of different sorts.

General Player Bugs
BUG) Open two mpc-hc windows, change settings in window 1, click ok and exit window 1, close window 2. Upon restarting mpc-hc you will see settings wern't saved (or in fact window 2 resaved old settings on close). I suggest moving settings saving away from window close code.
BUG) When seeking in some m2ts files, I get a video hang problem where a few frames get stuck repeating over and over again. Usually one of these frames looks corrupt and I suspect this may have something to do with it. Audio continues fine in the background and it happens on all renderers. Image samples below showing corrupt one and good one that keep repeating.
http://img87.imageshack.us/img87/2028/43263791.th.jpg (http://img87.imageshack.us/my.php?image=43263791.jpg)
http://img523.imageshack.us/img523/735/27012669.th.jpg (http://img523.imageshack.us/my.php?image=27012669.jpg)
FEATURE REQUEST) To make the Fullscreen argument that can be passed to mpc-hc immediately set the player to fullscreen. This will make mpc-hc even better when used as an external player in media browsing software.

EVR-CP
BUG) I originally thought this was a ffdshow problem, but opening some dvd menu's with mpc-hc and the evr-cp only, I get many many dropped frames, and often complete freezes (often freezes lasting many minutes) when navigating through these menus. In the process of making sample for haruhiko and maybe beliyaal if he wants to check it out. It doesn't happen with any renderer other than evr-cp so I am assuming its something to do with evr-cp for the moment. Here is a test dvd. Beliyaal if you want to take a look, try this dvd, version 1.08 is the latest http://merifon.altervista.org/TestDVD.html You will see a terrible amount of frame drops by evr-cp while navigating through dvd's. Some older builds were not as bad as this. Sometimes menus can freeze for upto minutes at a time. Would really appreciate you taking a look into this / testing dvd menu's.
FEATURE REQUEST) Audio and video never attempts to get back to sync in evr-cp, beliyaal already mentioned intending to fix in future release.

Video Decoders
BUG) I am getting vc-1 crashes using the internal vc-1 decoder only. Here are the two blu-rays that give trouble.

Planet Earth: mpc-hc crashes after 100~ frames. With ffdshow out of the chain I still get crashes. With ffdshow decoding vc-1 I get no crashes.
The Dark Knight: mpc-hc crashes after 1100~ frames. With ffdshow out of the chain I still get crashes. With ffdshow decoding vc-1 I get no crashes.
Sample for mpc-hc developers to try. This sample gets to around the 50 second mark and crashes, just as the camera is about to fly over the buildings. Just play without seeking straight through. http://www.megaupload.com/?d=8HFOMVV0

Going back through mpc-hc builds, the blu-ray plays perfectly in build 1050 and starts crashing from 1056 onwards. Here are the changes made from 1051 to 1056. I assume the problem is either 1052 or 1053 where changes related to decoder were made. Can someone investigate.

1056
Fixed : duplicate include
1055
Updated Copyright
1054
Fixed : Gpu Control checkbox appears on "Recent files" menu items
1053
Fixed : MpcVidecDec output MediaType incorrectly filled to 1088 instead of 1080 for software decoding of 1080 material
1052
Updated ffmeg
Fixed : crash on seek with True HD tracks
1051
Updated Czech translation

BUG/QUESTION) Why is yuy2 output by default for vc-1 content. I and I am sure many know that nvidias yuy2 -> rgb32 conversion is REALLY BAD, always has been for all of my nvidia cards.
BUG) When forcing yuy2 as output type for the mpeg2 decoder and using ffdshow to convert to RGB32, I then notice in comparisons that the quality isn't as good as yv12. haruhiko over at the ffdshow forums says the yv12 -> yuy2 conversion thats happening in mpc-hc here might be the cause. Does the conversion use the interlaced flag, because I am testing on a DVD thats incorrectly flagged as interlaced and I purposely disable de-interlacing for this. I wonder is the conversion just reading the flag and doing a bad conversion because slight horizontal lines can be seen when outputting yuy2 versus the original yv12. Image below shows the problem. Its very slight, but when flipping between both images, you can see that the yuy2 image shows "parts" of the red text maybe 1 pixel higher than they should be. This leaves tiny blurry lines around the bottom of the letters in places. This doesn't happen with ffdshow's yv12 -> yuy2 conversions.

YV12 - No ghost lines, original yv12 just passed through to ffdshows RGB32HQ converter.
http://img23.imageshack.us/img23/6548/yv12.th.png (http://img23.imageshack.us/my.php?image=yv12.png)

YUY2 - Different than above, text slightly higher than yv12 leaving tiny blurry areas. Should be identical to above if yv12 -> yuy2 conversion was optimal.
http://img14.imageshack.us/img14/6876/yuy2.th.png (http://img14.imageshack.us/my.php?image=yuy2.png)

POSSIBLE BUG) No dxva with gtx 295. Its strange how I can get it in other players, but even with no filters in the chain, only mpc-hc, I can never ever ever get DXVA to work on any content, dvd's, blu-rays... anything. I don't mind but others may care for dxva in mpc-hc with these cards.

Audio
TYPO) "HDMW LPCM" should be calld "HDMV LPCM"
TYPO) "DTS HD Master" should be "DTS-HD Master Audio"
BUG) I know DTS-HD Master Audio can't be decoded yet by mpc-hc itself, but shouldn't it behave like ffdshow and be able to "strip out" the "Core DTS Stream" like I heard about. When playing back a DTS-HD Master Audio track within m2ts, I assume its trying to do just that, but my center channel can't be heard, bug?
QUESTION) A m2ts file I am using to test has both "HDMV LPCM" and "Dolby True HD", not sure which is "best". Anyone know what HDMV LPCM is because I can't find alot of info on it.

Splitter?
BUG) VC-1 content in m2ts container played back by other decoders drop frames like crazy, beliyaal pointed out its a problem with splitter.
BUG) When changing audio streams in m2ts file, "subtitle 1" always gets selected without me touching subtitles at all. currently in the process of making samples for all of these bugs.

Luyten
13th May 2009, 10:30
Hi, this is my first post here... since Beliyaal branch merge (svn 1050) I have problem with VobSubs in some my matroska file: it's displayed only the first line using "Sub pictures to bufer" > 0 and with "Disable Animation" unchecked.
I suggest to completely disable and lock this buffer and/or the animation for VobSubs...

tetsuo55
13th May 2009, 11:00
H
FEATURE REQUEST) To make the Fullscreen argument that can be passed to mpc-hc immediately set the player to fullscreen. This will make mpc-hc even better when used as an external player in media browsing software.

Options > Player > start media in full-screen mode

mark0077
13th May 2009, 11:04
Options > Player > start media in full-screen mode

Ya, thanks, but it takes maybe 0.5-2 seconds for the player to switch to fullscreen when a file is loaded by for example double clicking a file depending on the file. mpc-hc first does things like, beginning to load the file and I am sure many other things.

I think it would be much more seamless and beautiful if it went fullscreen as step 1, and the rest afterwards. When using mpc-hc as an external player then it would almost be impossible to tell you were using an external player as the almost 0ms delay from clicking play, to seeing mpc-hc window in fullscreen (even if just black screen shown) would be much preferred to seeing the mpc-hc window initializing different things first, only then to go to fullscreen. With the htpc in the living room, friends / family would never know it was a PC if it went fullscreen faster than it currently does as no windows would show (thats the real aim for me, to see no windowyness) up etc ;) What do you think. Difficult to change?

cca
13th May 2009, 11:08
Hi, this is my first post here... since Beliyaal branch merge (svn 1050) I have problem with VobSubs in some my matroska file: it's displayed only the first line using "Sub pictures to bufer" > 0 and with "Disable Animation" unchecked.
I suggest to completely disable and lock this buffer and/or the animation for VobSubs...

With VobSubs you should check the "Disable Animation" box, not the opposite. It then behaves as the older builds.

Beliyaal
13th May 2009, 11:44
Ya, thanks, but it takes maybe 0.5-2 seconds for the player to switch to fullscreen when a file is loaded by for example double clicking a file depending on the file. mpc-hc first does things like, beginning to load the file and I am sure many other things.

I think it would be much more seamless and beautiful if it went fullscreen as step 1, and the rest afterwards. When using mpc-hc as an external player then it would almost be impossible to tell you were using an external player as the almost 0ms delay from clicking play, to seeing mpc-hc window in fullscreen (even if just black screen shown) would be much preferred to seeing the mpc-hc window initializing different things first, only then to go to fullscreen. With the htpc in the living room, friends / family would never know it was a PC if it went fullscreen faster than it currently does as no windows would show (thats the real aim for me, to see no windowyness) up etc ;) What do you think. Difficult to change?

The fullscreen change is handled by the renderer, and the renderer isn't loaded until the graph has been rendered.

The only thing I think we could do is not show the player window until the graph has been renderered. This would show nothing for the 0.5-2 seconds, followed by the fullscreen mode.

Luyten
13th May 2009, 11:49
With VobSubs you should check the "Disable Animation" box, not the opposite. It then behaves as the older builds.

I've many video with softsubbed effect... I wouldn't change this option every time...

masaykh
13th May 2009, 11:49
Beliyaal - Can be mpc-hc compiled with less dll dependency?
windows xp sp3 and now win7 - there many modules that not look alike needed at all.
shdocw in example

can this be done ?

mark0077
13th May 2009, 11:52
The fullscreen change is handled by the renderer, and the renderer isn't loaded until the graph has been rendered.

The only thing I think we could do is not show the player window until the graph has been renderered. This would show nothing for the 0.5-2 seconds, followed by the fullscreen mode.

Thanks for the explanation. I am sure you understand my reasoning behind really wanting a feature like this. Given your explanation, do you think this might need to be a sub option of the "Start player in fullscreen" option.

- Start Player In Fullscreen
- - Hide Player Window Until Fullscreen

and maybe switches from the command line like the following..

c:\myfile.mkv /fullscreen /hide_until_fullscreen

etc etc, would something like this be practical and implementable. Is there a standard way that renderer communicates with the player that would mean any renderer could be used with this option. I was thinking if a player was by default notified of a graph being finished rendering, maybe then the player could hide its window, and unhide when renderer sent notification so then the player could handle all of this without the renderers requiring any changes.

Jong
13th May 2009, 11:53
Maybe a bit better, could you optionally load the window maximised and without any menu bars/status info - like a maximised version of the "minimal" mode. People could then either display a black screen "image" or any other image of their choosing.

mark0077
13th May 2009, 12:15
Maybe a bit better, could you optionally load the window maximised and without any menu bars/status info - like a maximised version of the "minimal" mode. People could then either display a black screen "image" or any other image of their choosing.

If this was the way it would be done, would the player be able to return to "normal" after say a user manually comes out of fullscreen mode. My intended use of options like these would be to have the player show no windowyness until I manually come out of fullscreen mode where I would expect mpc-hc to look like normal, with my info bars or whatever I normally have.

Any interested in putting this into code once a nice method is found ;)

Gleb Egorych
13th May 2009, 15:59
Yes, it's broken for me too. The bug appeared for me when I tried to play DVD. The starting video was OK, menu and movie were broken. No bug in b1101. Broken only VMR9 renderless in both WinXP and Vista.
Broken only in mixer mode.

mark0077
13th May 2009, 21:39
Beliyaal updated my bug post above with a link to a test dvd. Testing shows evr-cp is causing many many frame drops in dvd menu's as oppose to 0 frame drops with some other renderers and older mpc builds. Maybe you could try navigating through some dvd menus like the I posted to see can figure out what causes all of the frame drops.

Adub
14th May 2009, 00:49
Quick question for all of you MPC HC experts out there.

Is it yet possible to play .evo from an HD DVD (ripped onto my harddrive) with MPC HC, without a proprietary splitter, such as the Sonic splitter?

Snowknight26
14th May 2009, 02:26
Haali Media Splitter works, not sure if the internal one does.

Inspector.Gadget
14th May 2009, 04:19
When I use an external MPEG-2 decoder in MPC-HC (either Microsoft or Cyberlink PDVD9), and I play back a ripped DVD from the DVD structure, neither sutitles nor menu highlights appear and MPC-HC doesn't adjust its window size to account for 16:9 content regardless of whether "Keep Aspect Ratio" is checked. Is there a way to get any of these three things working correctly and still use a DXVA-enabled decoder? Thanks.

Adub
14th May 2009, 04:51
Haali Media Splitter works, not sure if the internal one does.

Huh, I have the Haali's installed, and yet I only play audio when I drag and drop an evo file on. Is there a certain preference that I have to set in order for MPC to use Haali's splitter?

Edit: It can play the special feature's evo just fine, but it only displays black when I try to play a main movie evo.

GTPVHD
14th May 2009, 04:58
I can confirm VMR9 Mixer Mode is broken on ATI cards also, tested on Vista, VMR9 Renderless on a friend's notebook. 1101 works fine, 1104 broken with SD videos. Anyone has any idea what caused this bug and if it's fixable?

Snowknight26
14th May 2009, 06:26
Edit: It can play the special feature's evo just fine, but it only displays black when I try to play a main movie evo.

Then it isn't using Haali Media Splitter. Block MPEG-2 Splitter and MPEG-2 Demultiplexer.

Adub
14th May 2009, 07:35
Okay, its working now. However, its running too fast. It's running at around 50 fps, instead of 23.976. The funny thing is that ffdshow thinks that it's feeding the stream at 23.976fps. Very weird.

Anyone ever have this issue before?

Kurtnoise
14th May 2009, 15:06
TS splitter is broken with this file (http://www.mediafire.com/?zz3im1d1mt3)...

[rev 1106 - vista sp1 - EVR CR]

BatKnight
14th May 2009, 19:08
I would like to know how the YV12 Chroma Upsampling pixel shader works.

I am using EVR Custom.
Should I force YV12-only output in ffdshow and then apply this shader on it? Or should I use the HQ YV12-to-RGB conversion of ffdshow and then apply the shader?
If none of these examples are correct, please point me in the right direction.

I’ve noticed on the madVR thread that the YV12 Chroma Upsampling pixel shader provides better quality than ffdshow’s YV12 to RGB HQ conversion.

Thanks
Bat

mark0077
14th May 2009, 19:11
I am getting vc-1 crashes using the internal vc-1 decoder only. Here are the two blu-rays that give trouble.

Planet Earth: mpc-hc crashes after 100~ frames. With ffdshow out of the chain I still get crashes. With ffdshow decoding vc-1 I get no crashes.
The Dark Knight: mpc-hc crashes after 1100~ frames. With ffdshow out of the chain I still get crashes. With ffdshow decoding vc-1 I get no crashes.

Sample for mpc-hc developers to try. This sample gets to around the 50 second mark and crashes, just as the camera is about to fly over the buildings. Just play without seeking straight through. http://www.megaupload.com/?d=8HFOMVV0

Going back through mpc-hc builds, the blu-ray plays perfectly in build 1050 and starts crashing from 1056 onwards. Here are the changes made from 1051 to 1056. I assume the problem is either 1052 or 1053 where changes related to decoder were made. Can someone investigate.

1056
Fixed : duplicate include
1055
Updated Copyright
1054
Fixed : Gpu Control checkbox appears on "Recent files" menu items
1053
Fixed : MpcVidecDec output MediaType incorrectly filled to 1088 instead of 1080 for software decoding of 1080 material
1052
Updated ffmeg
Fixed : crash on seek with True HD tracks
1051
Updated Czech translation

littleD
14th May 2009, 19:35
I would like to know how the YV12 Chroma Upsampling pixel shader works.

I am using EVR Custom.
Should I force YV12-only output in ffdshow and then apply this shader on it? Or should I use the HQ YV12-to-RGB conversion of ffdshow and then apply the shader?
If none of these examples are correct, please point me in the right direction.

I’ve noticed on the madVR thread that the YV12 Chroma Upsampling pixel shader provides better quality than ffdshow’s YV12 to RGB HQ conversion.

Thanks
Bat

I have ati card and i found that mpc shader gives better quality than ffdshow. Recently i made that shader default on. Of course madvr rulez in this matter:D

I use anyway ffdshow hqyv12 conversion because its too much for my card to use shader for chroma upsampling and levels and ps bicubic at the same time:(

Leak
14th May 2009, 19:44
I would like to know how the YV12 Chroma Upsampling pixel shader works.
It's meant to take blocky YV12 video - or rather, any video where the chroma was scaled up using nearest neighbour and thus consist of 2x2 pixel blocks - and undo the "damage" by converting back to YUV, interpolating the chroma correctly between the blocks (while keeping the luma values) then converting back to RGB.

If the chroma is bad but not because it's 2x2 blocks all the shader basically does is blur the chroma channel a bit.

It shouldn't do too much damage if the video itself had halved chroma resolution in the first place (like just about any YUV video format), but it probably won't help much either.

(Disclaimer: I wrote that shader... :D)

np: Apparat - Fractales Pt.I (Walls)

flanger216
14th May 2009, 20:12
Another request: Winamp has a 'track change' buffer built into its directsound renderer, and if you enable it and set it high enough, it effectively gives you gapless playback for audio files. Is this a possibility for MPC-HC?

Snowknight26
15th May 2009, 08:51
Playing H.264 videos (1 slice - 4 slices [Blu-rays] is still broken) with DXVA with a GM45 chipset only works if you seek. If you don't seek, the output is a black screen.

betaking
15th May 2009, 10:35
:scared: last svn 1106 and 1104 use vmr9(Renderless) play some avi files encoder by divx get a black picture! you can see picture1!
http://img34.imageshack.us/img34/2206/20090515173146.th.png (http://img34.imageshack.us/my.php?image=20090515173146.png)
but use svn 1094 it ok! you can see picture2!
http://img34.imageshack.us/img34/979/20090515173428.th.png (http://img34.imageshack.us/my.php?image=20090515173428.png)

BatKnight
15th May 2009, 10:47
(Disclaimer: I wrote that shader... :D)
So the proper way for using it is to force YV12-only output in ffdshow and then enable this shader in MPC-HC? Or there is another proper way?

Bat

mark0077
15th May 2009, 14:20
For those guys that might be able to investigate the vc-1 mpc-hc decoding problems I mentioned, I uploaded a sample in my post a few posts up. It nicely shows how the mpc-hc decoder started crashes since build 1051 to 1056. Feedback would be great as it effects anyone playing blu-rays including the popular Planet Earth series.... ;)

There are many m2ts / vc-1 problems with mpc-hc at the moment.

clsid
15th May 2009, 15:09
Another request: Winamp has a 'track change' buffer built into its directsound renderer, and if you enable it and set it high enough, it effectively gives you gapless playback for audio files. Is this a possibility for MPC-HC?
With DirectShow, a new graph and thus a new instance of the renderer is created for each file that is played. So it is not possible.

Also, the devs should focus on fixing the many bugs that are currently present in MPC, instead of added more new features.

MPC is designed as a video player. For audio you should stick to for example Winamp or foobar.