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

John_J
20th July 2012, 00:22
Any 8-bit 4:2:0 AVC video with <= 1080p would be decoded using DXVA. It's almost any video, except 10-bit video (which is in 99% cases is anime).
Anyway if LAV switch to software decoding - than that video (except MPEG-4 ASP, which is supported using CUVID, but who cares) can't be decoded with hardware decoder. In that case there is nothing else to do anyway, so why bothering? :)
Or you're trying to use pure DXVA with filters that doesn't support it (e.g. madVR, VSfilter). But in that case you should use dxva-copyback (or CUVID).

I'm using CUVID, you're right. I'm still using XP with Nvidia.

So... what's the problem? Install both of them, in "External Filters" add LAV Video Decoder and choose "prefer". MPC-HC would use LAV, DirectShowSource/DSS2 from avisynth - ffdshow...

This is what I'm trying to avoid. Several different filters for every software, codec & container (MPC-HC, DVD Architect, Cut Assistent, TMPEG, Goldwave, DVBViewer, AVS2DVD, ...and this on 3 different PCs...I know, it's confusing).

I thought you were using ffdshow subtitle's, since if you are using ISR nothing (including decoder) could screw them up.

You understood that right... Can't get MPC-HC to playback files (with DXVA) when using VMR renderless. Maybe it's time to reformat or switch to W7.

I
If you're using ISR, than subtitles can't affect anything. And LAV is perfect solution for MPC-HC...
If you are using internal DXVA decoders - make sure that all "DXVA Compatibility checks" in decoder settings are off.

Thanks for the tip...

Also note that it's impossible to use pure dxva decoders (e.g. ffdshow dxva) with avisynth.

:D I know...

roytam1
20th July 2012, 01:19
I'm using CUVID, you're right. I'm still using XP with Nvidia.



This is what I'm trying to avoid. Several different filters for every software, codec & container (MPC-HC, DVD Architect, Cut Assistent, TMPEG, Goldwave, DVBViewer, AVS2DVD, ...and this on 3 different PCs...I know, it's confusing).



You understood that right... Can't get MPC-HC to playback files (with DXVA) when using VMR renderless. Maybe it's time to reformat or switch to W7.



Thanks for the tip...



:D I know...
The only way to use DXVA is DXVA1 Native in XP. (as I use AMD display cards I don't know about CUVID)
and only MPC-HC internal subtitle renderer works with DXVA surface.

kutjong
20th July 2012, 22:57
Would it be possible to add an option for selecting what renderer to use for what material? For example, I like to use madVR in general but due to incompatibility with the DVD navigator I have to switch to EVR CP whenever I want to watch DVDs. It would be nice to automate MPC-HC to switch to EVR CP whenever the DVD navigator is detected in the chain. :) Is this possible?

ENAJonas
21st July 2012, 16:37
I know this will be obvious to all here, but just wanted to check. If I am happy with my setup (MPCHC,ffdshow,VMR9R,XP,8800GTX) but don't have DXVA (or CUVID for that matter) enabled, and yet have no CPU/framerate issues, is there ANY reason to try to get them working? Are there actual features I may be missing besides the drop in CPU? Thanks guys for taking just a moment to come down to my level :)

betaking
22nd July 2012, 12:03
S.Chinese update to rev.5590
http://www.mediafire.com/?279rgl78pajufgg

LigH
23rd July 2012, 07:40
@ ENAJonas:

If you're happy and you know it, clap your hands. ;) -- There is no need to enforce something you don't really miss. If your CPU/GPU combo is fast enough, software routines implement all the features from the decoding to the post-processing, and they are usually not worse than the hardware implementations. The only exception used to be some interlaced VC-1 which was not implemented correctly for a long time, but I believe there was some good progress in the last months.

ryrynz
23rd July 2012, 08:47
Would like to suggest renaming the Gabest folder in HKCU\Software to MPC-HC Team.

kasper93
23rd July 2012, 13:38
See #1614 (https://sourceforge.net/apps/trac/mpc-hc/ticket/1614)

ryrynz
25th July 2012, 12:03
Minor thing, sometime between builds 5005-5016 the audio switcher boost slider has a pixel or two cut off the bottom of the block if you have your display set to 125% in Windows.

hayan
25th July 2012, 14:32
Feature Request

Custom Player Buffer Size, in SEC or MB (memory cheap)
detail: use default buffer size when the media file just open→ continue playback up to few sec(ie.15s) → start prefetching the custom buffer size in main memory (pre-load current file)

Preload/Preprocessing? next media file header at final 10 seconds of playing (Gapless playing)

