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)



- blinkseb - 2010-02-05

oldpainless Wrote:Seems as tho your problem was the same as mine....winxp, latest builds no go.....so, went to control panel, deleted all of the c++ dis packages....reinstalled...BINGO!!

Small bug with latest build seb...if you pause the movie, then press play....dsplayer goes upto 100% of cpu and the movie is still paused and you have to press ff for it to start playing again.

K

Yeah, I've seen that. I'll look at it when i've some times! Thanls!


- >>X<< - 2010-02-05

tiben20 Wrote:Yeah directshow can be a pain in the ass for the user and the coders. But like someone said in an earlier post this is worth it. Dxva2 from dvdplayer is using 10% more the core than the dsplayer from the test that i done. Its still a big gain in performance. With every question your answering since the start of the player im happy to spend some time to get your request done.

Thanks


- blinkseb - 2010-02-05

New feature coming up :
Image

The feature need more testing, but the new build might be released by tonight!

Stay tuned Wink


- >>X<< - 2010-02-05

blinkeb Wrote:New feature coming up :
Image

The feature need more testing, but the new build might be released by tonight!

Stay tuned Wink

Great NodBig Grin


- oldpainless - 2010-02-05

Hi Guys,

Does anyone know of a way of using coreavc AND something else for post-processing? ie sharpening.....and I know about ffdshow, but I prefer coreavc.

Cheers

K

UPDATE: For anyone that wants to use CoreAvc for very smooth playback (make sure Haali is installed)...here's my settings:

<dsfilterconfig>
<filters>


<!-- You dont need a path if your filter is registered -->
<!-- Sources -->

<filter name="wmasfreader" type="source">
<guid>{187463A0-5BB7-11D3-ACBE-0080C75E246E}</guid>
<osdname></osdname>
</filter>
<filter name="avisource" type="source">
<path>AviSplitter.ax</path>
<guid>{CEA8DEFF-0AF7-4DB9-9A38-FB3C3AEFC0DE}</guid>
<osdname>AVI Source</osdname>
</filter>
<filter name="flvsource" type="source">
<path>FLVSplitter.ax</path>
<guid>{C9ECE7B3-1D8E-41F5-9F24-B255DF16C087}</guid>
<osdname>FLV Source</osdname>
</filter>
<filter name="mp4source" type="source">
<path>MP4Splitter.ax</path>
<guid>{3CCC052E-BDEE-408A-BEA7-90914EF2964B}</guid>
<osdname>MP4 Source</osdname>
</filter>
<filter name="mkvsource" type="source">
<path>MatroskaSplitter.ax</path>
<guid>{0A68C3B5-9164-4A54-AFAF-995B2FF0E0D4}</guid>
<osdname>MKV Source</osdname>
</filter>
<filter name="mpegsource" type="source">
<path>MpegSplitter.ax</path>
<guid>{1365BE7A-C86A-473C-9A41-C0A6E82C9FA3}</guid>
<osdname>Mpeg Source</osdname>
</filter>

<!-- splitters -->
<filter name="avisplitter" type="splitter">
<path>AviSplitter.ax</path>
<guid>{9736D831-9D6C-4E72-B6E7-560EF9181001}</guid>
<osdname>AVI Splitter</osdname>
</filter>
<filter name="flvsplitter" type="splitter">
<path>FLVSplitter.ax</path>
<guid>{47E792CF-0BBE-4F7A-859C-194B0768650A}</guid>
<osdname>FLV Splitter</osdname>
</filter>
<filter name="mp4splitter" type="splitter">
<path>MP4Splitter.ax</path>
<guid>{61F47056-E400-43D3-AF1E-AB7DFFD4C4AD}</guid>
<osdname>MP4 Splitter</osdname>
</filter>
<filter name="mkvsplitter" type="splitter">
<path>MatroskaSplitter.ax</path>
<guid>{149D2E01-C32E-4939-80F6-C07B81015A7A}</guid>
<osdname>MKV Splitter</osdname>
</filter>
<filter name="mpegsplitter" type="splitter">
<path>MpegSplitter.ax</path>
<guid>{DC257063-045F-4BE2-BD5B-E12279C464F0}</guid>
<osdname>Mpeg Splitter</osdname>
</filter>

