Kodi Community Forum
Initial native support for DXVA2 in SVN - Time to say goodbye to your firstborns - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59)
+---- Thread: Initial native support for DXVA2 in SVN - Time to say goodbye to your firstborns (/showthread.php?tid=69306)



- moviebuff - 2010-03-24

Gonna have to switch over to Boxee for a while till I can get my 1080p videos running properly. Ive tried everything from updating my drivers and when dvx is enabled in video all my mkv files are in a box a 1/4 of the screen. Xbmc seems to be the only program I have trouble playing 1080p video. Boxee and anything else enables dxva and runs great. Running windows 7 and I just cant figure out what problem xbmc is having with 1080p video. Gonna run boxee on the tv for the wife and family until I can figure it out because I love Xbmc and is certainly my player of choice ) Great job on this program to all involved


- joshuass - 2010-03-24

bradvido88 Wrote:Thanks for the info... sorry but i'm very new to video codecs and decoders Blush.
I'm a little confused by your post. Do you mean XBMC does not do hardware accelerated decoding for mpeg-2 files because it uses ffmpeg?

Thanks again!

Yes. The dvdplayer (the default internal player for xbmc) relies on ffmpeg as its decoder. So, if ffmpeg doesn't use mpeg2 hardware to decode, then XBMC will not either.

This is one of the reason elupus and others have been waiting on ffmpeg to be updated, as it brings some additional features for XBMC to use. It makes no sense to add what XBMC needs for DXVA2 support and suddenly not use ffmpeg. Suddenly code management issues and incompatibilities can crop up.

Now, this has nothing to do with the dsplayer (which uses a different set of codecs).


- marfa - 2010-03-24

Hi everyone,
I have good news. I could not activate DXVA because the blank screen. This was related to my graphic (Ati 4770). I have updated to the last Ati drivers (10.3) this night and...now the DXVA works. So, if someone had this problem perhaps could try it to check if it works for everyone with the same problem.

Cheers,


- marfa - 2010-03-24

marfa Wrote:Hi everyone,
I have good news. I could not activate DXVA because the blank screen. This was related to my graphic (Ati 4770). I have updated to the last Ati drivers (10.3) this night and...now the DXVA works. So, if someone had this problem perhaps could try it to check if it works for everyone with the same problem.

Cheers,

Quoting myself. I have a problem with some movies: there is a big pixelitation (right word?)...

Waiting for comments....


- joshuass - 2010-03-25

marfa:

ATI's support for DXVA is more limited than nVidia's own support. There are certain encoding settings that must be followed for those videos to be decoded by ATI properly.

The two important settings are which profile and how many reference frames the h264 encoder used. I believe you can not have more than 4 reference frames and must be at or below level 5.1 (high profile maybe?). Someone else can confirm which profile.

Point is, chances are the videos showing pixelation and green screens are videos that fall outside of what the ATI drivers are capable of. I know I have quite a few videos that are the same way and do not decode properly via ATI hardware.

Best way to confirm this is with mediainfo, which shows those settings some of the more detailed views.


- mudwiggle - 2010-03-25

joshuass Wrote:marfa:

ATI's support for DXVA is more limited than nVidia's own support. There are certain encoding settings that must be followed for those videos to be decoded by ATI properly.

The two important settings are which profile and how many reference frames the h264 encoder used. I believe you can not have more than 4 reference frames and must be at or below level 5.1 (high profile maybe?). Someone else can confirm which profile.

Point is, chances are the videos showing pixelation and green screens are videos that fall outside of what the ATI drivers are capable of. I know I have quite a few videos that are the same way and do not decode properly via ATI hardware.

Best way to confirm this is with mediainfo, which shows those settings some of the more detailed views.

Can the file be recoded or flagged differently to allow ATI's to work their DXVA magic?


- bradvido88 - 2010-03-25

joshuass Wrote:Yes. The dvdplayer (the default internal player for xbmc) relies on ffmpeg as its decoder. So, if ffmpeg doesn't use mpeg2 hardware to decode, then XBMC will not either.

This is one of the reason elupus and others have been waiting on ffmpeg to be updated, as it brings some additional features for XBMC to use. It makes no sense to add what XBMC needs for DXVA2 support and suddenly not use ffmpeg. Suddenly code management issues and incompatibilities can crop up.

So after some googling, wikiing, and searching I've learned that ffmpeg does support MPEG-2 hardware acceleration. Since XMBC has been using ffmpeg for quite a while, does this mean that this new DXVA2 support doesn't really make any difference for my MPEG-2 videos?

What do you mean by the devs are waiting for ffmpeg to be updated? What are the new features that the ffmpeg update will bring?

Thanks!


- zoing - 2010-03-25

mudwiggle Wrote:Can the file be recoded or flagged differently to allow ATI's to work their DXVA magic?

The 4 ref. frames rule only applies if the video resolution is 1980x1080.
It has to do with the max. decoded pictures as decribed here. (http://forums.amd.com/game/messageview.cfm?catid=279&threadid=106911)
The only other way ist to reencode the video.


- joshuass - 2010-03-25

If ffmpeg supports mpeg-2, then XBMC has to use those functions inside ffmpeg. I have no clue if it does or not.


- kimp93 - 2010-03-26

according to initial commit from elupus, XBMC support VC-1 and H.264.

http://trac.xbmc.org/changeset/27376

As far as I know, original ffmpeg only support h.264 decoding with dxva2.

http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2010-January/080672.html


- moviebuff - 2010-03-26

Just out of curiousity has anyone else encountered problems playing 1080p mkv files when dxv enabled with this build? It seems to play the files perfectly fine but only on a 1/4 portion of the screen and it is only mkv files. I tried updating my nvidia ion drivers running win7. Any other media player I use such as mpc, vlc even boxee play them perfectly. I noticed in the posts earlier alot having this problem but havent seen mention if anyone figured it out.


- mazda - 2010-03-27

moviebuff Wrote:Just out of curiousity has anyone else encountered problems playing 1080p mkv files when dxv enabled with this build? It seems to play the files perfectly fine but only on a 1/4 portion of the screen and it is only mkv files. I tried updating my nvidia ion drivers running win7. Any other media player I use such as mpc, vlc even boxee play them perfectly. I noticed in the posts earlier alot having this problem but havent seen mention if anyone figured it out.

I had the same problem. 1/4 portion of the screen. Updated the nvidia drivers to 195.62/197.13 and now its working perfectly.

The only problem is with ts files. It appears nothing.


- moviebuff - 2010-03-27

Hmm tried updating drivers lemme try again thanx for the reply )


- chunk1982 - 2010-03-27

just in case there is any ati users out there that have not heard they have released the 10.3 catalyst

http://game.amd.com/us-en/drivers_catalyst.aspx


- moviebuff - 2010-03-27

Tried updating and still only quarter of the screen, did you do the chipset and audio drivers also. Anything you had to change in settings or it just went full screen when you updated graphics driver