Kodi Community Forum
[WINDOWS] Internal Directshow Based Player [NO LONGER DEVELOPED] - 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: [WINDOWS] Internal Directshow Based Player [NO LONGER DEVELOPED] (/showthread.php?tid=61355)



[WINDOWS] Internal Directshow Based Player [NO LONGER DEVELOPED] - tiben20 - 2009-11-11

UPDATE Feb 15, 2011: DSPlayer is no longer in development. tiben20 is now working on a codec called DVDCodecDirectshow that should ultimately perform all the functions already performed by DSPlayer, but from within the default XBMC video player. Thank you for all of your interest and support, and definitely keep an eye out for future news and updates.


OLD INFO
This player codenamed DSPlayer is using directshow codecs to play videos in xbmc. Every windows platforms (XP, Vista and 7) are supported and can handle hardware acceleration.

The project is still in development blinkseb and me have just slowed down development during august 2010
Sticky thread where you can get the revision log for each build
http://forum.xbmc.org/showthread.php?tid=70436

For help you can go to the wiki page
http://wiki.xbmc.org/?title=HOW-TO:_Using_DSPlayer

http://passion-xbmc.org/gros_fichiers/xbmcdsplayer/index.php
Special thanks to shaitanfree from passion-xbmc.org for the download links

New (09/04/2010)! User support thread :
http://forum.xbmc.org/showthread.php?tid=71825

We are currently trying to keep the branch the closest to the trunk so please dont post bug related with the trunk of xbmc, only the bugs from the player itself. Please also take the time to understand how the dsfilterconfig.xml file works. All non constructive posts will be deleted.

DSPlayer is still in development, and all feature may not be working. Builds are only provided to have feedback from experienced users. So, if you don't understand how DirectShow works, how write an XML file, please don't post, just wait until everything's working. At this moment, we will make things more accessible.

Current feature (updated 2010/04/06)
  • DXVA acceleration on Windows XP, Vista and 7
  • Ability to build your own decoding graph by using DirectSHow filters (ffdshow, Haali, ...), based on rules depending on media file (codec, resolution, extension ...)
  • Subtitle support (really new)
  • DVD Support (ISO still unsupported)
  • EVR & VMR9 Renderer
  • PixelShader resizer (Bicubic & Nearest neighbor)
  • Fully integrated into XBMC
  • And more

You can use is it as a default a player in the same way you can use an externalplayer as a default player. you only need to put the following in your Advancedsettings.xml.
Code:
<advancedsettings>
<video>
<defaultplayer>dsplayer</defaultplayer>
</video>
</advancedsettings>

See the wiki for more information on the Advancedsettings.xml

Quote:The filters can be configured from a xml file located at "system\players\dsplayer\dsfilterconfig.xml"
If the "path" tag is specified, it will override any filter registration and load the specified file. If there's no "path", dsplayer will look for registered filters with the corresponding "guid"
Currently the codecs are already coming with the installation so you dont need to modify anything you only right click on your video and start the file thats all

DXVA 1.0 is currently working (Windows xp vmr9 renderer)
DXVA 2.0 is also currently working (Windows vista and 7 evr renderer)

See the following tables for theoretically supported video cards

For ATI:
http://en.wikipedia.org/wiki/Unified_Video_Decoder#UVD_enabled_GPUs

For NVIDIA:
http://en.wikipedia.org/wiki/Nvidia_PureVideo#Table_of_PureVideo_.28HD.29_GPUs

special thanks to ArtVandelae who wrote the source filter for the player.
http://trac.xbmc.org/browser/branches/dsplayer


- xbs08 - 2009-11-11

This really is promising. Awsome work!

Here's a screenie of DSPLAYER in action (Athlon 3200+ / 9400GT).

[url=Image]Image[/url]


- ashlar - 2009-11-11

xbs08, did you need to register the filters manually or did they work out of the box for you?


- xbs08 - 2009-11-11

I registred them manually.
But at the time i was trying to play mkv's w/ subs.. so i'm not sure i really needed to registred.


