[PATCH] Deinterlacing support for DXVA2 accelerated playback

  Thread Rating:
  • 3 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
piipes Offline
Donor
Posts: 120
Joined: Oct 2010
Reputation: 0
Location: Helsinki
Post: #31
Hello.

I test normal mpeg2 .ts files deinterlacing.

Intel i3: No problem, and that is really awesome.

Ati hd5770: No Dxva, and that is problem Smile How i can eneble hardware deinterlacing with ati and mpeg2 file?
find quote
Philmatic Offline
Fan
Posts: 452
Joined: Nov 2009
Reputation: 0
Location: Santa Barbara, CA
Post: #32
darwin Wrote:BAD NEWS :

- "17:10:54 T:4972 M:2485157888 ERROR: InputStream: Error opening, 0/smb://<etc>"

For every file on smb in my media library with this build and my mysql media library. Also, this build upgraded my schema to version 46, so none of the other boxes in the house work either. This is.. somewhat inconvenient.. as even builds from a few days ago are not on db schema version 46.

This is related to an issue with the MySQL library DB update on one of the nightlies from March 17:

http://forum.xbmc.org/showthread.php?tid=96938
http://forum.xbmc.org/showthread.php?tid=97124

Fix is in that thread.

Living Room: AppleTV 1st Gen / Broadcom CrystalHD / XBMC 12.3 Frodo on Crystalbuntu 2.0
Bedroom: AppleTV 1st Gen / Broadcom CrystalHD / XBMC 12.3 Frodo on Crystalbuntu 2.0
Home Office: AppleTV 1st Gen / Broadcom CrystalHD / XBMC 12.3 Frodo on Crystalbuntu 2.0
Windows Home Server: Intel Core i3-2100T / 8GB Ram / 32TB / MySQL / StableBit DrivePool on WHS 2011
find quote
ZestyChicken Offline
Senior Member
Posts: 105
Joined: Mar 2011
Reputation: 0
Post: #33
This doesn't allow me to play VC1 encoded 1080i content on mkv files. Not sure if that was ever the point though...
find quote
Philmatic Offline
Fan
Posts: 452
Joined: Nov 2009
Reputation: 0
Location: Santa Barbara, CA
Post: #34
If you're running DXVA2 it should...

Living Room: AppleTV 1st Gen / Broadcom CrystalHD / XBMC 12.3 Frodo on Crystalbuntu 2.0
Bedroom: AppleTV 1st Gen / Broadcom CrystalHD / XBMC 12.3 Frodo on Crystalbuntu 2.0
Home Office: AppleTV 1st Gen / Broadcom CrystalHD / XBMC 12.3 Frodo on Crystalbuntu 2.0
Windows Home Server: Intel Core i3-2100T / 8GB Ram / 32TB / MySQL / StableBit DrivePool on WHS 2011
find quote
a11599 Offline
Team-Kodi Member
Posts: 305
Joined: Sep 2010
Reputation: 3
Location: Budapest, Hungary
Post: #35
alturismo Wrote:i tested now this patch with 3 builds

Well, if those files have failed, then the patch has not been successfully applied, so no wonder you are experiencing erratic behavior. The patch was meant for git master and not PVR builds. I do not have PVR hardware and neither am I interested in PC based PVR functionality to be honest. Blush
find quote
a11599 Offline
Team-Kodi Member
Posts: 305
Joined: Sep 2010
Reputation: 3
Location: Budapest, Hungary
Post: #36
piipes Wrote:Ati hd5770: No Dxva, and that is problem Smile How i can eneble hardware deinterlacing with ati and mpeg2 file?

Ati officially doesn't have mpeg-2 bitstream decoding support. There are registry hacks to enable this, but I have not seen any success reports. Sad

If I have the time I will look into how to provide DXVA deinterlacing for software decoded material, but I am quite busy lately.
find quote
piipes Offline
Donor
Posts: 120
Joined: Oct 2010
Reputation: 0
Location: Helsinki
Post: #37
a11599 Wrote:Ati officially doesn't have mpeg-2 bitstream decoding support. There are registry hacks to enable this, but I have not seen any success reports. Sad

If I have the time I will look into how to provide DXVA deinterlacing for software decoded material, but I am quite busy lately.

Ok, thanks if you have time for that.
Now i can't play any dvb recording with xbmc and ati.
find quote
IgorA100 Offline
Junior Member
Posts: 16
Joined: Apr 2011
Reputation: 0
Post: #38
a11599 Wrote:Ati officially doesn't have mpeg-2 bitstream decoding support.
We have: Win7, ATI HD 5550 and the film is encoded MPEG-2
I tried using the decoder "CyberLink.Combo.Decoder.v1.0.1930". If it specify DXVA - that MPC-HC uses hardware acceleration and works correctly interlacing. Means supported DXVA on ATI Wink
(This post was last modified: 2011-04-11 21:07 by IgorA100.)
find quote
Krautmaster Offline
Senior Member
Posts: 204
Joined: Jul 2010
Reputation: 1
Post: #39
whoha, nice thread.

Does this patch work in Linux with VAAPI + XBMC too?
find quote
GRSHOPR Offline
Junior Member
Posts: 47
Joined: Jul 2010
Reputation: 0
Post: #40
a11, amazing work. However, it's still no beuno on my end, even with the most recent patch build. Trying a VC-1 1080i, in a .m2ts container. Stupid question, but I don't have to uninstall the old Dharma build, do I? I can just install right over it? That wouldn't effect it?

Also, getting an error on the main menu:

Error
Script Failed! : RecentlyAdded.py
(This post was last modified: 2011-04-14 18:39 by GRSHOPR.)
find quote
StevenSeagull Offline
Senior Member
Posts: 144
Joined: Aug 2008
Reputation: 0
Post: #41
Same error here. Which is the most recent patched build?
find quote
GRSHOPR Offline
Junior Member
Posts: 47
Joined: Jul 2010
Reputation: 0
Post: #42
Tried deleting the entire library as well, and uninstalled the entire thing from scratch, just in case. No change.
find quote
a11599 Offline
Team-Kodi Member
Posts: 305
Joined: Sep 2010
Reputation: 3
Location: Budapest, Hungary
Post: #43
The RecentlyAdded.py error has nothing to do with this patch.

Please turn on debug logging and post it to pastebin (and a link here) while playing your VC-1 interlaced material. I don't have any VC-1 material to test.
find quote
a11599 Offline
Team-Kodi Member
Posts: 305
Joined: Sep 2010
Reputation: 3
Location: Budapest, Hungary
Post: #44
I also uploaded my own installer build. Link in my signature.

My patches (source code) :: Windows installer builds
These builds are unofficial! If you find a bug, make sure it is also present in a recent official build and you can reproduce it before filing a ticket.
(This post was last modified: 2011-04-17 10:20 by a11599.)
find quote
GRSHOPR Offline
Junior Member
Posts: 47
Joined: Jul 2010
Reputation: 0
Post: #45
Here you go. Let me know if I can do anything else.

http://pastebin.com/nQc6qdgr
find quote
Post Reply