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)



- Jani - 2010-08-20

Jani Wrote:I tested 1080p video with rev32558 and there's the same problem. Both MPC and FFDShow video decoders have this problem. I'm using ATI HD4800 Series graphics card with 10.5 CCC. DXVA Compatibility is set to skip all checks. MPCHC is fine with the same settings, so I think it has something to do with XBMC and/or dsplayer.
Continues: tested with SD content (XviDs) and 5:4 monitor too and the tearing is there too, but with the monitor, it's smaller, only about 10px. It's very annoying. Isn't anyone else having this problem?

EDIT: Found the problem! Enabling alternative VSync in MPCHC settings removes this effect from MPCHC. All ATI users should have that checked. So, how do I enable this with DSPlayer?

EDIT2: It seems that this is already implemented, but not documented. Let's try out and update the wiki if it works Smile

EDIT3: not working. Now the picture tears at the center..

EDIT4: enabling alternative vsync and disabling the "Use a fullscreen Window rather than true Fullscreen" seems to fix the tearing. Altho, as a result, the GUI becomes a little laggy with mouse, but I guess I can live with that, because I'm mainly using my remote controller. Anyway, I'll put the alternative vsync in the wiki.


- djonline - 2010-08-21

1. MTS, M2TS, and TS files can contain Mpeg2 or AVC stream inside. How can I specify Elecard for Mpeg2 stream and other (like MicrosoftDTV) for H264 ?

2. Intel 4500MHD do not properly support 24Hz. How I can specify xbmc not to use 24Hz and user 25Hz instead in the 'refresh rate changer' ?


- Jani - 2010-08-22

Jani Wrote:EDIT4: enabling alternative vsync and disabling the "Use a fullscreen Window rather than true Fullscreen" seems to fix the tearing. Altho, as a result, the GUI becomes a little laggy with mouse, but I guess I can live with that, because I'm mainly using my remote controller. Anyway, I'll put the alternative vsync in the wiki.
So, current situation is that the player starts laggy, it's like 12fps, but when I alt tab out and back in, it's all fine. Sync problems?


- Spaceone - 2010-08-22

I have a little problem. I'm trying to stream channel from a Dreambox using this http://wiki.xbmc.org/index.php?title=TuxBox but Dsplayer refuse to work with this stream.

This is my log:

11:28:18 T:2548 M:2538086400 NOTICE: Loading filter core factory settings from special://masterprofile/dsplayer/filtersconfig.xml (filters configuration).
11:28:18 T:2548 M:2538086400 NOTICE: special://masterprofile/dsplayer/filtersconfig.xml does not exist. Skipping.
11:28:18 T:2548 M:2538086400 NOTICE: Loading filter core factory settings from special://xbmc/system/players/dsplayer/filtersconfig.xml (filters configuration).
11:28:18 T:2548 M:2538049536 NOTICE: Loading filter core factory settings from special://masterprofile/dsplayer/mediasconfig.xml (medias configuration).
11:28:18 T:2548 M:2538049536 NOTICE: special://masterprofile/dsplayer/mediasconfig.xml does not exist. Skipping.
11:28:18 T:2548 M:2538049536 NOTICE: Loading filter core factory settings from special://xbmc/system/players/dsplayer/mediasconfig.xml (medias configuration).
11:28:18 T:2548 M:2538041344 NOTICE: Successfully loaded rules
11:28:18 T:2548 M:2537979904 ERROR: CFGLoader::LoadFilterRules Extension "" not found. Please check dsfilterconfig.xml
11:28:18 T:2548 M:2537975808 ERROR: CFGManager::RenderFileXbmc Failed to load filters rules
11:28:18 T:2548 M:2537943040 ERROR: Playlist Player: skipping unplayable item: 0, path [http://10.1.1.200:8001/1:0:19:1C59:206C:FBFF:820000:0:0:0:]
11:28:20 T:2548 M:2537840640 NOTICE: CDSPlayer::~CDSPlayer DSPlayer is now closed
11:28:21 T:2548 M:2530811904 NOTICE: Storing total System Uptime
11:28:21 T:2548 M:2530811904 NOTICE: Saving settings
11:28:21 T:2548 M:2530410496 NOTICE: stop all
11:28:21 T:2548 M:2530410496 NOTICE: ES: Stopping event server
11:28:21 T:2548 M:2530406400 NOTICE: Webserver: Stopping...
11:28:21 T:2548 M:2530430976 NOTICE: WebServer: Stopped the webserver
11:28:21 T:2548 M:2530430976 NOTICE: Webserver: Stopped...

Extension of files is ":" How can i fix it?


- blinkseb - 2010-08-23

Spaceone Wrote:I have a little problem. I'm trying to stream channel from a Dreambox using this http://wiki.xbmc.org/index.php?title=TuxBox but Dsplayer refuse to work with this stream.

This is my log:

11:28:18 T:2548 M:2538086400 NOTICE: Loading filter core factory settings from special://masterprofile/dsplayer/filtersconfig.xml (filters configuration).
11:28:18 T:2548 M:2538086400 NOTICE: special://masterprofile/dsplayer/filtersconfig.xml does not exist. Skipping.
11:28:18 T:2548 M:2538086400 NOTICE: Loading filter core factory settings from special://xbmc/system/players/dsplayer/filtersconfig.xml (filters configuration).
11:28:18 T:2548 M:2538049536 NOTICE: Loading filter core factory settings from special://masterprofile/dsplayer/mediasconfig.xml (medias configuration).
11:28:18 T:2548 M:2538049536 NOTICE: special://masterprofile/dsplayer/mediasconfig.xml does not exist. Skipping.
11:28:18 T:2548 M:2538049536 NOTICE: Loading filter core factory settings from special://xbmc/system/players/dsplayer/mediasconfig.xml (medias configuration).
11:28:18 T:2548 M:2538041344 NOTICE: Successfully loaded rules
11:28:18 T:2548 M:2537979904 ERROR: CFGLoader::LoadFilterRules Extension "" not found. Please check dsfilterconfig.xml
11:28:18 T:2548 M:2537975808 ERROR: CFGManager::RenderFileXbmc Failed to load filters rules
11:28:18 T:2548 M:2537943040 ERROR: Playlist Player: skipping unplayable item: 0, path [http://10.1.1.200:8001/1:0:19:1C59:206C:FBFF:820000:0:0:0:]
11:28:20 T:2548 M:2537840640 NOTICE: CDSPlayer::~CDSPlayer DSPlayer is now closed
11:28:21 T:2548 M:2530811904 NOTICE: Storing total System Uptime
11:28:21 T:2548 M:2530811904 NOTICE: Saving settings
11:28:21 T:2548 M:2530410496 NOTICE: stop all
11:28:21 T:2548 M:2530410496 NOTICE: ES: Stopping event server
11:28:21 T:2548 M:2530406400 NOTICE: Webserver: Stopping...
11:28:21 T:2548 M:2530430976 NOTICE: WebServer: Stopped the webserver
11:28:21 T:2548 M:2530430976 NOTICE: Webserver: Stopped...

Extension of files is ":" How can i fix it?

Actually you can't, those kind of stream are not (yet) supported.


- liquidskin76 - 2010-08-24

Hey guys,

Think you may already be aware of this one however letting you know just in case! Wink

When seeking in vids (h264 mkv's for me), the video plays really fast for about 2 seconds, then pauses for about 2 seconds, then resumes at normal speed.

Is it an easy/quick one for you to fix and commit?

Thanks

[EDIT:] also, when using the new lavfdshowsplitter, mkv chapter seeking won't seek past the first chapter. You can do a small seek past it, however when you try to then skip to chapter 2, it skips back to chapter 1 again. This is working fine mpc-hc.

Thanks


- Tripplesixty - 2010-08-28

Hi Guys,

I've just installed dsplayer with XBMC and have been trying to get the video to play through dsplayer. I believe I have both the media config and filter config .xml's correct. I also have been able to play and bit stream audio when I manually create a graph in graph studio. I'm at a loss to as what is happening with XBMC... heres my log file

Code:
01:17:28 T:3920 M:2592133120  NOTICE: load settings...
01:17:28 T:3920 M:2592051200  NOTICE: special://profile/ is mapped to: special://masterprofile/
01:17:28 T:3920 M:2592047104  NOTICE: loading special://masterprofile/guisettings.xml
01:17:28 T:3920 M:2591985664  NOTICE: Getting hardware information now...
01:17:28 T:3920 M:2591985664  NOTICE: Checking resolution 12
01:17:28 T:3920 M:2591981568  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
01:17:28 T:3920 M:2591965184  NOTICE: Loaded playercorefactory configuration
01:17:28 T:3920 M:2591965184  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
01:17:28 T:3920 M:2591965184  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
01:17:28 T:3920 M:2591961088  NOTICE: No advancedsettings.xml to load (special://masterprofile/advancedsettings.xml)
01:17:28 T:3920 M:2591961088  NOTICE: Default DVD Player: dvdplayer
01:17:28 T:3920 M:2591961088  NOTICE: Default Video Player: dvdplayer
01:17:28 T:3920 M:2591961088  NOTICE: Default Audio Player: paplayer
01:17:28 T:3920 M:2591956992  NOTICE: Loading media sources from special://masterprofile/sources.xml
01:17:28 T:3920 M:2591952896   ERROR:     Missing or invalid <name> and/or <path> in source
01:17:28 T:3920 M:2591842304  NOTICE: Loading pixel shaders list from special://profile/dsplayer/shaders.xml
01:17:28 T:3920 M:2591830016  NOTICE: Loading pixel shaders list from special://xbmc/system/players/dsplayer/shaders/shaders.xml
01:17:28 T:3920 M:2591879168  NOTICE: No renderersettings.xml to load (special://masterprofile/dsplayer/renderersettings.xml)
01:17:28 T:3920 M:2590134272 WARNING: ADDON: cpluff: 'Not all directories were successfully scanned.'
01:17:29 T:3920 M:2579554304  NOTICE: initializing playlistplayer
01:17:29 T:3920 M:2579554304  NOTICE: DONE initializing playlistplayer
01:17:29 T:3920 M:2572365824  NOTICE: initialize done
01:17:29 T:3920 M:2572365824  NOTICE: Running the application...
01:17:29 T:3920 M:2572337152  NOTICE: ES: Starting event server
01:17:29 T:2652 M:2572337152  NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
01:17:29 T:2652 M:2572279808  NOTICE: UDP: Listening on port 9777
01:17:33 T:4092 M:2562842624 WARNING: XFILE::CFileCurl::CReadState::FillBuffer: curl failed with code 28
01:17:33 T:4092 M:2562842624   ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
01:17:46 T:3312 M:2560057344  NOTICE: Loading filter core factory settings from special://profile/dsplayer/filtersconfig.xml (filters configuration).
01:17:46 T:3312 M:2560016384  NOTICE: Loading filter core factory settings from special://xbmc/system/players/dsplayer/filtersconfig.xml (filters configuration).
01:17:46 T:3312 M:2560008192  NOTICE: Loading filter core factory settings from special://profile/dsplayer/mediasconfig.xml (medias configuration).
01:17:46 T:3312 M:2559995904  NOTICE: Loading filter core factory settings from special://xbmc/system/players/dsplayer/mediasconfig.xml (medias configuration).
01:17:46 T:3312 M:2559991808  NOTICE: Successfully loaded rules
01:17:46 T:3312 M:2559778816  NOTICE: CFGLoader::InsertAudioRenderer Successfully added "Default DirectSound Device" to the graph
01:17:46 T:3312 M:2559762432  NOTICE: No renderersettings.xml to load (special://masterprofile/dsplayer/renderersettings.xml)
01:17:46 T:3312 M:2477047808  NOTICE: CFGLoader::InsertSourceFilter Successfully loaded file in the splitter/source
01:17:46 T:3312 M:2477047808  NOTICE: CFGLoader::InsertFilter Successfully added "MKV Source" to the graph
01:17:46 T:3312 M:2474532864   FATAL: CFGFilterFile::Create CoCreateInstance failed!
01:17:46 T:3312 M:2474532864   ERROR: CFGLoader::InsertFilter Failed to create filter "ffdvideodec"
01:17:46 T:3312 M:2474532864   ERROR: CFGManager::RenderFileXbmc Failed to load filters rules
01:17:46 T:3920 M:2474487808   ERROR: Playlist Player: skipping unplayable item: 0, path [H:\HTPC\Avatar\Avatar.mkv]
01:17:47 T:3920 M:2473721856  NOTICE: CDSGraph::UnloadGraph Successfully removed "MKV Source" from the graph
01:17:47 T:3920 M:2473717760  NOTICE: CDSGraph::UnloadGraph Successfully removed "Xbmc EVR" from the graph
01:17:47 T:3920 M:2473713664  NOTICE: CDSGraph::UnloadGraph Successfully removed "Default DirectSound Device" from the graph
01:17:47 T:3920 M:2474823680  NOTICE: CDSPlayer::~CDSPlayer DSPlayer is now closed
01:17:53 T:3920 M:2478088192  NOTICE: Storing total System Uptime
01:17:53 T:3920 M:2478182400  NOTICE: Saving settings
01:17:53 T:3920 M:2478186496  NOTICE: stop all
01:17:53 T:3920 M:2478174208  NOTICE: ES: Stopping event server
01:17:54 T:2652 M:2478354432  NOTICE: ES: UDP Event server stopped
01:17:54 T:3920 M:2478354432  NOTICE: stop sap announcement listener
01:17:54 T:3920 M:2478350336  NOTICE: clean cached files!
01:17:54 T:3920 M:2478338048  NOTICE: unload skin
01:17:54 T:3920 M:2480402432  NOTICE: stop python
01:17:54 T:3920 M:2480422912  NOTICE: stopped
01:17:54 T:3920 M:2480422912  NOTICE: destroy
01:17:54 T:3920 M:2480418816  NOTICE: unload sections

Suggestions would be great


- blinkseb - 2010-08-28

1) That's not a debug log, so it's useless

2) Use pastebin for the log, please

3) Check if xbmc is on the whitelist of ffdshow


- Tripplesixty - 2010-08-28

Thanks for the reply, I enabled debug logging (I think this is what you wanted) and it can bee seen below. I did ensure that XBMC was whitelisted.

XBMC log http://pastebin.com/1xrq8Zms


- blinkseb - 2010-08-28

Tripplesixty Wrote:Thanks for the reply, I enabled debug logging (I think this is what you wanted) and it can bee seen below. I did ensure that XBMC was whitelisted.

XBMC log http://pastebin.com/1xrq8Zms

Thanks,

It seems that's the problem is related to ffdshow. Is the filter registrated on the system? If not, you need to set a path on the filtersconfig.xml.


- Tripplesixty - 2010-08-28

Yes I believe all the ffdshow components are register with the computer. Using graph studio I am able to see the filters and there guid's. The guid's match what I see in graphstudio and what is in filtersconfig.xml.

How would I separately add the path to the ffdshow filter?


- Tripplesixty - 2010-08-29

Tripplesixty Wrote:Yes I believe all the ffdshow components are register with the computer. Using graph studio I am able to see the filters and there guid's. The guid's match what I see in graphstudio and what is in filtersconfig.xml.

How would I separately add the path to the ffdshow filter?

It looks like I've figured out the problem. I had installed the ffdshow beta, the x64 version. It seems that my XBMC/dsplayer setup is x86, so there must be some compatibility issue there. I installed the regular ffdshow x86 version and checked the filter and media config xml's. And now everything plays through ffdshow and I have bit streaming audio. Thanks for the help in guiding me to the solution.


- djonline - 2010-08-29

1. MTS, M2TS, and TS files can contain Mpeg2 or AVC stream inside. How can I specify Elecard for Mpeg2 stream and other (like MicrosoftDTV) for H264 ?


- blinkseb - 2010-08-29

djonline Wrote:1. MTS, M2TS, and TS files can contain Mpeg2 or AVC stream inside. How can I specify Elecard for Mpeg2 stream and other (like MicrosoftDTV) for H264 ?

You can use the attribute "videocodec" or "audiocodec" to match only a specific codec. For example :

Code:
<video>
  <video filter="microsoft_dtv" videocodec="h264" />
  <video filter="ffdshow" />
</video>

It will use microsoft_dtv only for video file using h264 fourcc.


- djonline - 2010-08-29

blinkseb Wrote:You can use the attribute "videocodec" or "audiocodec" to match only a specific codec. For example :

Code:
<video>
  <video filter="microsoft_dtv" videocodec="h264" />
  <video filter="ffdshow" />
</video>

It will use microsoft_dtv only for video file using h264 fourcc.

Thank you, I will try it.
There is no information about 'videocodec' syntax on official wiki http://wiki.xbmc.org/?title=HOW-TO:_Using_DSPlayer