<!-- Video decoders-->
<filter name="mpcvideodec" type="videodec">
<path>MPCVideoDec.ax</path>
<guid>{008BAC12-FBAF-497B-9670-BC6F6FBAE2C4}</guid>
<osdname>MPC Video Decoder</osdname>
</filter>
<filter name="ffdvideodec" type="videodec">
<path>ffdshow.ax</path>
<guid>{04FE9017-F873-410E-871E-AB91661A4EF7}</guid>
<osdname>ffdshow Video Decoder</osdname>
</filter>
<filter name="mpeg2videodec" type="videodec">
<path>Mpeg2DecFilter.ax</path>
<guid>{39F498AF-1A09-4275-B193-673B0BA3D478}</guid>
<osdname>mpeg2 Video Decoder</osdname>
</filter>
<filter name="coreavcdec" type="videodec">
<path>C:\Program Files\CoreCodec\CoreAVC Professional Edition\CoreAVCDecoder.ax</path>
<guid>{09571A4B-F1FE-4C60-9760-DE6D310C7C31}</guid>
<osdname>Core AVC</osdname>
</filter>


<!-- Audio decoders-->
<filter name="mpaaudiodec" type="audiodec">
<path>MpaDecFilter.ax</path>
<guid>{3D446B6F-71DE-4437-BE15-8CE47174340F}</guid>
<osdname>Mpa Decoder</osdname>
</filter>
<filter name="ffdaudiodec" type="audiodec">
<path>ffdshow.ax</path>
<guid>{0F40E1E5-4F79-4988-B1A9-CC98794E6B55}</guid>
<osdname>ffdshow audio decoder</osdname>
</filter>
<filter name="wmaudiodecoder" type="audiodec">
<guid>{94297043-BD82-4DFD-B0DE-8177739C6D20}</guid>
<osdname>WMAudio Decoder</osdname>
</filter>
<filter name="broadcomvideodecoder" type="videodec">
<guid>{2DE1D17E-46B1-42A8-9AEC-E20E80D9B1A9}</guid>
<osdname>Broadcom VideoDecoder</osdname>
</filter>
<filter name="haali" type="source">
<guid>{55DA30FC-F16B-49FC-BAA5-AE59FC65F82D}</guid>
<osdname>Haali Media Splitter</osdname>
</filter>
<!-- Video renderers-->
<!--evr and vmr9 are platform specific-->
<!--evr for vista and windows 7-->
<!--vmr9 for windows xp-->

<!-- Audio renderers-->
<!-- Your able to select the audio renderer -->
<!-- from the xbmc gui in the video options, dsplayer-->

<!-- Audio Stream Switcher-->
<filter name="audioswitcher" type="audioswitch">
<path>audioswitcher.ax</path>
<guid>{18C16B08-6497-420E-AD14-22D21C2CEAB7}</guid>
<alwaysload>1</alwaysload>
</filter>
</filters>
<rules>
<!-- For more filetype make a request in the forum thread -->
<!-- Iso extension will be added soon-->
<rule filetypes="avi" source="avisource" splitter="avisplitter" videodec="mpcvideodec" audiodec="mpaaudiodec"/>
<rule filetypes="flv" source="flvsource" splitter="flvsplitter" videodec="mpcvideodec" audiodec="mpaaudiodec"/>

<rule filetypes="mp4" source="mp4source" splitter="mp4splitter" videodec="mpcvideodec" audiodec="mpaaudiodec"/>
<rule filetypes="mov" source="mp4source" splitter="mp4splitter" videodec="mpcvideodec" audiodec="mpaaudiodec"/>
<rule filetypes="m4v" source="mp4source" splitter="mp4splitter" videodec="mpcvideodec" audiodec="mpaaudiodec"/>
<rule filetypes="m2v" source="mpegsource" splitter="mpegsplitter" videodec="mpeg2videodec" audiodec="ffdaudiodec"/>
<rule filetypes="ts" source="haali" splitter="haali" videodec="coreavcdec" audiodec="mpaaudiodec"/>
<rule filetypes="mpeg" source="mpegsource" splitter="mpegsplitter" videodec="mpcvideodec" audiodec="mpaaudiodec"/>
<rule filetypes="mpg" source="mpegsource" splitter="mpegsplitter" videodec="mpcvideodec" audiodec="mpaaudiodec"/>
<rule filetypes="m2ts" source="mpegsource" splitter="mpegsplitter" videodec="mpcvideodec" audiodec="mpaaudiodec"/>

<rule filetypes="mkv" source="haali" splitter="haali" videodec="coreavcdec" audiodec="mpaaudiodec"/>

<!-- the WM ASF Reader is a source and a splitter -->
<rule filetypes="wmv" source="wmasfreader" videodec="ffdvideodec" audiodec="wmaudiodecoder"/>
</rules>
<config>

