Kodi Community Forum
DSPlayer (DirectShow Player for XBMC) Eden build available - 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: DSPlayer (DirectShow Player for XBMC) Eden build available (/showthread.php?tid=106629)



- steelman1991 - 2011-12-10

Continued from previous post

Mediasconfig.xml

Quote:<mediasconfig>
<rules>
<!-- DVD RULES -->
<!-- Iso still return a crash on this filter. -->
<rule filetypes="iso">
<source filter="lavsource" />
<splitter filter="lavsplitter" />
<video filter="ffdvideodec" />
<audio filter="lavaudiodec" />
</rule>
<!-- If you want to play a dvd select the file /dvdfolder/VIDEO_TS/VIDEO_TS.ifo -->
<rule filetypes="ifo">
<source filter="dvdnavigator" />
<splitter filter="dvdnavigator" />
<video filter="mpeg2videodec" />
<audio filter="mpaaudiodec" />
</rule>
<!-- END DVD RULES -->
<rule filetypes="avi|divx">
<source filter="avisource" />
<splitter filter="avisplitter" />
<video filter="mpcvideodec" />
<audio filter="ffdaudiodec" />
</rule>
<rule filetypes="ogm">
<source filter="oggsource" />
<splitter filter="oggsplitter" />
<video filter="mpcvideodec" />
<audio filter="ffdaudiodec" />
</rule>
<rule filetypes="flv">
<source filter="flvsource" />
<splitter filter="flvsplitter" />
<video filter="mpcvideodec" />
<audio filter="ffdaudiodec" />
</rule>
<rule filetypes="mp4">
<source filter="mp4source" />
<splitter filter="mp4splitter" />
<video filter="mpcvideodec" />
<audio filter="ffdaudiodec" />
</rule>
<rule filetypes="mov|m4v">
<source filter="mp4source" />
<splitter filter="mp4splitter" />
<video filter="ffdvideodec" />
<audio filter="ffdaudiodec" />
</rule>
<rule filetypes="m2v">
<source filter="mpegsource" />
<splitter filter="mpegsplitter" />
<video filter="mpeg2videodec" />
<audio filter="lavaudiodec" />
</rule>
<rule filetypes="ts|mpeg|mpg|m2ts">
<source filter="Lavsource" />
<splitter filter="lavsplitter" />
<video filter="lavvideodec" />
<audio filter="lavaudiodec" />
</rule>
<rule filetypes="mkv">
<source filter="lavsource" />
<splitter filter="lavsplitter" />
<video filter="lavvideodec" />
<!-- You can do like that to specifie a DXVA only filters.
If you want to use the same filter for DXVA and non DXVA media, just add
a single <video> line.
<video>
<video dxva="true" filter="mpcvideodec" />
<video filter="mpcvideodec" />
</video> -->
<audio filter="lavaudiodec" />
<!--<extra>
<extra filter="ac3filter" />
<extra filter="dcgraphiceq" />
</extra>-->

<!-- Shaders example

Must starts with <shaders> and ends with </shaders>

Inside, specify your shader like that :
<shader id="x" dxva="true" videocodec="h264" audiocodec="mp3" ... />

x is the ID of the shader, declared in the /system/DSPlayer/Shaders/shaders.xml file
-->
<!--
<shaders>
<shader id="7" />
</shaders>
-->
</rule>
<rule filetypes="wmv">
<source filter="wmasfreader" />
<splitter filter="wmasfreader" />
<video filter="wmvideodecoder" />
<audio filter="wmaudiodecoder" />
</rule>

<!-- You need Real Alternative in order to read real media files -->
<rule filetypes="rmvb">
<source filter="realsource" />
<splitter filter="realsplitter" />
<video filter="realvideodec" />
<audio filter="realaudiodec" />
</rule>

<!-- New rule for preferred streaming source filter -->
<rule url="true" filetypes=".*">
<source filter="internal_ffmpegsource" />
</rule>
</rules>
</mediasconfig>

Make sure you save these as xml files and not txt files.


- acemt - 2011-12-10