khagaroth
28th July 2012, 15:45
Updated Czech translation (https://sourceforge.net/apps/trac/mpc-hc/ticket/1505)

ageback
29th July 2012, 04:58
Simp. Chinese update
https://dl.dropbox.com/u/132862/mplayerc.sc.rc.txt

Octo-puss
29th July 2012, 09:07
Has the development been stopped completely?

ryrynz
29th July 2012, 09:13
Nope, discussion has just dried up and Google Code and Sourceforge aren't being used for revision logs anymore.

Track it here (https://github.com/mpc-hc/mpc-hc/commits/master) at github. As usual, development builds available at http://xhmikosr.1f0.de/mpc-hc/

Eliminateur
29th July 2012, 18:35
i'm having an issue with build 1.6.3.5385 and subtitles:
i had set subpicture buffering to 0 because i had flashing text on animated karaoke and had no problems until i've tried playing a certain file with vobsubs and SRT bog-standard subs:
it would only display one line of text ever 10 minutes or more, i'switched splitters to no avail, same problem.

the moment i put the buffering to more than 0(any value) (regardless of the animation setting) it started working perfectly and siplaying all subs

KoD
29th July 2012, 19:47
i'm having an issue with build 1.6.3.5385 and subtitles:
i had set subpicture buffering to 0 because i had flashing text on animated karaoke and had no problems until i've tried playing a certain file with vobsubs and SRT bog-standard subs:
it would only display one line of text ever 10 minutes or more, i'switched splitters to no avail, same problem.

the moment i put the buffering to more than 0(any value) (regardless of the animation setting) it started working perfectly and siplaying all subs

Just use xy-vsfilter, and avoid MPC_s internal subtitle engine from now on. The performance and feature set of the xy-vsfilter version is much better than what MPC-HC's internal subtitler can do:

http://code.google.com/p/xy-vsfilter/
http://www.cccp-project.net/forums/index.php?topic=5976.0

You don't have to register it, just put it somewhere, and use MPC's "External Filters" option page to browse to the vsfilter.dll. Two entries will appear: "DirectVobSub" and "DirectVobSub (auto-loading version)". Disable the "DirectVobSub" one. Select the "DirectVobSub (auto-loading version)", and click on "Prefer" -> Apply, and that's it.

Then disable MPC-HC's internal engine, on the "Playback" page, by disabling "Auto-load subtitles", or when playing a file, from the context menu: "Subtitles -> Enable = unchecked."

clsid
29th July 2012, 20:26
Some comments for the new Output page:
1) EVR also supports DXVA (on Vista/7/8).
2) The tooltip should be changed from "Subtitles are only..." to "The internal subtitle functionality is only...". Then it is more clear that it only applies to the ISR.
3) Novice users may think that subtitles do not work at all with certain renderers. It should somehow be made more clear that the mentioned capability only applied to the internal functionality of MPC-HC, and not to subtitles in general. Maybe add a * behind "Subtitles" and then a small note at the bottom that says something like "Subtitles can be displayed with all renderers, when using an external filter such as DirectVobSub."

pgase
29th July 2012, 21:32
Nope, discussion has just dried up and Google Code and Sourceforge aren't being used for revision logs anymore.

