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

Miryan
7th December 2008, 10:33
Hi !

I'm trying to change the subtitle position for an mkv but I only can change it through right button option Subtitle, styles, because it seems that every mkv I have, includes its own subtitle style and mpc get it by default and don't apply the default settings I have, in this case, I prefer to put the subtitles on top of the film, because when I see a 2,35 aspect film, I zoom the projector and the default subtitle position gets over my central speaker :(

[...]

Any one has an idea about how to solve this problem ?

Thanks... :)

Assign a key to Next subtitle, and thats it. (Player / Keys)

saint-francis
7th December 2008, 10:35
Can someone explain to me what is the difference betweeen "source filters" and "transform filters"? Also, some are bold and some not. I usually just untick everything as I use FFDShow, but um... you know. I don't quite know what I'm doing :)

Source = splitter and transform = decoder.

hrr
7th December 2008, 11:07
Hi !You have to change the subtitle settings under Options to make them your DEFAULT. If you change them on the fly, then it's just during that instance/session that you change them.

Thanks, but this is that I've already make it without success. But your comment has make me to do more testing and I've discovered that the subtitle that I can not change is ASS, and it seems that this subtitle type include a style inside it. Because that, the 'default' of the MPC don't get used.

I've tested with other files with srt and the default of the MPC works OK.

So, the problem is here yet, but now, I know that until it get solved, I can extract the subtitle, change it to srt and try to load it from an external file.

I hope this can be done in D3D mode. If not, I would have to remux the file :(

It would be nice if there is an option to omit styles inside ASS subtitles or at less, the position information.

Thanks for your help.

johnsonlam
7th December 2008, 15:21
Hi !
So, the problem is here yet, but now, I know that until it get solved, I can extract the subtitle, change it to srt and try to load it from an external file.


Try using external "ssa" , it work perfect in all provious MPC-HC version.

MPC-HC did inherit some problem from MPC, playing some special MKV file the screen will freeze after a few seconds, when using Zoom Players it works.

But I have no way to find why, and only some of the MKV have that symptom, not all.

nae1986
7th December 2008, 18:37
If I open an AVI file (XviD & MP3) with MPC-HC 1.2.908, I get a crash. I've attached the dump file.

The problem is on a K6-2 400 MHz with 256 MB RAM.

_xxl
7th December 2008, 18:58
If I open an AVI file (XviD & MP3) with MPC-HC 1.2.908, I get a crash. I've attached the dump file.
Do you use internal AviSplitter?

clsid
7th December 2008, 19:09
I don't think the internal FFmpeg decoders are compatible with a K6-2 processor. You need i686 or higher.

PolaR ID
7th December 2008, 19:34
Which codec, player or anything else I need to play BD DVDs and as well normal DVDs and other media files on my PC?

I have latest GFX + CQ Prossesor and XP 32bit.

Before i used to use clsid ffdshow SVN builds + MPC 6.4.9.1 and Matroska Splitter.

I want to use the latest and best way of playing media file on PC, and here i'm asking for sugestion..

Thanks in advance.

Px
7th December 2008, 19:47
I don't think the internal FFmpeg decoders are compatible with a K6-2 processor. You need i686 or higher.
K6-2 is i686 compatible ;)

nae1986
7th December 2008, 19:53
K6-2 is i686 compatible ;)

I don't think it is. The ffdshow builds after 1940 (the last one to support < i686) don't work on that machine.

clsid
7th December 2008, 20:37
K6-2 is i686 compatible ;)
i586 ;)

neoufo51
7th December 2008, 22:24
Guys, I tried the Haali Renderer recently and I notice that it eventually causes AVI videos to lose sync as the video progresses. Any idea why this is? I want to use Haali over the usual VMR9 due to the supposed advantages, but I'm wondering what I'm not doing that is causing this desync. I'm running XP on a laptop with an Nvidia 128MB 8400GS card.

leeperry
7th December 2008, 22:37
I tried the Haali Renderer recently and I notice that it eventually causes AVI videos to lose sync as the video progresses.
press ALT+O and see how the jitter goes.
if it's >8ms on XP, you prolly got a CPU load problem

Px
7th December 2008, 23:47
i586 ;)
Yeah, I recheck my information and you are right :)

Aleksoid1978
8th December 2008, 01:53
918 rev. - http://www.tosei.ru/isoft/mpc/mpc.x86.918.7z

