View Full Version : Media Player Classic Home Cinema (MPC-HC) - DXVA!
Mercury_22
24th December 2008, 10:06
Install MadFlac, and add it as an "External Filter" in MPC - under Options.
(Or am I completely lost as to what you are after?)
Kind of :) I was referring to INTERNAL support !
(I know there are external filter for FLAC even 64-bit)
clsid
24th December 2008, 14:26
There are good external filters for FLAC. There is no point in adding internal support for it. It will only make the player more bloated. There are other features that should be added that are more important. There are also still plenty of bugs to fix.
Stop asking for things that are unimportant.
Kurtnoise
24th December 2008, 14:34
@devs: here is a patch for video acceleration API (http://www.splitted-desktop.com/~gbeauchesne/mplayer-vaapi/) on mplayer (not DX based). Maybe that could be great to have it for MPEG-2 & MPEG-4 ASP under mpc-hc...;)
tetsuo55
24th December 2008, 14:38
@devs: here is a patch for video acceleration API (http://www.splitted-desktop.com/~gbeauchesne/mplayer-vaapi/) on mplayer (not DX based). Maybe that could be great to have it for MPEG-2 & MPEG-4 ASP...;)
Wow that was fast...
I wonder if assisted decoding is easier to implement with that api
Also i doubt it will work on windows because its a linux api
Kurtnoise
24th December 2008, 14:47
The main motivation for this proposal is to enable hardware accelerated video decode at various entry-points (VLD, IDCT, Motion Compensation etc.) for the prevailing coding standards today (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3). Extending XvMC was considered, but due to its original design for MPEG-2 MotionComp only, it made more sense to design an interface from scratch that can fully expose the video decode capabilities in today's GPUs.
The current interface is focused on video decode only and is window system independent, so that potentially it can be used with graphics sub-systems other than X.
http://www.freedesktop.org/wiki/Software/vaapi
tetsuo55
24th December 2008, 15:34
that just means that it "could" be ported to a different linux sub-system.
Eventually some "could" port it to windows, but that would mean installing the interface and all its dependencies(like gimp for windows, openAL, Asio)
That's assuming nvidia bothered to put the api in the windows driver
clsid
24th December 2008, 15:39
Yeah, so lets please forget about this until it is a mature usable API that is properly supported on Windows.
hdboy
24th December 2008, 17:40
I have a blu-ray .mt2s file that's VC1 encoded. I can't get mpc to play it, though I have h264 encoded .m2ts files playing just fine. I've tried using both the internal splitter and haali splitter. the file properties page's details tab shows:
Video: WVC1 1920x1080 29.97fps [Video]
Audio: Dolby AC3 48000Hz 6ch [Audio]
any ideas? thanks
alexins
24th December 2008, 18:49
Media Player Classic HomeCinema (x86), svn 940 (http://www.xvidvideo.ru/content/view/517/1/)
Media Player Classic HomeCinema (x64), svn 940 (http://www.xvidvideo.ru/content/view/516/1/)
Supported languages: CN, CZ, DE, ES, FR, HU, IT, KR, PL, RU, SK, TR, UA
Changes log (http://www.xvidvideo.ru/content/view/7/17/)
Updated FFmpeg
Mercury_22
24th December 2008, 22:45
There are good external filters for FLAC. There is no point in adding internal support for it. It will only make the player more bloated. There are other features that should be added that are more important. There are also still plenty of bugs to fix.
Stop asking for things that are unimportant.
I didn't ask for it ! :eek: I've just ask if there is any "support" (splitter) so I can use FFdshow's FLAC because I don't like to "bloat" my computer with many programs (filters)
ikarad
25th December 2008, 00:42
Media Player Classic HomeCinema (x86), svn 939 (http://www.xvidvideo.ru/content/view/511/1/)
Media Player Classic HomeCinema (x64), svn 939 (http://www.xvidvideo.ru/content/view/510/1/)
Supported languages: CN, CZ, DE, ES, FR, HU, IT, KR, PL, RU, SK, TR, UA
Changes log (http://www.xvidvideo.ru/content/view/7/17/)
Updated FFmpeg; FIXED : Bugs on presentation graphics, missing subtitles, better synchronization.
i try this version and I noticed that the bug of subtitles display blocked has desappeared:
2) I notice a bug with blu-ray subtitles in this version.
Sometimes a subtitles is displayed but doesn't disappeared. Consequently the following subtitles aren't displayed.
When I use inverse telecine filter to deinterlace my video (because japan anime are often interlaced), the second subtitle ("burning") of utawarerumono is blocked and don't disappeared. The following subtitles aren't displayed. This problem didn't existed with 1.2.923 version
Here is the video
"Here is the link for video (utaweruromo 1 min with subtitles) with subtitles embedded (265 MB)
http://www.zshare.net/download/5268802709403859/
the other link is a txt file with all subtitles (1 kB)
http://www.zshare.net/download/5268532167381f2b/"
and here is the parameters that I use for inverse telecine (is telecide with avisynth)
http://nsa03.casimages.com/img/2008/12/21/mini_081221100446894147.jpg (http://www.casimages.com/img.php?i=081221100446894147.jpg)
But synchronization of subtitles isn't still perfect in utawarerumono
tetsuo55
25th December 2008, 00:58
Maybe this is a good time to mention the fact that haali media splitter is closed source, and all developement that is not related to coreavc seems to have stopped.
I've actually been hoping for an open-source alternative.
Maybe we can unify the splitter in MPC-HC and allow it to be used seperately (like the dxva decoders)
ideally it would get its own sub-section in the SVN (unlike how its semi hidden now) to attract more dev's.
Also it would be cool if it was a smart as XBMC's splitter(which almost seems to detect anything in any extention/container).
GTPVHD
25th December 2008, 02:36
The internal splitter in MPC-HC definitely needs to be improved to reduce dependence on Haali splitter, which is not open source. At the moment, it doesn't support ordered chapters in mkv(correct me if wrong, been trying some samples and doesn't work for me) which makes it less useful as a single standalone player which doesn't need installing that you can just throw on a USB flash drive.
Also because Haali is not open source and hasn't been updated for months, there's no way to determine whether it will be forward compatible with future OS like Windows 7 and the next major release, Windows 8(?) or whatever it's gonna be called.
Kurtnoise
25th December 2008, 10:00
Eventually some "could" port it to windows, but that would mean installing the interface and all its dependencies(like gimp for windows, openAL, Asio)
nope...you mix up libs and apps here but that's another story. :)
/goback to mpc-hc stuff from now...
tetsuo55
25th December 2008, 10:42
nope...you mix up libs and apps here but that's another story. :)
/goback to mpc-hc stuff from now...
I actually ment it that way, i mentioned gimp because it installes a ton of extra programs if you don't already have its dependencies
clsid
25th December 2008, 14:11
Maybe this is a good time to mention the fact that haali media splitter is closed source, and all developement that is not related to coreavc seems to have stopped.
I've actually been hoping for an open-source alternative.
Maybe we can unify the splitter in MPC-HC and allow it to be used seperately (like the dxva decoders)
ideally it would get its own sub-section in the SVN (unlike how its semi hidden now) to attract more dev's.
Also it would be cool if it was a smart as XBMC's splitter(which almost seems to detect anything in any extention/container).
The splitters are already available as standalone filters. They have been for years.
And I doubt that Haali has stopped development.
leeperry
25th December 2008, 14:47
I doubt that Haali has stopped development.
considering he's given me new beta versions of HMS/HR a few weeks ago, I can confirm that the development is far from over...especially with MKV 2.0 around the corner ;)
yesgrey
25th December 2008, 15:10
I have a blu-ray .mt2s file that's VC1 encoded. I can't get mpc to play its
Which OS and graphics card?
tetsuo55
25th December 2008, 15:39
considering he's given me new beta versions of HMS/HR a few weeks ago, I can confirm that the development is far from over...especially with MKV 2.0 around the corner ;)
Is there any information out there about these 2?
maybe a SVN changelog or roadmap?
apart from the ?private? build you seem to have both of these have not been officially updated for about half a year.
Still even if they have been haali splitter is still closed source, and features/changes/fixes are only added when haali wants to add them. I'm not saying haali splitter is a bad thing, in fact its great. But i prefer not to put all my eggs in one basket
leeperry
25th December 2008, 16:30
Is there any information out there about these 2?
maybe a SVN changelog or roadmap?
no whatsnew section, so I dunno what's changed in HMS...just the version number is 1.8.365.21
well it's not like you have much options anyhow...Gabest's MKV splitter doesn't support 1.5mbit DTS tracks(random silences) and neither does it support multiple soundtracks or seamless branching....the good side being that it provides better jitter in Reclock than HMS.
the only other MKV splitter I know of is KPMlayer's but they don't release external filters, so it only works in KMP(except if someone knows how to extract it from the main exe?)
Reino
25th December 2008, 16:31
...especially with MKV 2.0 around the corner ;)Where do you got this info? I can't find anything; not on this forum, not with google...
leeperry
25th December 2008, 16:35
Where do you got this info?
http://www.google.com/search?hl=en&safe=off&q=matroska+2.0&lr=
apparently Haali works w/ CoreCodec...
Jay Bee
25th December 2008, 17:46
I've actually been hoping for an open-source alternative.
Maybe we can unify the splitter in MPC-HC and allow it to be used seperately (like the dxva decoders)
It is available and it's actually quite good already. It can play Blu-Ray m2ts files where Haali fails due to lack of DTS HD/Dolby HD/LPCM HD support. The only problem I have with it is that with this splitter Zoom Player hangs when it reaches the end of a file, instead of moving on in the playlist (using ATI and VMR9).
Kurtnoise
25th December 2008, 18:05
..Gabest's MKV splitter doesn't support 1.5mbit DTS tracks(random silences) and neither does it support multiple soundtracks or seamless branching
do you have some samples to provide which exhibit these issues ?
Could you test this:
1) DTS - 5.1 - 1536kbps (http://www.mediafire.com/?j2oybf0tt2u)
2) AVC + AC3 2ch & AC3 6ch (http://www.mediafire.com/?0zmzwq2glzg) (sound starts at ~23s)
because those samples seem to be ok for me w/ the rev 940...
bira
25th December 2008, 19:08
I am having the same flashing problem with my PCI-e ATI 3650 card. Running XP and Catalyst 8.10 and MPC build 906
Picture flashes back a bit, sometimes macroblocks appear, sometimes pictures flashes back and forth and get stuck in a loop.
Any solution for that?
No solution yet ??!??!?!?!?
leeperry
25th December 2008, 21:35
do you have some samples to provide which exhibit these issues ?
Could you test this:
1) DTS - 5.1 - 1536kbps (http://www.mediafire.com/?j2oybf0tt2u)
2) AVC + AC3 2ch & AC3 6ch (http://www.mediafire.com/?0zmzwq2glzg) (sound starts at ~23s)
because those samples seem to be ok for me w/ the rev 940...
I dunno what rev it is, but I'll try w/ MatroskaSplitter_20081210.zip and I'll report back :cool:
last time I tried, I had some very random silences on 1.5mbit DTS(like if the frames were too long?) and when there was several soundtracks it would just play them all at once :eek:
ikarad
25th December 2008, 22:47
Media Player Classic HomeCinema (x86), svn 939 (http://www.xvidvideo.ru/content/view/511/1/)
Media Player Classic HomeCinema (x64), svn 939 (http://www.xvidvideo.ru/content/view/510/1/)
Supported languages: CN, CZ, DE, ES, FR, HU, IT, KR, PL, RU, SK, TR, UA
Changes log (http://www.xvidvideo.ru/content/view/7/17/)
Updated FFmpeg; FIXED : Bugs on presentation graphics, missing subtitles, better synchronization.
i try this version and I noticed that the bug of subtitles display blocked has desappeared:
2) I notice a bug with blu-ray subtitles in this version.
Sometimes a subtitles is displayed but doesn't disappeared. Consequently the following subtitles aren't displayed.
When I use inverse telecine filter to deinterlace my video (because japan anime are often interlaced), the second subtitle ("burning") of utawarerumono is blocked and don't disappeared. The following subtitles aren't displayed. This problem didn't existed with 1.2.923 version
Here is the video
"Here is the link for video (utaweruromo 1 min with subtitles) with subtitles embedded (265 MB)
http://www.zshare.net/download/5268802709403859/
the other link is a txt file with all subtitles (1 kB)
http://www.zshare.net/download/5268532167381f2b/"
and here is the parameters that I use for inverse telecine (is telecide with avisynth)
http://nsa03.casimages.com/img/2008/12/21/mini_081221100446894147.jpg (http://www.casimages.com/img.php?i=081221100446894147.jpg)
But synchronization of subtitles isn't still perfect in utawarerumono
I give another example of video with subtitle embedded (same anime but not the same episode : utawarerumono 30seconds) where subtitles are not well synchronized.
here is video
00001.m2ts - 125.30MB (http://www.zshare.net/download/53273554287a748a/)
here is subtitle file to see good timing
http://www.zshare.net/download/53272509827d4bd6/
hdboy
25th December 2008, 23:25
Which OS and graphics card?
sorry: xp sp3, 7600GT, mpc 1.2.929.0.
it's vc1 in m2ts that gives me problem (no video, no sound). vc1 in evo is okay, and h264 in m2ts is okay.
i can play it with powerdvd and get h/w accel too, but I prefer using mpc for everything
Kado
25th December 2008, 23:48
MPC only supports VC-1 bitstream decoding that your gpu does not support, also use haali splitter instead of the internal one.
yesgrey
26th December 2008, 01:01
hdboy,
a few post before we have discussed this. You cannot use mpc vc1 decoder with your gpu. You have to use Microsoft's WMVideo Decoder DMO and VMR9. Go to External Filters, add the decoder and set merit as "Prefer".
swalker
26th December 2008, 02:35
Any chance of implementing a directory thumbnail creation option ala the open directory menuitem and/or a thumbnail command line switch (taking type:rows:columns:pixels as options as I'm sure somebody would ask about them eventually)?
Fixing http://sourceforge.net/tracker/index.php?func=detail&aid=1838977&group_id=170561&atid=854654 in the process would be a nice bonus.
hdboy
26th December 2008, 07:58
Kado: i'm not trying to get bitstream decoding. i just want it to use msft wmo decoder as it does for vc1 encoded wmv or evo files.
cca
26th December 2008, 09:21
I noticed today that I get about 80ms jitter with EVR CP with all recent builds, anyone else noticed this? Last version that I know that works fine is rev 922.
Kado
26th December 2008, 14:28
I get about 8ms jitter using rev 940.
Atak_Snajpera
26th December 2008, 16:28
I've been using FFDShow MT (experimental) for 2 weeks and I'm in shock how fast it is on multi core system (MPEG-2 and H.264) Despite 'experimental' label I haven't had any problems with decoding. There is only small problem during seeking. If you rewind to none-key frame you get distorted image till new key frame. I can live with that because speed is more important for me now. I get on my Q6600@3Ghz 80+fps with insane footage (1920x1080p 59.94fps @ 50Mbps) !!! My 4850 has small problems with decoding. I'm not surprised because 59.94fps with FullHD belongs to level 5.0 :) i cheated with level profile...
Ups! I forgot to ask :)
Can we get true multi-threaded mpeg-2/H.264 decoding in MPC-HC?
Casshern
26th December 2008, 18:32
I am having the same flashing problem with my PCI-e ATI 3650 card. Running XP and Catalyst 8.10 and MPC build 906
Picture flashes back a bit, sometimes macroblocks appear, sometimes pictures flashes back and forth and get stuck in a loop.
Any solution for that?
I also have this problem with a ATI 2600 HD PRO AGP under WINXP and VMR9/EVR. But it is not certain that this really is a problem of the MPC HC DXVA decoder or the ATI drivers. The 4xxx series seems to work better. Under Vista the problem is reduced - turning of aero and all graphical effects under evr seems to work. But you can use VMR7 or OVERLAY with DXVA this works fine (i use the catalyst 8.5 drivers as they are the most stable ones). unfortunatly you cant display subtitles or use shaders.....
Maybe the devs could try to make dxva work under vmr7 renderless. Also on the source repository there is some talk that mpc hc might initilalize VMR9 wrong for DXVA so maybe there is a solution after all.
regards Casshern
73ChargerFan
26th December 2008, 21:24
Gabest's MKV splitter doesn't support 1.5mbit DTS tracks(random silences) and neither does it support multiple soundtracks or seamless branching....
Are you referring to the external filter available at sourceforge, or the one built into mpc?
If the latter, my experience is that mpc cannot send 1536 dts tracks over spdif for mpeg & ts sources as well. The problem wasn't limited to mkv.
As a result, I use spdifer (part of the ac3filter project).
moshmothma
26th December 2008, 22:41
Well thats not correct. DXVA does work in Win XP with EVR. Just choose output EVR or EVR Custom Presenter and you will see that on an ATI CARD MPC-Videodecoder shows that its using the "VC1-Bitstream decoder". Also the CPU usage is about 10% compared to 70-90% when not using DXVA.
regards,
Casshern
No, sorry, there is no support for DXVA with EVR in Windows XP. Even if the codec property pages say bitstream the cpu still does the processing. There is no support whether VC-1 or h.264 is used. I use an ati card as well (4850) and used the mpc codecs with the typical results - no support for dxva with EVR in XP.
Px
26th December 2008, 23:52
http://forum.ixbt.com/post.cgi?id=attach:10:51719:3091:1 ;)
Kado
27th December 2008, 00:29
Please provide a screenshot of dxva checker to see your gpu capabilities, because that's quite a thing.
Px
27th December 2008, 00:53
That was not mine screenshot, but I can do same :)
http://img385.imageshack.us/my.php?image=20081227014933crxz1.jpg
And one another strange sceenshot :)
http://img111.imageshack.us/my.php?image=20081224202023crlj8.jpg
Casshern
27th December 2008, 02:36
No, sorry, there is no support for DXVA with EVR in Windows XP. Even if the codec property pages say bitstream the cpu still does the processing. There is no support whether VC-1 or h.264 is used. I use an ati card as well (4850) and used the mpc codecs with the typical results - no support for dxva with EVR in XP.
No - the CPU does not do the decoding. And Yes its DXVA. The ATI2x00 and 4x00 use a different DXVA engine, maybe thats why its not working for you. But i doublechecked with another 2x00 owner and it works for him too. We both use Catalyst 8.5, winxp sp3 and the evr property dll somebody posted here a long time ago. But at the moment you do not loose much, as this mode behaves similar to VMR9 in that DXVA shows some corruption and "jumping" frames. That's why i suspect it falls back to some VMR9 compatibility mode. It works better under VISTA.
Casshern
27th December 2008, 02:43
http://forum.ixbt.com/post.cgi?id=attach:10:51719:3091:1 ;)
Thanks for the effort to post the screenshots to confirm the usage of DXVA with EVR under WINXP. Just two questions: What card do you use and do you also have occasional corruption, jumping frames in this mode?
CruNcher
27th December 2008, 03:43
wow EVR working with DXVA in MPC-HC under XP, wonder if that also works for Nvidias Driver, did you tried it with another DXVA Decoder like Arcsoft, Cyberlink, Elecard ? :)
Strange it seems to only work with VC-1 i wonder why H.264 gets blocked except if your stream gets rejected anyways by MPC-HC to get processed by the GPU and seeing it's Anime i guess the Encoder didn't take the restrictions into account and so it falls back to Software Decoding :)
How is the CPU and Kernel utilization with EVR (DXVA) under XP compared to VMR9 (DXVA) ?
rack04
27th December 2008, 03:47
wow EVR working with DXVA in MPC-HC under XP, wonder if that also works for Nvidias Driver, did you tried it with another DXVA Decoder like Arcsoft, Cyberlink, Elecard ? :)
Does it work also with Mpeg-2 and H.264 ?
I think there is a bug in the output renderer because I can select Haali and DXVA works with Nvidia 8800GT.
CruNcher
27th December 2008, 03:53
LOL yeah that is really strange now, except maybe Casimir666 implemented also a DXVA force so when you select DXVA as Decoder it uses the Renderer capable of providing it ignoring your selection and if it can't find any falls back to the Renderer you selected and Software Decoding would make perfect sense :D
turbojet
27th December 2008, 05:28
It seems like seeking of m2ts muxed from 264 video files puts the a/v out of sync. At least for me. But if m2ts is muxed from mkv file seeking is ok. I tried MPC-HC 908 and 940 with internal, coreavc, ffdshow-mt decoders with old renderer, overlay, VMR7/9, haali, and EVR. I couldn't test DXVA, old video card. WMP 11 and PowerDVD 8 seeking it stays in sync.
I posted some examples here (http://forum.doom9.org/showthread.php?p=1228332#post1228332) only the encoded link is useful, the BDRB.m2ts is problematic, the others were muxed from mkv files and are ok.
leeperry
27th December 2008, 10:57
Are you referring to the external filter available at sourceforge, or the one built into mpc?
If the latter, my experience is that mpc cannot send 1536 dts tracks over spdif for mpeg & ts sources as well. The problem wasn't limited to mkv.
As a result, I use spdifer (part of the ac3filter project).
well it's the same code, as I understand it.
the latest build seems to work fine now, I need to run more tests though.
Px
27th December 2008, 13:00
Thanks for the effort to post the screenshots to confirm the usage of DXVA with EVR under WINXP. Just two questions: What card do you use and do you also have occasional corruption, jumping frames in this mode?
Card - Radeon 3850, corruption and other problems - no, but mpc hc is my second video player, which I don't use often, only for BR copys/remuxes
Px
27th December 2008, 13:03
wow EVR working with DXVA in MPC-HC under XP, wonder if that also works for Nvidias Driver, did you tried it with another DXVA Decoder like Arcsoft, Cyberlink, Elecard ? :)
How is the CPU and Kernel utilization with EVR (DXVA) under XP compared to VMR9 (DXVA) ?
For both questions answer is - don't check, currently I have not much free time :(
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.