</config>
</dsfilterconfig>


- omega2k1 - 2010-02-05

oldpainless Wrote:Hi Guys,

Does anyone know of a way of using coreavc AND something else for post-processing? ie sharpening.....and I know about ffdshow, but I prefer coreavc.

Cheers

K

UPDATE: For anyone that wants to use CoreAvc for very smooth playback (make sure Haali is installed)...here's my settings:

<dsfilterconfig>
<filters>


<!-- You dont need a path if your filter is registered -->
<!-- Sources -->

<filter name="wmasfreader" type="source">
<guid>{187463A0-5BB7-11D3-ACBE-0080C75E246E}</guid>
<osdname></osdname>
</filter>
<filter name="avisource" type="source">
<path>AviSplitter.ax</path>
<guid>{CEA8DEFF-0AF7-4DB9-9A38-FB3C3AEFC0DE}</guid>
<osdname>AVI Source</osdname>
</filter>
<filter name="flvsource" type="source">
<path>FLVSplitter.ax</path>
<guid>{C9ECE7B3-1D8E-41F5-9F24-B255DF16C087}</guid>
<osdname>FLV Source</osdname>
</filter>
<filter name="mp4source" type="source">
<path>MP4Splitter.ax</path>
<guid>{3CCC052E-BDEE-408A-BEA7-90914EF2964B}</guid>
<osdname>MP4 Source</osdname>
</filter>
<filter name="mkvsource" type="source">
<path>MatroskaSplitter.ax</path>
<guid>{0A68C3B5-9164-4A54-AFAF-995B2FF0E0D4}</guid>
<osdname>MKV Source</osdname>
</filter>
<filter name="mpegsource" type="source">
<path>MpegSplitter.ax</path>
<guid>{1365BE7A-C86A-473C-9A41-C0A6E82C9FA3}</guid>
<osdname>Mpeg Source</osdname>
</filter>

<!-- splitters -->
<filter name="avisplitter" type="splitter">
<path>AviSplitter.ax</path>
<guid>{9736D831-9D6C-4E72-B6E7-560EF9181001}</guid>
<osdname>AVI Splitter</osdname>
</filter>
<filter name="flvsplitter" type="splitter">
<path>FLVSplitter.ax</path>
<guid>{47E792CF-0BBE-4F7A-859C-194B0768650A}</guid>
<osdname>FLV Splitter</osdname>
</filter>
<filter name="mp4splitter" type="splitter">
<path>MP4Splitter.ax</path>
<guid>{61F47056-E400-43D3-AF1E-AB7DFFD4C4AD}</guid>
<osdname>MP4 Splitter</osdname>
</filter>
<filter name="mkvsplitter" type="splitter">
<path>MatroskaSplitter.ax</path>
<guid>{149D2E01-C32E-4939-80F6-C07B81015A7A}</guid>
<osdname>MKV Splitter</osdname>
</filter>
<filter name="mpegsplitter" type="splitter">
<path>MpegSplitter.ax</path>
<guid>{DC257063-045F-4BE2-BD5B-E12279C464F0}</guid>
<osdname>Mpeg Splitter</osdname>
</filter>

<!-- Video decoders-->
<filter name="mpcvideodec" type="videodec">
<path>MPCVideoDec.ax</path>
<guid>{008BAC12-FBAF-497B-9670-BC6F6FBAE2C4}</guid>
<osdname>MPC Video Decoder</osdname>
</filter>
<filter name="ffdvideodec" type="videodec">
<path>ffdshow.ax</path>
<guid>{04FE9017-F873-410E-871E-AB91661A4EF7}</guid>
<osdname>ffdshow Video Decoder</osdname>
</filter>
<filter name="mpeg2videodec" type="videodec">
<path>Mpeg2DecFilter.ax</path>
<guid>{39F498AF-1A09-4275-B193-673B0BA3D478}</guid>
<osdname>mpeg2 Video Decoder</osdname>
</filter>
<filter name="coreavcdec" type="videodec">
<path>C:\Program Files\CoreCodec\CoreAVC Professional Edition\CoreAVCDecoder.ax</path>
<guid>{09571A4B-F1FE-4C60-9760-DE6D310C7C31}</guid>
<osdname>Core AVC</osdname>
</filter>


