[WINDOWS] Internal Directshow Based Player - USERS support thread

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
oldpainless Offline
Fan
Posts: 524
Joined: Jan 2010
Reputation: 12
Post: #1
Ok.....header not been updated for sometime....so....now that dsplayer development is back up, I'll try to keep this header updated.


The main purpose of this thread is to pull together users knowledge and advice into one place, and at the same time, stop the main Dev thread getting clogged up with the same questions time and time again.

Main Dsplayer dev thread
http://forum.xbmc.org/showthread.php?tid=61355


Suggested structure for requesting help/support (if applicable): (thanks macmel)

-Nature of the issue
-What you did and what happened
-What build of DSplayer you are using
-OS
-Any codec packages installed
-Debug log (enabled by clicking system, debugging) posted on pastebin http://pastebin.com/
-Dsplayer config xml - again, use pastebin

Just for info, it is unlikley that people will be able to help with very old builds, as things chnage so fast.

The above info will help others to help you.

Nod

_________________________________________________________________

[SIZE="5"][i]Tips & tricks - HOW DO I?....[/i][/SIZE]

Main DSplayer WIKI - most of what you need to know to get you started
http://wiki.xbmc.org/?title=HOW-TO:_Using_DSPlayer

Guide: Setting up DSplayer as your default player (thanks to liquidskin76)
http://forum.xbmc.org/showpost.php?p=688...count=4081

(xml should be saved in C:\Users\YOURUSERNAME\AppData\Roaming\XBMC\userdata)

Guide: Setting up Reclock (thanks to steelman1991 for the link)
http://forum.doom9.org/showthread.php?t=152520

Guide: Setting up DSplayer using Shark Codec Pack, inc HD Audio bitstreaming (thanks to steelman1991)
Part 1 http://forum.xbmc.org/showpost.php?p=689...count=1091
Part 2 http://forum.xbmc.org/showpost.php?p=689...count=1092


_________________________________________________________________

Build status:

Most current official build
http://forum.xbmc.org/showpost.php?p=508748&postcount=1 datestamp 2010/09/08 - Build 33619

Most current user generated build (thanks to liquidskin76) - datestamp 2011-01-10 - build Rev.c7948e2-dx.exe
http://forum.xbmc.org/showpost.php?p=687...count=4069

__________________________________________________________________
[i]
Configuration, Codecs and tools for use with Dsplayer
[/i]



Shark - all in one codec pack
http://shark007.net/

FFDSHOW - all in one general video decoder, DXVA decoder and audio decoder
http://ffdshow-tryout.sourceforge.net/download.php

AC-3 Filter - good ac3/dts decoder
http://ac3filter.net/projects/ac3filter

MPC-HC - video decoder supporting many codecs and DXVA
http://www.xvidvideo.ru/media-player-cla...a-x86-x64/

ReClock - utility for reducing motion judder during plack
http://forum.slysoft.com/forumdisplay.php?f=85

Haali - very good splitter for most media types
http://haali.su/mkv/

MONOGRAM GraphStudio - useful tool for configuring codec’s and retrieving codec guid's
http://blog.monogram.sk/janos/2009/06/14...udio-0320/

other HD codecs....google HDpack 2.4

_________________________________________________________________

So, how does dsplayer work in layman terms?

The main strength (apart from the fantastic picture quality) of Dsplayer is that the user is able to configure the player to use different direct show codecs/filters for different types of media/videos. It does this by using rules stored in two xml files which are located in C:\Program Files\XBMC\system\players\dsplayer. They are:

filtersconfig.xml

This xml defines directshow filters/codecs that dsplayer can use. It structures them in the following way, for example:

<filter name="ffdvideodxvadec" type="videodec"> - The name that dsplayer will use for the codec
<guid>{0B0EFF97-C750-462C-9488-B10E7D87F1A6}</guid> - The codecs unique indentifier (as shown by GraphStudio)
<osdname>ffdshow DXVA Decoder</osdname> - The onscreen name that is shown when playing the file, by pressing "O"

In order for Dsplayer to function, it calls 4 upon main components:

source filter - what it should use to read a file, depending on it's format/container.

splitter filter - once Dsplayer has loaded the file, it will need to split the audio and video streams to audio and video decoders

video filter - video decoder will be used to render the image on screen

audio filter - audio decoder will be used to decode and play the audio


Next, dsplayer needs to know what combination of the above to use for different files types, and this is stored in -

mediasconfig.xml

Using the structure described above, each file type has it's own set of rules, using the components defined in the filtersconfig.xml. As an example, below is the TS rule in the mediasconfig.xml :