- fincheresque - 2009-11-11

That's strange, I'm not getting h264 accelleration, just VC1 (WMVHD)...which to be honest, I would think would be the opposite of what you would expect.

I've got a fairly recent ATI card (4670), which I know does accelleration....time to investigate logs...

Regardless, awesome work.

Edit: I registered the .ax's manually, but perhaps I didn't actually have to do that.


- johoja - 2009-11-11

nathanjones Wrote:That's strange, I'm not getting h264 accelleration, just VC1 (WMVHD)...which to be honest, I would think would be the opposite of what you would expect.

I've got a fairly recent ATI card (4670), which I know does accelleration....time to investigate logs...

Regardless, awesome work.

Edit: I registered the .ax's manually, but perhaps I didn't actually have to do that.

Just out of curiosity ...which windows are you running?


- xbs08 - 2009-11-11

XP Pro 32BIT


- fincheresque - 2009-11-11

Vista SP2. I don't have access to logs atm (not at home), so it could be something incredibly easy to fix. When I get there I'll look and see.


- Freddo - 2009-11-11

Hi!

I'm so excited about how well this already works, my VC-1 playback is spot on, but h264 doesn't seem to be accelerated.

Debug Log:
http://pastebin.com/f329be0f4

First file played is Wall-e, h264, and after that Blade Runner, VC-1, incase the contrast helps shed any light on the situation.

Build is that one you posted in the thread here, windows Vista, ATI2600Pro, Intel...something dual core. Let me know if more details would be useful! Thanks for all your hard work!


- xbs08 - 2009-11-11

Could you post a VC-1 file for testing?


- CrashX - 2009-11-11

Freddo Wrote:Hi!

I'm so excited about how well this already works, my VC-1 playback is spot on, but h264 doesn't seem to be accelerated.

Debug Log:
http://pastebin.com/f329be0f4

First file played is Wall-e, h264, and after that Blade Runner, VC-1, incase the contrast helps shed any light on the situation.

Build is that one you posted in the thread here, windows Vista, ATI2600Pro, Intel...something dual core. Let me know if more details would be useful! Thanks for all your hard work!

Maybe because of this ..

Code:
ERROR: Failed loading G:\Program Files\XBMC\system\players\dsplayer\dsfilterconfig.xml



- Freddo - 2009-11-11

Oh yeah, weird, the file is there, and apparently works okay when I play VC-1, I've opened it in firefox and the xml seems to pass muster. I wonder what's going on?

dsfilterconfig.xml

There it is incase a look at the xml might help any.


- uncertainty - 2009-11-11

Will this player (directshow based) allow me to also use ac3filter or ffdshow within the graph so that I can encode aac to ac3 in realtime?

Great work btw on this project...


- watzen - 2009-11-12

some reflections...

* didn't work without the regsvr stuff.
* the colorspace is different then dvdplayer (black levels are more like grey levels)
* don't know if this is inherent from the recent build of xbmc in general or if it has anything to do with dsplayer. but i've got some screentearing with this build. even though vertical sync is on.
* couldn't get it to work on my vista machine. only my xp-htpc

will post logs on request.

/regards


- tiben20 - 2009-11-12

uncertainty Wrote:Will this player (directshow based) allow me to also use ac3filter or ffdshow within the graph so that I can encode aac to ac3 in realtime?

Great work btw on this project...
you should be able to use ffdshow for audio decoding
add under mpcaudiodec this.
Code:
<filter name="ffdshowaudiodec" type="audiodec">
<path>ffdshow.ax</path>
<guid>{0F40E1E5-4F79-4988-B1A9-CC98794E6B55}</guid>
</filter>
and at rules you replace audiodec="mpcaudiodec" with audiodec="ffdshowaudiodec"

The xml is usable at 50%. I really tryed even if i had a shit load of stuff to do in the player the closest way too every settings xbmc currently as (XML)
I just need now to fix a tons of bugs. Especially the ones related to video rendering which for my knowledge going to be really hard to do