dxva decoding not perfect, ffmpeg problem?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
topsyturvy Offline
Member
Posts: 87
Joined: Jul 2010
Reputation: 0
Post: #1
Hi guys,

I REALLY need some help figuring out why some of my HDTV recordings (mpeg2) don't work well when using DXVA decoding. Specifically the bottom 1/4th is either corrupted or stays "black/white"

All files played using windows media player (windows 7 64bit), vlc, and even ffplay work fine.

I've put up a 5 second clip at

http://www.mediafire.com/?d37o11fcg19wc4g

The debug log is available at:

http://pastebin.com/6SZsNjrJ

I've got an ION system, but also tried using a dedicated GPU (radeon 6450) , however the problem remained exactally like before so I'm thinking its not a hardware issue.


Thanks for your help!
(This post was last modified: 2011-05-12 23:39 by topsyturvy.)
find quote
topsyturvy Offline
Member
Posts: 87
Joined: Jul 2010
Reputation: 0
Post: #2
Forgot to add that this is an issue with only some of the videos.
find quote
Mallet21 Offline
Fan
Posts: 538
Joined: Nov 2009
Reputation: 10
Location: Minneapolis, MN USA
Post: #3
I would turn the Aero desktop back on. Having Aero on fixed all of my Win7 playback issues. At least give it a shot to see if it helps.

Also, it looks like you you've added some sort of deinterlacing to your advanced settings XML. That processor may not be enough to handle the added deinterlacing as I'm pretty sure that task is not handled by the GPU. I would toggle that as well to see if you get better playback.
(This post was last modified: 2011-05-13 01:04 by Mallet21.)
find quote
topsyturvy Offline
Member
Posts: 87
Joined: Jul 2010
Reputation: 0
Post: #4
hi,

thanks foir the feedback.

I've enabled AERO, nno luck there. Also, the visual corruption is still there with the deinterlacing patch disabled.

Could you run the sample video on your hardware (only 7mb) and let me know if dxva works for you? If it does, I'd appreciate details on the build + hardware being played on.

thanks again,
find quote
Mallet21 Offline
Fan
Posts: 538
Joined: Nov 2009
Reputation: 10
Location: Minneapolis, MN USA
Post: #5
I'm getting the same corruption...looks like an XBMC issue. I'm running XBMC 10.0 an AMD quad processor and GT220 gpu. Toggled every video setting to see if any fix and nothing worked. Video clip worked fine in MPC-HC and WMP.

[Image: croppercapture1.jpg]
find quote
topsyturvy Offline
Member
Posts: 87
Joined: Jul 2010
Reputation: 0
Post: #6
Thank you very much. Couldn't have asked for more. (P.S Thanks for the screenshot, thats the exact issue)

Anyone know if this "problem" is worthwhile enough for the developers to look into it? I ran into it using 10.0, and also tried the nightly builds but no luck.

How does one bring it to their notice. Thanks.
find quote
topsyturvy Offline
Member
Posts: 87
Joined: Jul 2010
Reputation: 0
Post: #7
Found a similar issue with an open ticket, so added the issue there.

http://trac.xbmc.org/ticket/11475
find quote
loggio Offline
Fan
Posts: 562
Joined: May 2010
Reputation: 6
Post: #8
any luck with this?
find quote
thespecialist Offline
Senior Member
Posts: 126
Joined: Mar 2007
Reputation: 0
Post: #9
As I posted on the forum, the bug here is that they've set a maximum on the number of slices in the hardware decoder in dxva2_mpeg2.c of 174 (max start - min start = 174). Simply increasing the size to 220 for example solves it. I haven't checked yet if there are any side effects of doing that though, that's next up ...
(This post was last modified: 2011-06-22 05:39 by thespecialist.)
find quote