[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
Member+
Posts: 2,048
Joined: Mar 2006
Reputation: 26
Post: #2
Does this enable interlaced decoding?

For troubleshooting and bug reporting please make sure you read this first.
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,234
Joined: Nov 2003
Reputation: 82
Post: #3
no. decoder isn't the problem there, it's the demuxer.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
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: #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
Member+
Posts: 2,048
Joined: Mar 2006
Reputation: 26
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: 978
Joined: Aug 2010
Reputation: 3
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
Post Reply