Track it here (https://github.com/mpc-hc/mpc-hc/commits/master) at github. As usual, development builds available at http://xhmikosr.1f0.de/mpc-hc/

OMG... wtf ?

... and for translation ?

Underground78
29th July 2012, 21:42
Well nothing change for translations?

keneo
29th July 2012, 22:17
I see that there is an EDL editor in MPC.
I am not sure how to make it work, or even if it does work.
I tried openning a video with an EDL in the same folder. nothing
I tried dragging the edl to MPC. nothing
I tried to manipulate the EDL editor panel. nothing
cant find any documentation on it.
does anyone know if it works? or if it will work?


I have also noticed that the command line switch "Monitor" is not working for me. I tried /monitor 1 /monitor 2 /monitor 0 .
does that work?

Underground78
29th July 2012, 22:24
I see that there is an EDL editor in MPC.
I am not sure how to make it work, or even if it does work.
I tried openning a video with an EDL in the same folder. nothing
I tried dragging the edl to MPC. nothing
I tried to manipulate the EDL editor panel. nothing
cant find any documentation on it.
does anyone know if it works? or if it will work?
Well I have always wondered if it works and how. It's there since a long time but since it's hidden (maybe because it's broken I don't know) nobody knows about it.

I have also noticed that the command line switch "Monitor" is not working for me. I tried /monitor 1 /monitor 2 /monitor 0 .
does that work?
It's supposed to work at least. If it doesn't you probably should open a ticket on Trac (put me in Cc so that I don't forget you).

pgase
29th July 2012, 23:32
Well nothing change for translations?

Without changelog ?

Eliminateur
29th July 2012, 23:39
Just use xy-vsfilter, and avoid MPC_s internal subtitle engine from now on. The performance and feature set of the xy-vsfilter version is much better than what MPC-HC's internal subtitler can do:

http://code.google.com/p/xy-vsfilter/
http://www.cccp-project.net/forums/index.php?topic=5976.0

You don't have to register it, just put it somewhere, and use MPC's "External Filters" option page to browse to the vsfilter.dll. Two entries will appear: "DirectVobSub" and "DirectVobSub (auto-loading version)". Disable the "DirectVobSub" one. Select the "DirectVobSub (auto-loading version)", and click on "Prefer" -> Apply, and that's it.

Then disable MPC-HC's internal engine, on the "Playback" page, by disabling "Auto-load subtitles", or when playing a file, from the context menu: "Subtitles -> Enable = unchecked."

i don't like external sub filters, they always tend to work "bad" because they can only put the subs in the video frame, and i want my subs to be positioned absolute to the screen, not the vid frame

ageback
30th July 2012, 01:30
S.Chinese fix a typo and update to latest revision.
https://dl.dropbox.com/u/132862/mplayerc.sc.rc.txt

ryrynz
30th July 2012, 02:38
Liking the new output page. Bye bye Haali Renderer.

Aleksoid1978
30th July 2012, 03:18
Overlay render support DXVA in Windows XP too.

Aleksoid1978
30th July 2012, 03:20
i'm having an issue with build 1.6.3.5385 and subtitles:
i had set subpicture buffering to 0 because i had flashing text on animated karaoke and had no problems until i've tried playing a certain file with vobsubs and SRT bog-standard subs:
it would only display one line of text ever 10 minutes or more, i'switched splitters to no avail, same problem.

the moment i put the buffering to more than 0(any value) (regardless of the animation setting) it started working perfectly and siplaying all subs

Can you upload a short sample on that you have this bug.

vivan
30th July 2012, 06:06
Novice users may think that subtitles do not work at all with certain renderers.So the same goes to:
DXVA - it's possible to use DXVA-copyback with any renderer;
"Screenshot" - it's possible to use PrtScr button (except overlay);
"Rotation" - it's possible to do this with ffdshow;
"Shaders" - let's rename it to "postprocessing" and it's also possible to do this with ffdshow.
;)

Underground78
30th July 2012, 19:55
Without changelog ?
You mean something like that https://github.com/mpc-hc/mpc-hc/commits/master/src/mpc-hc/mpcresources/text/mplayerc.fr.rc.txt?

Liking the new output page. Bye bye Haali Renderer.
It's not really gone, just that you don't have it installed.

Lincoln Burrows
30th July 2012, 20:23
How do I avoid MPC-HC from enlarging its own window if the content is using a higher resolution?

Underground78
30th July 2012, 20:41
You can untick "Auto-zoom" in Options > Playback but I'm not sure if it's exactly what you want.

Lincoln Burrows
30th July 2012, 21:24
You can untick "Auto-zoom" in Options > Playback but I'm not sure if it's exactly what you want.That's what I was looking for, thanks! :cool:

Eliminateur
30th July 2012, 23:36
Can you upload a short sample on that you have this bug.
there was a tool to crop a piece of a mkv file, which one was it, i can't find it on my hdd...

roytam1
30th July 2012, 23:50
Overlay render support DXVA in Windows XP too.

VMR9 renderless too, but I got a cross in r5686

ADude
31st July 2012, 06:47
Does anyone know the best way with the current code, to install two different versions in two different folders ? The installer does not ask for an installation location, even with the custom option. This is for Windows X86.

Thanks !

ryrynz
31st July 2012, 11:47
Nice to see a new? dev getting stuck in. Welcome Armada.

boyumeow
31st July 2012, 12:08
@Eliminateur,
Is 'DGSplit' what U r looking for. Thanks.

Underground78
31st July 2012, 17:59
Does anyone know the best way with the current code, to install two different versions in two different folders ? The installer does not ask for an installation location, even with the custom option. This is for Windows X86.

Thanks !
Not sure you can do that with the installer. Probably it switches to update mode if you already have MPC-HC installed. You can always use the archive package of course.

keneo
2nd August 2012, 02:32
Everyone thinks their ideas are the coolest ideas. I guess I am no exception. Because I think this is a very, very cool idea. Also, its probably not hard to implement...

Wouldn't be awesome - crazy awesome - if MPC users could create their own custom commands? And then assign that command to a keystroke.
So for example whenever I press "ALT+E" it could execute the command line or batch file I specify: "banana.bat %currentMovie%"

What would this be good for?
Someone might be watching a movie and decide they want to open that movie up in their external movie editor
Or they might decide they want to move that movie to their WATCHED folder, or their <WHATEVER > FOLDER
Or they might want to open up a word document using the title of that movie and write notes or a review
Or they might want to upload...who knows what they might want?

In my case I have created a set of vbs and batch scripts that allow me to move, delete, split, tag, join, bookmark, and re-encode media files. But its a pain to use because, among other reasons, I have to keep switching between the cmd window and MPC and I need to specify the movie I am working on manually.

I am sure this would be relatively easy to code. Its nothing fancy. Yet it would instantly make MPC much more powerful.
This new feature could go in the "Keys" Option page. Just add a button called "Add custom command"
The user would then specify the command line they want executed.
They would also specify the Key that would launch that command (or mouse action?).

It would also be necessary to make some basic info available for users to insert into the command line: Full path of current media file, current play location in that media (time and/or frames), duration would be nice to know as well. There is probably a ton of other not-so-basic info you could make available: like audio and video codec info, file size, file date, ...

So think it over, and tell me this is as easy to do as I imagine!

:)


