[WINDOWS] Internal Directshow Based Player [NO LONGER DEVELOPED]

  Thread Rating:
  • 16 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
tiben20 Offline
Team-XBMC Developer
Posts: 1,029
Joined: Jun 2008
Reputation: 18
Post: #1
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/xb.../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_Vid...abled_GPUs

For NVIDIA:
http://en.wikipedia.org/wiki/Nvidia_Pure...HD.29_GPUs

special thanks to ArtVandelae who wrote the source filter for the player.
http://trac.xbmc.org/browser/branches/dsplayer
(This post was last modified: 2011-02-15 23:50 by natethomas.)
find
xbs08 Online
Posting Freak
Posts: 1,741
Joined: May 2008
Reputation: 7
Location: Portugal
Post: #2
This really is promising. Awsome work!

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

[url=[Image: screenshot003m.jpg]][Image: screenshot003m.jpg][/url]

  • Intel NUC Kit DN2820FYKH
  • Crucial DDR3L SO-DIMM 4GB
  • SanDisk ReadyCache 32GB SSD
  • Microsoft MCE model 1039 RC6 remote
(This post was last modified: 2010-03-17 11:05 by xbs08.)
find
ashlar Offline
Donor
Posts: 2,145
Joined: Mar 2006
Reputation: 27
Post: #3
xbs08, did you need to register the filters manually or did they work out of the box for you?
find
xbs08 Online
Posting Freak
Posts: 1,741
Joined: May 2008
Reputation: 7
Location: Portugal
Post: #4
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.

  • Intel NUC Kit DN2820FYKH
  • Crucial DDR3L SO-DIMM 4GB
  • SanDisk ReadyCache 32GB SSD
  • Microsoft MCE model 1039 RC6 remote
find
fincheresque Offline
Donor
Posts: 130
Joined: Sep 2009
Reputation: 0
Post: #5
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.
(This post was last modified: 2009-11-11 20:38 by fincheresque.)
find
johoja Offline
Fan
Posts: 567
Joined: Aug 2009
Reputation: 0
Post: #6
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?
find
xbs08 Online
Posting Freak
Posts: 1,741
Joined: May 2008
Reputation: 7
Location: Portugal
Post: #7
XP Pro 32BIT

  • Intel NUC Kit DN2820FYKH
  • Crucial DDR3L SO-DIMM 4GB
  • SanDisk ReadyCache 32GB SSD
  • Microsoft MCE model 1039 RC6 remote
find
fincheresque Offline
Donor
Posts: 130
Joined: Sep 2009
Reputation: 0
Post: #8
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.
find
Freddo Offline
Skilled Skinner
Posts: 489
Joined: Apr 2004
Reputation: 13
Post: #9
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!
find
xbs08 Online
Posting Freak
Posts: 1,741
Joined: May 2008
Reputation: 7
Location: Portugal
Post: #10
Could you post a VC-1 file for testing?

  • Intel NUC Kit DN2820FYKH
  • Crucial DDR3L SO-DIMM 4GB
  • SanDisk ReadyCache 32GB SSD
  • Microsoft MCE model 1039 RC6 remote
find
CrashX Offline
Posting Freak
Posts: 1,164
Joined: Jan 2009
Reputation: 2
Post: #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

The normal XBMC log IS NOT a debug log, to enable debug logging you must toggle it on under XBMC Settings - System or in advancedsettings.xml. Use XBMC Debug Log Addon to retrieve it.
find
Freddo Offline
Skilled Skinner
Posts: 489
Joined: Apr 2004
Reputation: 13
Post: #12
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.
find
uncertainty Offline
Fan
Posts: 499
Joined: Jun 2009
Reputation: 0
Location: Jersey
Post: #13
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...
(This post was last modified: 2009-11-11 23:59 by uncertainty.)
find
watzen Offline
Fan
Posts: 457
Joined: Jan 2007
Reputation: 10
Location: Sweden
Post: #14
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

  • Livingroom - C2D E8400, P5N7A-VM on a Samsung 46" LE46M86 FullHD via HDMI
  • Kitchen - ASRock 330 HT Displayed on a Samsung Lapfit 22" dual touch screen LD220Z
  • Bedroom - LG Laptop on a 32" tv
(This post was last modified: 2009-11-12 16:02 by watzen.)
find
tiben20 Offline
Team-XBMC Developer
Posts: 1,029
Joined: Jun 2008
Reputation: 18
Post: #15
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
find
Thread Closed