wOxxOm
8th December 2008, 06:30
press ALT+O and see how the jitter goes.
if it's >8ms on XP, you prolly got a CPU load problem
I've seen that too ONCE on mp4, and converting the source file to mkv didn't solve the jitter. I've just switched temporarily to EVR-Custom renderer. There was nothing related to cpu-load.


BTW, I wonder why the newest VSFilter bugfixes made by Aegisub's authors aren't incorporated into MPCHC? (I have different display of static rotated subs, sometimes MPCHC won't rotate them at all, whereas DVobSub VSFilter does)

leeperry
8th December 2008, 11:44
I've seen that too ONCE on mp4, and converting the source file to mkv didn't solve the jitter. I've just switched temporarily to EVR-Custom renderer. There was nothing related to cpu-load.
might be splitter related then, some of them are tigher than others ;)

I can play any type of file w/ very stable jitter in HR...using Reclock w/ a perfectly matching refresh rate that is :D

Mercury_22
8th December 2008, 11:45
Revision 918 - Directory Listing
Modified Sun Dec 7 15:53:54 2008 UTC (18 hours, 40 minutes ago) by casimir666
FIXED : Support for Theora stream in Ogg internal splitter

Big thanks ! :thanks: but can someone compile a 64-bit version ? PLEASE !

P.S. Waiting for a MKV splitter fix and for a MPEG PS/TS/PVA splitter improvement too ! :helpful: PLEASE !

clsid
8th December 2008, 12:21
BTW, I wonder why the newest VSFilter bugfixes made by Aegisub's authors aren't incorporated into MPCHC? (I have different display of static rotated subs, sometimes MPCHC won't rotate them at all, whereas DVobSub VSFilter does)Afaik, all of them have also been applied to MPC-HC. Perhaps your issue is related to the pre-buffering option?

PolaR ID
8th December 2008, 13:52
Which codec, player or anything else I need to play BD DVDs and as well normal DVDs and other media files on my PC?

I have latest GFX + CQ Prossesor and XP 32bit.

Before i used to use CCCP codec and after that ffdshow SVN by clsid + MPC 6.4.9.1 and Matroska Splitter.

I want to use the latest and save way of playing media file on PC, and here i'm asking for sugestion..

Thanks in advance.

Did i asked anything wrong here, as i didn't get my answer :)

fastplayer
8th December 2008, 13:57
Did i asked anything wrong here, as i didn't get my answer :)
And your question is in which way related to MPC-HC?!
Please make a new thread!

PolaR ID
8th December 2008, 14:38
Ok, thanks for suggestion. Here is the thread

http://forum.doom9.org/showthread.php?p=1221848#post1221848

darthfrueder
8th December 2008, 18:15
My first post here, so... you know... I hope it is the right thread for it. If not, then please, move it where it belongs.

I am using mpc-hc on my htpc coupled with Mediaportal as an external player. Both of them are controlled by the intelliremote that is getting commands from my x-fi remote control and currently forward keypresses to the appropriate app depends on which is active.
The Problem: my family are not completely uniformed in tastes, so those who are not watching the current film are browsing or chatting on the same pc, grabbing the focus and rendering the remote control completely useless.
The Solution:create a c++ app that will sit between the intelliremote and MPC-HC and instead of key presses send direct messages to the MPC-HC. I have played with the idea and it seems like I should be able to use windows messages for this purpose. I think something like SendMessage (WM_COMMAND, ....) should do the trick? I have somewhat limited knowledge of Windows C++ techniques. I wrote a skeleton app that is getting a HWND handle of the MPC-HC window and now I need to know how to control MPC-HC. If someone would help me with the list of WM_COMMAND(s) built into MPC-HC and explain the way I should use SendMessage function in order for them to reach MPC-HC I would really appreciate it.

I am also completely open for any other possible solution for this problem (OLE?, COM?, anything else?), apart from the simulated key input , which is very unreliable and makes some of my family members unhappy :) .
Thanks in advance!

MatMaul
8th December 2008, 18:35
@darthfrueder : mpc-hc have a little api.
look at the file MpcApi.h, and there is a test program available in the source code too (MPCTestAPI).

darthfrueder
8th December 2008, 18:50
@darthfrueder : mpc-hc have a little api.
look at the file MpcApi.h, and there is a test program available in the source code too (MPCTestAPI).

