Kodi Community Forum
[Windows]DirectShow Player Need some help - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: [Windows]DirectShow Player Need some help (/showthread.php?tid=59610)

Pages: 1 2 3 4 5 6 7 8


[Windows]DirectShow Player Need some help - tiben20 - 2009-10-13

I added a player too xbmc called DSPlayer. Its using the directshow api too render files onto the direct3d surface for the dx build.
Here a links to the compiled version from the svn branch in date of 16 november
http://www.zshare.net/download/685647423dc3b5da/

Image

Avi,Mkv and flv are supported and more will work soon.

The filters can be configured from a xml file in the system\players\dsplayer\dsfilterconfig.xml

special thanks to ArtVandelae who wrote the source filter for the player.

I only implemented the vmr9. But i tested on windows 7 and windows vista and the video play fine. Still have some stuff to figure out about the rendering but with some help it would be faster.
Ill try to make possible the use of the evr but i think ill need some help for making this possible
http://trac.xbmc.org/browser/branches/dsplayer


- tiben20 - 2009-10-13

Image


- spiff - 2009-10-13

please open a trac ticket. none of us particularly like to jump through evil download site hoops Wink


- tiben20 - 2009-10-13

spiff Wrote:please open a trac ticket. none of us particularly like to jump through evil download site hoops Wink
Done


- tiben20 - 2009-10-20

Updated the patch


- tiben20 - 2009-10-22

Posted 2 pics for comparing dvdplayer and dsplayer


- ArtVandelae - 2009-10-22

tiben20 Wrote:Still have to fix the smb:// path to make lan file to play

Have you tried either getting a direct push or pull interface to the demuxer input pin or using some sort of memory stream source filter (I think an example is included with the Windows SDK)? If you can get a direct line to the filters you can just hook up the XBMC file system and basically get instant support for files/archives/streams/etc...


- tiben20 - 2009-10-22

ArtVandelae Wrote:Have you tried either getting a direct push or pull interface to the demuxer input pin or using some sort of memory stream source filter (I think an example is included with the Windows SDK)? If you can get a direct line to the filters you can just hook up the XBMC file system and basically get instant support for files/archives/streams/etc...

I already have smb path fixed on my version i just didnt uploaded the patch yet. I also found a source filter which is able to play archives so i was planning to add it to the player. Our source filter would be really nice. If you want too try to develop one get the mpc-hc source code . and then load the solution src\filters\filters.sln all my source filters are from there so you can take a look to another source filter too see how they did it.


- CrashX - 2009-10-22

I will try to compile this weekend and post results. Maybe you can post an xbmc.exe for people who want to test but don't know how to compile code.

Also if possible, can you post the smb fix as well ..


- tiben20 - 2009-10-23

CrashX Wrote:I will try to compile this weekend and post results. Maybe you can post an xbmc.exe for people who want to test but don't know how to compile code.

Also if possible, can you post the smb fix as well ..

Yeah sure i will post the fix tonight. I will also include in the baseclass this way the patch will be much easier too build.


- tiben20 - 2009-10-23

Alright the patch is posted. Its really good i fixed some stuff that was really pissing me off in the rendering.


- Dudu.exe - 2009-10-23

you could make a test build and put somewhere so we can test and post our results!


- tiben20 - 2009-10-23

Dudu.exe Wrote:you could make a test build and put somewhere so we can test and post our results!
Was already working on it Tongue
Here 2 links
http://www.easy-share.com/1908215411/XBMCSetup-Rev23771-dx.exe
http://www.megaupload.com/?d=0KBJE6Y4


- natethomas - 2009-10-23

Alright, I've tried your test build, and I may be a little lost. As far as I can tell nothing has changed. Do I still need to make additional changes of some kind? When I play a video, the CPU still seems to be used the same amount and I'm getting no indication that directshow is being used.

Here's my debug log, in case you are interested.

http://pastebin.com/m6f5f65cb


- A600 - 2009-10-23

natethomas Wrote:Do I still need to make additional changes of some kind? When I play a video, the CPU still seems to be used the same amount and I'm getting no indication that directshow is being used.

You have to use "Play using..." and select the DSPlayer.

So far it looks good with the samples I tried. I get an average of 20% cpu usage with DSPlayer instead of the 30% with DVDPlayer.

Many thanks, tiben20!