<!-- Audio decoders-->
<filter name="mpaaudiodec" type="audiodec">
<path>MpaDecFilter.ax</path>
<guid>{3D446B6F-71DE-4437-BE15-8CE47174340F}</guid>
<osdname>Mpa Decoder</osdname>
</filter>
<filter name="ffdaudiodec" type="audiodec">
<path>ffdshow.ax</path>
<guid>{0F40E1E5-4F79-4988-B1A9-CC98794E6B55}</guid>
<osdname>ffdshow audio decoder</osdname>
</filter>
<filter name="wmaudiodecoder" type="audiodec">
<guid>{94297043-BD82-4DFD-B0DE-8177739C6D20}</guid>
<osdname>WMAudio Decoder</osdname>
</filter>
<filter name="broadcomvideodecoder" type="videodec">
<guid>{2DE1D17E-46B1-42A8-9AEC-E20E80D9B1A9}</guid>
<osdname>Broadcom VideoDecoder</osdname>
</filter>
<filter name="haali" type="source">
<guid>{55DA30FC-F16B-49FC-BAA5-AE59FC65F82D}</guid>
<osdname>Haali Media Splitter</osdname>
</filter>
<!-- Video renderers-->
<!--evr and vmr9 are platform specific-->
<!--evr for vista and windows 7-->
<!--vmr9 for windows xp-->

<!-- Audio renderers-->
<!-- Your able to select the audio renderer -->
<!-- from the xbmc gui in the video options, dsplayer-->

<!-- Audio Stream Switcher-->
<filter name="audioswitcher" type="audioswitch">
<path>audioswitcher.ax</path>
<guid>{18C16B08-6497-420E-AD14-22D21C2CEAB7}</guid>
<alwaysload>1</alwaysload>
</filter>
</filters>
<rules>
<!-- For more filetype make a request in the forum thread -->
<!-- Iso extension will be added soon-->
<rule filetypes="avi" source="avisource" splitter="avisplitter" videodec="mpcvideodec" audiodec="mpaaudiodec"/>
<rule filetypes="flv" source="flvsource" splitter="flvsplitter" videodec="mpcvideodec" audiodec="mpaaudiodec"/>

<rule filetypes="mp4" source="mp4source" splitter="mp4splitter" videodec="mpcvideodec" audiodec="mpaaudiodec"/>
<rule filetypes="mov" source="mp4source" splitter="mp4splitter" videodec="mpcvideodec" audiodec="mpaaudiodec"/>
<rule filetypes="m4v" source="mp4source" splitter="mp4splitter" videodec="mpcvideodec" audiodec="mpaaudiodec"/>
<rule filetypes="m2v" source="mpegsource" splitter="mpegsplitter" videodec="mpeg2videodec" audiodec="ffdaudiodec"/>
<rule filetypes="ts" source="haali" splitter="haali" videodec="coreavcdec" audiodec="mpaaudiodec"/>
<rule filetypes="mpeg" source="mpegsource" splitter="mpegsplitter" videodec="mpcvideodec" audiodec="mpaaudiodec"/>
<rule filetypes="mpg" source="mpegsource" splitter="mpegsplitter" videodec="mpcvideodec" audiodec="mpaaudiodec"/>
<rule filetypes="m2ts" source="mpegsource" splitter="mpegsplitter" videodec="mpcvideodec" audiodec="mpaaudiodec"/>

<rule filetypes="mkv" source="haali" splitter="haali" videodec="coreavcdec" audiodec="mpaaudiodec"/>

<!-- the WM ASF Reader is a source and a splitter -->
<rule filetypes="wmv" source="wmasfreader" videodec="ffdvideodec" audiodec="wmaudiodecoder"/>
</rules>
<config>

</config>
</dsfilterconfig>

thanks, basically is what i was looking for. now i can tell that dsplayer is working, cpu is around 10% instead of 90% thanks


- bananaman - 2010-02-05

Thanks for the coreavc settings, will try to combine with ffdshow audio.

When i first tried dsplayer build i copied over user files from xbmc camelot for libraries etc.

Found out after reinstall that it caused problems. Can i copy over user files so that i dont need to rescan library\settings etc?


- oldpainless - 2010-02-05

bananaman Wrote:Thanks for the coreavc settings, will try to combine with ffdshow audio.

When i first tried dsplayer build i copied over user files from xbmc camelot for libraries etc.

Found out after reinstall that it caused problems. Can i copy over user files so that i dont need to rescan library\settings etc?

Yeah.....uninstall that build....keep userdata folder (it will ask you when you uninstall).....the dsfilterconfig.xml I've posted above goes in C:\Program Files\XBMC\system\players\dsplayer, then add this advancedsettings.xml into C:\Program Files\XBMC\userdata -

<advancedsettings>
<video>
<defaultplayer>dsplayer</defaultplayer>
</video>
</advancedsettings>