<rule filetypes="ts|mpeg|mpg|m2ts">
<source filter="mpegsource" />
<splitter filter="mpegsplitter" />
<video filter="ffdvideodec" />
<audio filter="ffdaudiodec" />

So, if we wanted to say, use a different video decoder, we would look in the filtersconfig.xml, chose one that we have installed, say

</filter>
<filter name="ffdvideodxvadec" type="videodec">
<guid>{0B0EFF97-C750-462C-9488-B10E7D87F1A6}</guid>
<osdname>ffdshow DXVA Decoder</osdname>
</filter>

And you would simply change the video decoder in the mediasconfig.xml by using the above filter's name, to:

<rule filetypes="ts|mpeg|mpg|m2ts">
<source filter="mpegsource" />
<splitter filter="mpegsplitter" />
<video filter="ffdvideodxvadec />
<audio filter="ffdaudiodec" />

And then save the xml. As you can see, it is easy to change both the audio and video decoders, as long as they are defined in the filtersconfig.xml.

Shaders

>....WIP

K

PS - if there are any guides, or tips that you think should be listed above, Pm me.
(This post was last modified: 2011-01-14 18:31 by oldpainless.)
find
tdw197 Offline
Senior Member
Posts: 233
Joined: Oct 2006
Reputation: 0
Post: #2
cool - great idea!
find
oldpainless Offline
Fan
Posts: 524
Joined: Jan 2010
Reputation: 12
Post: #3
tdw197 Wrote:cool - great idea!

We will see..lol.

K
find
steelman1991 Online
Donor
Posts: 2,439
Joined: Jan 2009
Reputation: 10
Post: #4
Something like this should probably have been set-up a while ago - will certainly help as much as I can.
find
oldpainless Offline
Fan
Posts: 524
Joined: Jan 2010
Reputation: 12
Post: #5
steelman1991 Wrote:Something like this should probably have been set-up a while ago - will certainly help as much as I can.

I thought you would - thanks mate.

So, we are now open for business it would seem.

K
find
steelman1991 Online
Donor
Posts: 2,439
Joined: Jan 2009
Reputation: 10
Post: #6
tdw197 Wrote:Just tried builds 28016 & 28622 off the passion site and have an odd problem - clicking TV to go direct into the TV section of my video library goes to a blank page.

Have tried the standard 28256 build and it works fine, anyone else have this problem with the ds oplayer builds?

Have tried thehigher builds and all works fine, but obviously no plugins...

just using stock confluence skin

Lets kick this off - tdw197 - its been so long since I used either of those builds that I can't say what issues were prevalent - but certainly I haven't seen or heard anything like that with the most recent build.
find
tdw197 Offline
Senior Member
Posts: 233
Joined: Oct 2006
Reputation: 0
Post: #7
steelman1991 Wrote:Lets kick this off - tdw197 - its been so long since I used either of those builds that I can't say what issues were prevalent - but certainly I haven't seen or heard anything like that with the most recent build.

Yeah, cheers given up on them - was trying to stay below 287xx, but given up - library and image quality are much more important than plugins, now using he latest build.

What video filters are you guys using? I've found ffdshow and cyberlink to be very good at sd, but no sure on best mkv and mp4 filter - ffdshowdxva has very low fps and I've never been that keen on mpc, might try coreavc, I did have a license at one point.
(This post was last modified: 2010-04-09 20:42 by tdw197.)
find
tdw197 Offline
Senior Member
Posts: 233
Joined: Oct 2006
Reputation: 0
Post: #8
Further to the above, I'm now using coreavc and cpu is right down.

But I'm getting jerky motion and audio is our of sync. Is anyone using reclock with dsplayer and does it work well?

If not, do you set the auto adjust resolution and sync audio in the xbmc video playback settings to on or off?

cheers, tom
(This post was last modified: 2010-04-09 22:01 by tdw197.)
find
christoofar Offline
Fan
Posts: 330
Joined: Oct 2009
Reputation: 0
Post: #9
(welcomes self to this new, helpful thread) Wink

Home built HTPC, Nvidia GF220 gpu, Win7 Pro 32bit, Kodi 14 beta, Tronsmart Vega S89-H
Finless 2.0 ROM+SMPC, VidOn Box
find
oldpainless Offline
Fan
Posts: 524
Joined: Jan 2010
Reputation: 12
Post: #10
tdw197 Wrote:Further to the above, I'm now using coreavc and cpu is right down.

But I'm getting jerky motion and audio is our of sync. Is anyone using reclock with dsplayer and does it work well?

If not, do you set the auto adjust resolution and sync audio in the xbmc video playback settings to on or off?

