View Full Version : how to enable dxva with media player classic ?
mikegun
11th May 2005, 17:38
hi,
I searched the web and could'nt find a solution for this.
powerdvd plays 1080i ts files fine but no support for srt subtitles.
media player classic does support subs but the playback is not smooth at all and cpu usage is very high (90%) as powerdvd uses just about 30%. so maybe this has something to do with dxva support ??
regards,
mikegun
sigmaris
12th May 2005, 19:01
Firstly, try using the Overlay mixer as output in Media Player Classic, it's in the Output options. This tends to be the fastest method to render video. However the built-in subtitle renderer in MPC won't work with Overlay so you'll need DirectVobSub.
Secondly, to use DXVA to speed up MPEG-2 decoding, youll need an MPEG-2 decoder filter that supports this. AFAIK, the built-in one in MPC doesn't, so you'll have to find one that does. If you have an NVidia graphics card, get the NVidia DVD Decoder (http://www.nvidia.com/object/dvd_decoder.html) which includes a Directshow filter that uses DXVA. If you have an ATI or other graphics card, you could try the Moonlight/Elecard MPEG2 Decoder with DXVA (http://www.moonlight.co.il/download/mpgdec_dxva.zip). There are other hardware accelerated MPEG2 decoders as well, your DVD playing software may in fact include one already.
mikegun
12th May 2005, 21:29
thank you ! this will help !!
regards,
mikegun
mikegun
13th May 2005, 17:05
actually this helped a bit. after using cyberlinks decoder cpuusage drops and the video plays fine but as far as I use subtitles with directvobsub the video playback stutters :(
regards,
mikegun
sigmaris
14th May 2005, 12:03
Have you set DirectVobSub to pre-buffer subpictures? Also make sure that it's not doing any color conversion (in the Colors tab in its configuration). Other than that I don't know what the problem could be. Maybe you could try using the HDTVPump (http://www.dvbportal.de/projects/hdtvpump/index.html) as a source filter instead of MPC's built in MPEG source filter?
mikegun
15th May 2005, 12:19
hi sigmaris,
all directvobsub options are as they should be.
maybe the renderless mode does not work with dxva ?
using the cyberlink decoder drops cpu usage only in overlay or windowd mode or my cpu is too weak for renderless mode (amd xp 2400+)
I have an ati radeon 9600pro card.
using the elecard decoder I can not set hardware acceleration in its properties ???
am I lost here ?
regards,
mikegun
sigmaris
15th May 2005, 18:20
The renderless mode will definitely not work with DXVA, but overlay should work fine. Why were you wanting to use renderless mode? DirectVobSub should still work fine in Overlay mode. Also, if the Cyberlink decoder uses DXVA then use it instead of the Elecard one as I think the Elecard decoder is more buggy.
mikegun
15th May 2005, 18:55
as far as directvobsub kicks in, movie stutters due to high cpu usage ...
maybe I need a faster cpu ???
Does Moonlight need DX9?
I have: ATI Radeon 9100, latest drivers, DX8.1, Win98SE and Moonlight MPEG-2 Decoder Pack 2.1.4921 Evaluation.
Hardware accelerate is not an accessible option, and everything is by the way green blocks when I use Moonlight.
filewalker
31st May 2005, 15:44
edit:
ma advise is mentioned in a thread here, sorry
sigmaris
1st June 2005, 00:51
I'm not sure about the Moonlight decoder using DX9. It seems to have a few bugs. You could try looking for a different DxVA decoder, like Cyberlink's one that comes with their PowerDVD software or the CinePlayer one from www.sonic.com.
BTW mikegun, I've ben thinking about the problem of DirectVobSub slowing the decoding down, and I've worked out why it happens. With a DxVA decoder, the encoded video data is sent, by the decoder filter, to your graphics card's memory and decoded by the gfx card. The decoded data, still on the gfx card's memory, is then displayed by the GFX card as an overlay on the screen.
However... To blend the subtitles onto the video, DirectVobSub needs access to the decoded video. This means that after decoding is done on the gfx card, the decoded video has to be moved back from the gfx card to your main memory so DirectVobSub can work with it, then sent back to the gfx card for display. As far as I know the decoder, even if it supports DxVA will stop using it in these circumstances and fall back to software decoding using your main CPU. So, to use subtitles with such an HDTV stream your options are:
1.Get a faster processor and use software decoding
2.Find some way of displaying subtitles that doesn't require involve blending them onto the decoded video
3.Turn the subtitles into subpictures, like on a DVD, and have the DxVA decoder process and blend them onto the video like it would with DVD subpictures, then render the video with subtitles on it normally. (I'm not sure exactly how to do this but I think it's possible)
mikegun
2nd June 2005, 08:20
3.Turn the subtitles into subpictures, like on a DVD, and have the DxVA decoder process and blend them onto the video like it would with DVD subpictures, then render the video with subtitles on it normally. (I'm not sure exactly how to do this but I think it's possible)
sigmaris,
thanks a lot I'll try point 3. I know a way to turn textsubtitles into bitmaps.
maybe this works ?!!
regards,
mikegun
Sirber
14th May 2007, 22:21
Can DXVA works with VRM9 and 3D acceleration?
kirakami
12th September 2011, 21:13
how to enable & use FFDShow's DXVA with subs in MPC-HC?
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.