-Ken

turbojet
2nd August 2012, 02:48
keneo autohotkey (http://www.autohotkey.com/) can do all you mentioned inside and outside of mpc-hc. It requires some scripting knowledge but if you know vb it should be easy to learn.

v0lt
2nd August 2012, 03:46
mpc-hc_audiomixer_2.7z (http://www.mediafire.com/?v8xfp8x4u12pma3)
Added audio mixer. This is someone needs?

Aleksoid1978
2nd August 2012, 06:52
there was a tool to crop a piece of a mkv file, which one was it, i can't find it on my hdd...

download MKVToolnix

Sylt
2nd August 2012, 07:16
mpc-hc_audiomixer_2.7z (http://www.mediafire.com/?v8xfp8x4u12pma3)
Added audio mixer. This is someone needs?

Good work, I think you can add it to the master branch of MPC-HC.

---

Another Question:
Microsoft will release Windows 8 soon, the trend is toward Metro Apps. Will there be also a MPC-HC Metro Version (that also runs at Windows 8 ARM devices?).

keneo
2nd August 2012, 16:29
keneo autohotkey (http://www.autohotkey.com/) can do all you mentioned inside and outside of mpc-hc. It requires some scripting knowledge but if you know vb it should be easy to learn.

Thanks for the tip. I took a look at autohotkey but it seems to be missing some key abilities:

-I don't think I can use it to extract info about the currently playing MPC file: filename, current position, etc... Thats really important here.

-Also, I would like the hot keys to be available only while an MPC window is active. But, from what I can tell, autohotkey only lets you assign hot keys globally. That's a big problem if we want to use plain letters like 'A' 'B' 'C' as hotkeys in MPC.

Would it really be hard to add a custom command feature? I wish I was a real programmer, instead of a batch file and VBS hack.

Adding something like this to MPC would be good on at least one other level: It would be a creative boon: fostering ideas for new features that could be built into MPC after a while of testing it out as a simple custom command.

Underground78
2nd August 2012, 21:23
mpc-hc_audiomixer_2.7z (http://www.mediafire.com/?v8xfp8x4u12pma3)
Added audio mixer. This is someone needs?
I must be stupid but I can't find how to use it. -_-'

Would it really be hard to add a custom command feature?
Probably not that hard but is that really useful? I understand why you like this idea but is that really a task for MPC-HC...

Eliminateur
2nd August 2012, 21:36
download MKVToolnix
but wouldn't mkvtoolnix remux it defeating the purpose of debugging the original issue?

ah yes, dgsplit!, downloading it

Mosley
2nd August 2012, 22:14
I must be stupid but I can't find how to use it. -_-'

Me too. I don't find the audio mixer.

v0lt
3rd August 2012, 03:19
I must be stupid but I can't find how to use it. -_-'
See audio decoder settings.

Aleksoid1978
3rd August 2012, 04:32
mpc-hc_audiomixer_2.7z (http://www.mediafire.com/?v8xfp8x4u12pma3)
Added audio mixer. This is someone needs?

Integrate it :)

GrofLuigi
3rd August 2012, 04:35
In Options>Subtitles>Delay Interval, I can't enter - (minus sign). mpc-hc64.exe 1.6.3.5696 on Win7 x64.

GL