cheers, tom

What OS are you on?...I'm on Win7 (32), and the latest builds (as of today)...have sync issues using auto refresh and jerky playback...for me on win7, I went back to 28917...still has issues with changing from 24 to 25 hz, but reclock works well.

K
find
oldpainless Offline
Fan
Posts: 524
Joined: Jan 2010
Reputation: 12
Post: #11
christoofar Wrote:(welcomes self to this new, helpful thread) Wink

And no need to welcome yourself Christoofar...lol...welcome!..all are welcome here.

K
find
steelman1991 Online
Donor
Posts: 2,439
Joined: Jan 2009
Reputation: 10
Post: #12
tdw197 Wrote:Further to the above, I'm now using coreavc and cpu is right down.

But I'm getting jerky motion and audio is our of sync. Is anyone using reclock with dsplayer and does it work well?

If not, do you set the auto adjust resolution and sync audio in the xbmc video playback settings to on or off?

cheers, tom

Currently using ReClock to achieve FLAC\WASAPI playback and its working flawlessly with Win7 x86, ATI HD4670. Ditched CoreAVC sometime ago, just couldn't get it to behave properly. Now running with mpc carrying the load on all media with the exception of MPEG which uses Cyberlink Decoder.

Basically no rule changes other than to change the decoders from ffdshow to mpc and Cyberlink, add ReClock and madFlac and we're set to go - the dsplayer portion is working brilliantly though the trunk, as we all know, is a bit iffy at the moment and is contributing some hairy cpu output at times. Big Grin

Synch resolution to playback is a subject close to Oldpainless' heart so I'll let him deal with that, other than to say I've never managed to get it to work :confused2:

Here's a link to a short tutorial I used when setting up my FLAC playback, might just wirk for those of you with ATI 5xxx Series cards looking to set-up HD Audio bitstream as well http://forum.doom9.org/showthread.php?t=152520
(This post was last modified: 2010-04-09 22:59 by steelman1991.)
find
tdw197 Offline
Senior Member
Posts: 233
Joined: Oct 2006
Reputation: 0
Post: #13
Cheers steelman and oldpainless.

I'm on the latest build on passionxbmc. Been doing a bit of Reading about reclock, but still need to read more info about madflac.

How is it setup in dsplayer? And does it work well with spdif out?

Edit - Im using win7 x64, only becaus that's what came preinstalled on my revo
find
steelman1991 Online
Donor
Posts: 2,439
Joined: Jan 2009
Reputation: 10
Post: #14
tdw197 Wrote:Cheers steelman and oldpainless.

I'm on the latest build on passionxbmc. Been doing a bit of Reading about reclock, but still need to read more info about madflac.

How is it setup in dsplayer? And does it work well with spdif out?

Edit - Im using win7 x64, only becaus that's what came preinstalled on my revo

Have a look at my config file here - I've done nothing magical other than register madFlac and add both it and ReClock as audio renderers http://pastebin.com/tDgMazi8 - I don't use spdif, but HDMI so I couldn't really comment on its compatiblity. Seriously, have a look at the link in my last post, set-up is fairly easy.

Register madFlac on your system, disable FLAC decoding in ffdshow and FLAC playback will be handled by madFlac.
find
Tandriin Offline
Junior Member
Posts: 12
Joined: May 2009
Reputation: 0
Location: Germany
Post: #15
I have a problem with the latest builds. I have sound, but no video with ffdshow dxva. If i use MPC-HC i can watch all my mkv-files with gpu acceleration.

Here's a debug Log of my XBMC.log. I think the Problem starts around Line 537 where he cannot connect ffdshow dxva outpout to input.
http://pastebin.com/eDF8EyXm

And here's the part of my dsfilterconfig.xml i changed, so that dsplayer is using the haali media splitter. Rest of the file is unchanged
Quote: <rule filetypes="mkv">
<source filter="haali" />
<splitter filter="haali" />
<video>
<video dxva="true" filter="ffdvideodxvadec" />
<video filter="ffdvideodec" />
</video>
<audio filter="ffdaudiodec" />
<!--<extra>
<extra filter="ac3filter" />
<extra filter="dcgraphiceq" />
</extra>-->
</rule>

And last but not least, an screenshot of my dxva settings
[Image: dxvaconfig.png]

My System is an Acer Aspire Revo R3610 with Nvidia ION Graphic.

I already tried to change the video dxva to "mpcvideodec". With mpcvideodec i have sound and video, but no gpu acceleration.

After it looks like this is not really a Build/Trunk Problem from xbmc maybe somebody here can help me.
find
Thread Closed