Thanks Steelman for all your help. I reverted to FFDshow tonight as I wanted to actually enjoy a movie. I will try your settings over the course of the next week when I am feeling a little more adventuras and see what happens. Again, thanks for all your help.

Let me ask you this for the future: which version of Lav are you running?

CheersBig Grin

Mark


- vicmanpergar - 2011-12-10

Noticed he's typed laVSplitter or something similar instead of lavsplitter, i myself and we all, have it the way it appears in filtersconfig, between the "...", this is, no caps.

Might be this is silly, but reaching this point, i think it's worth a try on this.


- tiben20 - 2011-12-10

steelman1991 Wrote:I seem to recall some time ago either Tiben or Seb advising that the filter naming and recognition didn't play well with spaces and/or special characters (or was I just dreaming).
space shouldn't be a problem since i remember when i tested it at the beginning with c:\program files\ in the path. But for the special characters this might be a problem since we are converting the path from multichar to unicode string. Sometimes special char can be converted not correctly.


- tiben20 - 2011-12-10

by the way im looking into adding madvr


- tiben20 - 2011-12-10

That's enough for tonight i written the first part i got my primary class with the subtitle class included into it, the filter is already able to be created and get into the graph, the next thing i need to figure out is the best way to render with the api but this might be much easier than the vmr9 and evr. Already have over 400 lines of codes Tongue


- acemt - 2011-12-10

tiben20 Wrote:That's enough for tonight i written the first part i got my primary class with the subtitle class included into it, the filter is already able to be created and get into the graph, the next thing i need to figure out is the best way to render with the api but this might be much easier than the vmr9 and evr. Already have over 400 lines of codes Tongue

Tiben,

Let me be the first (well not he first) to say THANKS for all you have done to even make this possible. I would not even be using XBMC today if were not FOR YOU! So I had some problems with the LAV filters, so what. In the end I can make it work with FFDshow and it is an amazing product.

CHEERS TO YOUBig Grin


- SALAMINOMACHOS - 2011-12-10

tiben20 Wrote:by the way im looking into adding madvr
Great , and we all thank you


- liquidskin76 - 2011-12-10

tiben20 Wrote:by the way im looking into adding madvr

tiben... that's great news! Well done mate. Wink


- oldpainless - 2011-12-10

tiben20 Wrote:by the way im looking into adding madvr

Amazing Tiben - fingers crossed and thanks for even looking into it.

K


- steelman1991 - 2011-12-10

acemt Wrote:Thanks Steelman for all your help. I reverted to FFDshow tonight as I wanted to actually enjoy a movie. I will try your settings over the course of the next week when I am feeling a little more adventuras and see what happens. Again, thanks for all your help.

Let me ask you this for the future: which version of Lav are you running?

CheersBig Grin

Mark
No problems mate - sometimes you just want to watch a movie - that's the goal and can be forgotten in the rush to get the perfect playback.

At the moment I'm running LAV 0.40


- steelman1991 - 2011-12-10

tiben20 Wrote:by the way im looking into adding madvr
Not a big deal for me. Don't see a great deal of difference when using, but others obviously get more out of it than I do, so a great addition none the less (hentai will be pleased Laugh).

Nice to see you actively developing this smashing piece of code again - its the dogs danglies as far as I'm concerned Big Grin.

Thanks again


- gav1577 - 2011-12-10

tiben20 Wrote:by the way im looking into adding madvr

Thats amazing news tiben your efforts are much appreciated Big Grin
Im sure someone said madshi would help out with adding madvr if any devs needed help.

tiben20 Wrote:That's enough for tonight i written the first part i got my primary class with the subtitle class included into it, the filter is already able to be created and get into the graph, the next thing i need to figure out is the best way to render with the api but this might be much easier than the vmr9 and evr. Already have over 400 lines of codes Tongue

Good work tiben keep it up.


- vicmanpergar - 2011-12-10

omg! Cool!
Thank u so much Tiben for making DSplayer even better!


- tiben20 - 2011-12-10

Thank you all for the support. I just sent a mesasge to madshi on doom9 forum. I made a request for what i need to make it possible the use in xbmc