Thanks for the reply MatMaul.
I actually had a quick look at this header file, but I think it mostly contains commands to return infos, etc. but not commands to control the player, but maybe I misunderstand something. Please, correct me if I am wrong. It seems to me like an interface to a sidebar gadget or something similar. (Edit: I had another look and found Stop, Audio and Subs related commands that are useful).

What I actually need is this (minimum set) :

Play/Pause,
Stop,
FF,
REW,
Medium step forward,
Large step formward,
Medium step backward,
Large step backward,
Remaining time info (ctrl-i)
Subs on/off
Next Sub
Next Audio

Optional:
Jitter (ctr-j),
DVD menu control (Arrows + Select)

MatMaul
8th December 2008, 19:14
then I think you can use SendMessage(WM_COMMAND,ID...) with the ID you can find in the keys property page.
example : Play/Pause ==> ID = 889

rack04
8th December 2008, 20:58
Are there varying DXVA restrictions for different video cards?

As a test, I encoded a 1920x1080 VC1 MKV to h264 using x264 with varying resolutions. The only thing that I changed was the crop and resize.

Encode 1 (DXVA works)

DirectShowSource("C:\Personal\Videos\sample.mkv",fps=23.9759856527702,audio=false)
crop( 0, 128, 0, -136)
Spline64Resize(1280,544)

http://i11.photobucket.com/albums/a199/rack04/DXVA.jpg

Encode 2 (Reverts to FFmpeg)

DirectShowSource("C:\Personal\Videos\sample.mkv",fps=23.9759856527702,audio=false)
crop( 0, 128, 0, -136)
Spline64Resize(1920,816)

http://i11.photobucket.com/albums/a199/rack04/DXVAno.jpg

Can anyone provide any insight on why DXVA is limited by resolution on my video card? The files play with DXVA on my 8800gt but only the ones with 1280 resolution play with DXVA on my Quadro NVS 135M.

I didn't think that MPC-HC could be set to Haali Renderer for DXVA uner XP but I'm seeing DXVA enabled even when Haali Renderrer is enbled.

Snowknight26
8th December 2008, 22:38
When switching audio tracks, the Audio Renderer's properties still show the old audio track.

Emp3r0r
8th December 2008, 22:51
anybody have a mirror to xvidvideo.ru? it seems down.

