[FFMPEG] fix for DXVA-VC1

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
thespecialist Offline
Senior Member
Posts: 126
Joined: Mar 2007
Reputation: 0
Post: #1
Guys,

As you might know, the FFMPEG DXVA implementation for VC1/WMV is quite buggy. For example, this testvideo: http://www.speedyshare.com/files/28692352/test.wmv won't play correctly with DXVA, neither on ATI or NVDIA. You'll see artifacts of the worst kind when you try to play this with DXVA, on the current FFMPEG build Smile

I've been working on it and have created a fix. It's a beta version and I want to do some more work before I release the sourcecode, but until then, people can play with it. You can download the DLL here: http://www.speedyshare.com/files/2899820...dec-52.dll (make sure you use official 10.1 release with this dll).

Please comment, I'm especially interested to hear if this version breaks supports for WMV files that played before with DXVA (though I think I fixed everything correctly). Will release the fixed FFMPEG DXVA sourcecode soon, so people can compile against the latest builds themselves.

Enjoy !
(This post was last modified: 2011-06-16 05:28 by thespecialist.)
find quote
ashlar Offline
Donor
Posts: 2,112
Joined: Mar 2006
Reputation: 27
Post: #2
Does this enable interlaced decoding?

For troubleshooting and bug reporting please make sure you read this first.
find quote
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #3
no. decoder isn't the problem there, it's the demuxer.
find quote
thespecialist Offline
Senior Member
Posts: 126
Joined: Mar 2007
Reputation: 0
Post: #4
Indeed, this is not an interlace patch, just a patch to fix the DXVA decoding of progressive WMV-vc1 material (more specifically: it's a subset of the WMV9 ('advanced profile) video's that don't play right with the official release).
(This post was last modified: 2011-06-16 17:19 by thespecialist.)
find quote
ashlar Offline
Donor
Posts: 2,112
Joined: Mar 2006
Reputation: 27
Post: #5
spiff Wrote:no. decoder isn't the problem there, it's the demuxer.
Ok. I learned something new. Thx.

For troubleshooting and bug reporting please make sure you read this first.
find quote
thespecialist Offline
Senior Member
Posts: 126
Joined: Mar 2007
Reputation: 0
Post: #6
And here is the ticket and patch: http://trac.xbmc.org/ticket/11643

After sorting everything out, the patch code is only minimal, but it's been a while since I've put so much time and effort into a 'hobby' project, lol, must be over 40 hours of work here Sad

Anyway, enjoy !
find quote
Robotica Offline
Posting Freak
Posts: 1,202
Joined: Aug 2010
Reputation: 5
Post: #7
Cool!
find quote
isidrogar Offline
Member
Posts: 59
Joined: Jun 2011
Reputation: 1
Location: Spain
Post: #8
Good work thespecialist! It works flawless.
find quote
thespecialist Offline
Senior Member
Posts: 126
Joined: Mar 2007
Reputation: 0
Post: #9
Thanks Smile
find quote
topsyturvy Offline
Member
Posts: 87
Joined: Jul 2010
Reputation: 0
Post: #10
good job. Works on my system also. (Nvidia ION)

thanks!
find quote
roju111 Offline
Junior Member
Posts: 1
Joined: Aug 2011
Reputation: 0
Post: #11
I have downloaded the DLL. In which folder should I put it ?
Thanks
find quote
Juleulven Offline
Junior Member
Posts: 5
Joined: Aug 2011
Reputation: 0
Post: #12
curious as well :-)
find quote
thespecialist Offline
Senior Member
Posts: 126
Joined: Mar 2007
Reputation: 0
Post: #13
Just overwrite the existing dll in your xbmc\system\players\dvdplayer directory.
find quote
sourbob Offline
Member
Posts: 69
Joined: Jun 2011
Reputation: 0
Post: #14
I'm using an ATI 5450 and, while HD/H.264 content works well with hardware acceleration on and SD/Xvid content also does, SD/H.264 content is a choppy mess.

Could this be from the same cause?
find quote