Lastly, before you reinstall,it pays to goto control panel/install/uninstall programs and make sure that all MS c++ dis packages are un-installed...then install the latest build as portable.

Hope that helps.

K


- oldpainless - 2010-02-05

omega2k1 Wrote:thanks, basically is what i was looking for. now i can tell that dsplayer is working, cpu is around 10% instead of 90% thanks

Your welcome.

K


- bananaman - 2010-02-05

oldpainless Wrote:Yeah.....uninstall that build....keep userdata folder (it will ask you when you uninstall).....the dsfilterconfig.xml I've posted above goes in C:\Program Files\XBMC\system\players\dsplayer, then add this advancedsettings.xml into C:\Program Files\XBMC\userdata -

<advancedsettings>
<video>
<defaultplayer>dsplayer</defaultplayer>
</video>
</advancedsettings>

Lastly, before you reinstall,it pays to goto control panel/install/uninstall programs and make sure that all MS c++ dis packages are un-installed...then install the latest build as portable.

Hope that helps.

K

Thanks, did install a previous build some days ago and changed to ffdshow audio\video. When using userdata from camelot i got no sound video.

Will try again with new portable.

Uninstalling MS c++ will that cause problems with camelot (not installed as portable) Would want to keep that for now while testing.


- oldpainless - 2010-02-05

bananaman Wrote:Thanks, did install a previous build some days ago and changed to ffdshow audio\video. When using userdata from camelot i got no sound video.

Will try again with new portable.

Uninstalling MS c++ will that cause problems with camelot (not installed as portable) Would want to keep that for now while testing.

Ok...not sure how you will get on with two builds installed.....you know that if you choose portable you can just reinstall the camelot build at a later date right?

K


- oldpainless - 2010-02-05

Tiben/Seb.......just a thought....given we are now upto 182 pages.....it's a lot to ask folks to read 182 pages to find their solution..is it time to start a wiki on this?....you know....like if your using winX...here's what you need, if you want to use ffdshow/coreavc, here's the xml and what you do etc?

Make any sense?

And as you guys know...I'm not even using dxva....what attracted me to the dsplayer build is the config options (coreavc etc)....although my revo arrives tomorrow!.... there's still a lot of folks without gpu acceleration that want the dsplayer build because of the coreavc option etc.

K


- christoofar - 2010-02-05

oldpainless Wrote:Tiben/Seb.......just a thought....given we are now upto 182 pages.....it's a lot to ask folks to read 182 pages to find their solution..is it time to start a wiki on this?....you know....like if your using winX...here's what you need, if you want to use ffdshow/coreavc, here's the xml and what you do etc?

Make any sense?

And as you guys know...I'm not even using dxva....what attracted me to the dsplayer build is the config options (coreavc etc)....although my revo arrives tomorrow!.... there's still a lot of folks without gpu acceleration that want the dsplayer build because of the coreavc option etc.

K

Would be nice to have a compressed How-To, especially for creating the .xml stuff, since I'm a bit lost...lol


- bananaman - 2010-02-05

Installed it as portable and did get coreavc and ffdshow audio to work.

Using shark 007 codecs, so pointed ffdshow to

C:\Program Files (x86)\Win7codecs\filters\ffdshow.ax

tested on mkv.

Did copy over source.xml, database, thumbnails, skin one by one. Now it seems to work. Did have some crashes of xbmc.

Edited m2ts to use same settings as mkv. Coreavc with xbmc must be good


- chunk1982 - 2010-02-05

oldpainless Wrote:Tiben/Seb.......just a thought....given we are now upto 182 pages.....it's a lot to ask folks to read 182 pages to find their solution..is it time to start a wiki on this?....you know....like if your using winX...here's what you need, if you want to use ffdshow/coreavc, here's the xml and what you do etc?

Make any sense?

And as you guys know...I'm not even using dxva....what attracted me to the dsplayer build is the config options (coreavc etc)....although my revo arrives tomorrow!.... there's still a lot of folks without gpu acceleration that want the dsplayer build because of the coreavc option etc.

K

i think this would be an excellent thing to have because if like me you really dont understand how this stuff works so you crawl through pages upon pages and when you finally find what your looking for you realise it just does not make sense, so what do you do as you dont wanna look a fool by asking a question thats been asked before or saying your to dumb to understand lol
as for the downloadable xml's that would rock because well dont even get me started on config's and rules and well anything that involves me modding any code what so ever because to me it just looks gibberish and confuses me so much you lot prob will never realise No lol

paul