Kado
8th December 2008, 23:00
@rack04
Check your GPU capabilities using DXVA Checker (http://bluesky23.hp.infoseek.co.jp/#DXVAChecker).

rack04
8th December 2008, 23:07
@rack04
Check your GPU capabilities using DXVA Checker (http://bluesky23.hp.infoseek.co.jp/#DXVAChecker).

Is this what you're asking for?

http://i11.photobucket.com/albums/a199/rack04/DXVA-1.jpg

darthfrueder
8th December 2008, 23:32
MatMaul, I have tried to do this:

SendMessage(MPCWindowHandle,
WM_COMMAND,
ID_PLAY_PLAYPAUSE,
0);

... and it does not work. I am using win32 api.

Edit: Found the following that actually works:

SendMessage(MPCWindowHandle,
WM_COMMAND,
MAKEWPARAM(ID_PLAY_PLAYPAUSE,1),
0);

Heyaayyaaa!! Thanks a lot!

Kado
9th December 2008, 00:00
@rack04
Haali renderer does not support dxva, maybe you are talking about haali splitter?
I will try to supply a 1080p dxva compatible sample for you to test tomorrow.

rack04
9th December 2008, 00:45
@rack04
Haali renderer does not support dxva, maybe you are talking about haali splitter?
I will try to supply a 1080p dxva compatible sample for you to test tomorrow.

I understand that it shouldn't work with Haali but for some reason it is working.

Here (http://www.megaupload.com/?d=AWVSHZK0) is the sample that I'm working with.

Haali Renderer:
http://i11.photobucket.com/albums/a199/rack04/haali.jpg

DXVA Acceleration:
http://i11.photobucket.com/albums/a199/rack04/dxca.jpg

slavickas
9th December 2008, 01:37
I bet Haali renderer isnt used, check which actual renderer is in use

Emp3r0r
9th December 2008, 01:52
I'm trying to set the MPCVideoDec.ax x64 filter as the preferred filter for AVC but I am unable to find a program to change the merit.

All the filter manager programs only manage x86 filters. Any suggestions.

rack04
9th December 2008, 02:09
I bet Haali renderer isnt used, check which actual renderer is in use

It just says "Video Renderer" in the filters.

Filter : Video Renderer - CLSID : {B87BEB7B-8D29-423F-AE4D-6582C10175AC}

cr0
9th December 2008, 02:40
Hi, are there any users out there with a 4850 and Vista x64 with working DXVA using EVR Custom for H264 content? If so, what is your Catalyst driver version? I'm experiencing display corruption with this setup using 8.11 and am wondering if its something with my setup or if it's a widespread issue.

Aleksoid1978
9th December 2008, 03:01
Hi, are there any users out there with a 4850 and Vista x64 with working DXVA using EVR Custom for H264 content? If so, what is your Catalyst driver version? I'm experiencing display corruption with this setup using 8.11 and am wondering if its something with my setup or if it's a widespread issue.

I use Vista x64 SP1, HD4850, all Catalyst from 8.8 to 8.12beta for me work DXVA with h264 and VC-1 content.

Snowknight26
9th December 2008, 03:06
Make sure you restart after installing the CCC. That usually fixes any DXVA issues.

STaRGaZeR
9th December 2008, 03:07
It just says "Video Renderer" in the filters.

Filter : Video Renderer - CLSID : {B87BEB7B-8D29-423F-AE4D-6582C10175AC}

That's not Haali's renderer ;)

HR does not support DXVA.

rack04
9th December 2008, 03:07
That's not Haali's renderer ;)

Then there is a bug when selecting Haali's Renderer.

noee
9th December 2008, 03:22
Then there is a bug when selecting Haali's Renderer.

Not necessarily. You have to add HR to the "external filters" list *and* choose it in the Output tab.

cr0
9th December 2008, 03:57
I use Vista x64 SP1, HD4850, all Catalyst from 8.8 to 8.12beta for me work DXVA with h264 and VC-1 content.

With MPC-HC and EVR Custom or regular EVR?

Also, what resolution do you use?

The highest resolution I can use without experiencing corruption is 1440x900, anything higher, 1680x1050 or 1920x1080, both cause corruption.

avivahl
9th December 2008, 04:00
With MPC-HC and EVR Custom or regular EVR?

Also, what resolution do you use?

The highest resolution I can use without experiencing corruption is 1440x900, anything higher, 1680x1050 or 1920x1080, both cause corruption.Are the videos you are trying to play DXVA-compatible? Do you relize there are restrictions on the encoding parameters in order to ensure your video will play properly (using DXVA)?

cr0
9th December 2008, 04:06
Are the videos you are trying to play DXVA-compatible? Do you relize there are restrictions on the encoding parameters in order to ensure your video will play properly (using DXVA)?

Thanks for the reply. Yes, I realize this and they are DXVA compatible. From what I've read, MPC-HC will detect incompatible videos and fallback to ffmpeg decoding. Further, even if they weren't it wouldn't make sense that when I set my desktop resolution to 1440x900 they would play without corruption, but when I use 1920x1080 they wouldn't.

The problem seems tied to using DXVA under EVR Custom with a resolution greater than 1440x900. I can watch videos just fine in EVR mode at any resolution. However no subtitles makes me a sad panda :(

Aleksoid1978
9th December 2008, 04:16
With MPC-HC and EVR Custom or regular EVR?

Also, what resolution do you use?

The highest resolution I can use without experiencing corruption is 1440x900, anything higher, 1680x1050 or 1920x1080, both cause corruption.

Usually i use EVR Custom, but test and EVR regular - all work.
Resolution my Desktop - 1680x1050, video fine all resolution - FullHD(1920x1080), HD(1280x720), SD(720x576) ...

cr0
9th December 2008, 04:47
Usually i use EVR Custom, but test and EVR regular - all work.
Resolution my Desktop - 1680x1050, video fine all resolution - FullHD(1920x1080), HD(1280x720), SD(720x576) ...

Hurm, damn. Well, thanks for the reply. I guess I have some more testing to do. I'll try a fresh install once the 8.12 drivers come out.

73ChargerFan
9th December 2008, 09:00
You have to add HR to the "external filters" list *and* choose it in the Output tab.
Can this be added to the first post in this thread?

Very unintuitive. Perhaps a note can be added to the selection of Haali Renderer stating this, or even better, it shouldn't be required.

canTsTop
9th December 2008, 10:03
is it possible to integrate RARFileSource http://www.v12pwr.com/RARFileSource in Media Player Classic Home Cinema ?
Thank You