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)



- Ronner - 2010-02-07

>>X<<' Wrote:There's a Nvidia GT210 that has passive cooling which has Pure Video 4 so hardware decoding on all popular formats assuming you only want it for video not gaming, GT220 might be better but I don't think there's a passive one neither are very expensive

MSI GeForce N210-Md512H

or

ZOTAC GeForce GT220 ZONE 1GB

?

oh and yes, I will only be using them in an HTPC.


- &gt;&gt;X&lt;&lt; - 2010-02-07

Ronner Wrote:MSI GeForce N210-Md512H

or

ZOTAC GeForce GT220 ZONE 1GB

?

oh and yes, I will only be using them in an HTPC.

I sent you a PM about using CoreAVC and CUDA with DSPlayer pretty sure your GPU supports CUDA


- christoofar - 2010-02-07

blinkeb Wrote:Ok guys! I've made a wiki entry for dsplayer : http://wiki.xbmc.org/?title=HOW-TO:_Using_DSPlayer

I hope it will help some of you understanding how things work.

Don't forget english isn't my native langage, so, if you find mistakes, correct them :p

Very cool, Seb! Thanks for taking the time to help sort it out.


- blinkseb - 2010-02-07

SlaveUnit Wrote:A lot of people do not use the mouse with XBMC. So in the wiki you might want to put that instead of right clicking you can hit the context menu which is brought up with the "c" key. Then from there you can select what player to play a video with.

Thanks, I've not thought about that Wink Wiki article corrected!

I've added two examples to illustrate the article. Hope that's helping!


- tiben20 - 2010-02-07

blinkeb Wrote:Thanks, I've not thought about that Wink Wiki article corrected!

I've added two examples to illustrate the article. Hope that's helping!
nice job for the wiki added the link to first post. By the way you could add a link to graphstudio with a print screen on how to get a guid from a filter.


- thegrinch - 2010-02-07

Playing a bit more with build 27497, I noticed that for the first ~22 secs there's no audio when using dsplayer, with the AudioTrak Prodigy digital out. When using the integrated Realtek audio, there's no sound at all, not even after that period. Happens with shipped config and with ffdshow as audio decoder too. There's always sound in the GUI (and in any other app for that matter), using the same output settings as for dsplayer. If this haven't been reported yet (not found via searching this thread), I can post my log. It's a W7U x64.


- bananaman - 2010-02-07

With coreavc and ffdshow its 10-13% lower on cpu than normal build. On hd 3200, probably the same with 5 series card when it arrives.


- Raptylos - 2010-02-08

I have a strange phenomenon with dts passthrough and .mkv. After initial start of xbmc, the file is played correctly with dts. When I stop and play another file with dts, the sound is mixed down to stereo until I restart windows. This happens since the 27340 (I think, I'm not really sure). I've tested it with countless codecpacks, w/o any codec, with and without MPC-TH installed, uninstalling MVC++ and reinstalling XBMC, reverting to earlier builds.
I am really clueless. I can post a log, if desired.
What i saw in the log and made me thoughtful was:

01:52:13 T:2640 M:1774043136 NOTICE: CFGLoader::InsertAudioDecoder Successfully added "Mpa Decoder" to the graph
01:52:13 T:2640 M:1774043136 DEBUG: CFGLoader::LoadFilterRules All filters added to the graph
01:52:13 T:2640 M:1774043136 DEBUG: CFGManager::RenderFileXbmc Successfully loaded filters rules
01:52:13 T:2640 M:1774026752 DEBUG: CFGManager::ConnectDirect Trying to connect MKV Source.Undetermined, X2 (Video 1) pin to Mpa Decoder.In
01:52:13 T:2640 M:1774014464 DEBUG: CFGManager::ConnectDirect Failed !
01:52:13 T:2640 M:1773383680 DEBUG: CFGManager::ConnectDirect Trying to connect MKV Source.Undetermined, X2 (Video 1) pin to MPC Video Decoder.Video
01:52:13 T:2640 M:1773383680 DEBUG: CFGManager::ConnectDirect Succeeded !
01:52:13 T:2640 M:1773367296 DEBUG: CFGManager::ConnectDirect Trying to connect MPC Video Decoder.Output pin to Mpa Decoder.In
01:52:13 T:2640 M:1773367296 DEBUG: CFGManager::ConnectDirect Failed !

Maybe you can give me a hint of what goes wrong.

P.s.: I've tested it on two different machines, both running W7 Pro 32 bit on AsRock ION 33HT via Realtek optical out

Thanks in advance, Raptylos


- tiben20 - 2010-02-08

Raptylos Wrote:I have a strange phenomenon with dts passthrough and .mkv. After initial start of xbmc, the file is played correctly with dts. When I stop and play another file with dts, the sound is mixed down to stereo until I restart windows. This happens since the 27340 (I think, I'm not really sure). I've tested it with countless codecpacks, w/o any codec, with and without MPC-TH installed, uninstalling MVC++ and reinstalling XBMC, reverting to earlier builds.
I am really clueless. I can post a log, if desired.
What i saw in the log and made me thoughtful was:

01:52:13 T:2640 M:1774043136 NOTICE: CFGLoader::InsertAudioDecoder Successfully added "Mpa Decoder" to the graph
01:52:13 T:2640 M:1774043136 DEBUG: CFGLoader::LoadFilterRules All filters added to the graph
01:52:13 T:2640 M:1774043136 DEBUG: CFGManager::RenderFileXbmc Successfully loaded filters rules
01:52:13 T:2640 M:1774026752 DEBUG: CFGManager::ConnectDirect Trying to connect MKV Source.Undetermined, X2 (Video 1) pin to Mpa Decoder.In
01:52:13 T:2640 M:1774014464 DEBUG: CFGManager::ConnectDirect Failed !
01:52:13 T:2640 M:1773383680 DEBUG: CFGManager::ConnectDirect Trying to connect MKV Source.Undetermined, X2 (Video 1) pin to MPC Video Decoder.Video
01:52:13 T:2640 M:1773383680 DEBUG: CFGManager::ConnectDirect Succeeded !
01:52:13 T:2640 M:1773367296 DEBUG: CFGManager::ConnectDirect Trying to connect MPC Video Decoder.Output pin to Mpa Decoder.In
01:52:13 T:2640 M:1773367296 DEBUG: CFGManager::ConnectDirect Failed !

Maybe you can give me a hint of what goes wrong.

P.s.: I've tested it on two different machines, both running W7 Pro 32 bit on AsRock ION 33HT via Realtek optical out

Thanks in advance, Raptylos
Blinkeb did that new pin connection and i didnt really look into it but from what i know there no way this would work
Quote:01:52:13 T:2640 M:1773367296 DEBUG: CFGManager::ConnectDirect Trying to connect MPC Video Decoder.Output pin to Mpa Decoder.In
01:52:13 T:2640 M:1773367296 DEBUG: CFGManager::ConnectDirect Failed !
The reason is really simple its 2 decoder in the first place and its 2 different type of stream first is video and the second one is audio


dsplayer subtitle help... - trygain - 2010-02-08

I m currently using the latest build (XBMCSetup-Rev27497-dx) of xbmc, everything works great but I can’t get the subtitles working in mkv movies with integrated subtitles or with separate srt files Is the anything I need your help...


- LiquidSmoke - 2010-02-08

Same problem;

The subtitle pin from Haali/Matroska splitter isn't used (from what I get of it), I just added the DirectVobsub as exta to the config file.
I think it has something to do with the construction of the filter; 1 pin connects from the mkv source (subtitle) to the input pin of Vobsub, the other pin (video) must come from the video decoder, an the output pin has to be connected to the renderer, not a straight line like the DC EQ example.

Here's my log output:
Quote:10:10:05 T:3380 M:1379323904 NOTICE: CFGLoader::InsertSourceFilter Inserting source splitter for "X:\Twilight\Twilight.mkv"
10:10:05 T:3380 M:1378586624 DEBUG: CFGFilterFile::Create Successfully loaded external filter (clsid:{55DA30FC-F16B-49FC-BAA5-AE59FC65F82D} path:C:\Program Files\Haali\MatroskaSplitter\splitter.ax)
10:10:05 T:3380 M:1378586624 NOTICE: CFGLoader::InsertSourceFilter Successfully added "Haali Media Splitter" to the graph
10:10:05 T:3380 M:1376210944 NOTICE: CFGLoader::LoadFilterRules The source filter is also the splitter filter
10:10:06 T:3380 M:1374502912 DEBUG: CFGFilterFile::Create Successfully loaded external filter (clsid:{09571A4B-F1FE-4C60-9760-DE6D310C7C31} path:C:\Program Files\CoreCodec\CoreAVC Professional Edition\CoreAVCDecoder.ax)
10:10:06 T:3380 M:1374130176 NOTICE: CFGLoader::InsertVideoDecoder Successfully added "CoreAVC video Decoder" to the graph
10:10:06 T:3380 M:1373192192 DEBUG: CFGFilterFile::Create Successfully loaded external filter (clsid:{A753A1EC-973E-4718-AF8E-A3F554D45C44} path:C:\Program Files\AC3Filter\ac3filter.ax)
10:10:06 T:3380 M:1373192192 NOTICE: CFGLoader::InsertAudioDecoder Successfully added "AC3 Filter" to the graph
10:10:06 T:3380 M:1372082176 DEBUG: CFGFilterFile::Create Successfully loaded external filter (clsid:{9852A670-F845-491B-9BE6-EBD841B8A613} path:C:\Program Files\DirectVobSub\VSFilter.dll)
10:10:06 T:3380 M:1372082176 NOTICE: CFGLoader::InsertExtraFilter Successfully added "Direct VobSub" to the graph
10:10:06 T:3380 M:1372082176 DEBUG: CFGLoader::LoadFilterRules All filters added to the graph
10:10:06 T:3380 M:1372082176 DEBUG: CFGManager::RenderFileXbmc Successfully loaded filters rules
10:10:06 T:3380 M:1372069888 DEBUG: CFGManager::ConnectDirect Trying to connect Haali Media Splitter.Video pin to Direct VobSub.Video
10:10:06 T:3380 M:1372069888 DEBUG: CFGManager::ConnectDirect Failed !
10:10:06 T:3380 M:1372069888 DEBUG: CFGManager::ConnectDirect Trying to connect Haali Media Splitter.Video pin to Direct VobSub.Input
10:10:06 T:3380 M:1372069888 DEBUG: CFGManager::ConnectDirect Failed !
10:10:06 T:3380 M:1372069888 DEBUG: CFGManager::ConnectDirect Trying to connect Haali Media Splitter.Video pin to AC3 Filter.In
10:10:06 T:3380 M:1372069888 DEBUG: CFGManager::ConnectDirect Failed !
10:10:06 T:3380 M:1372053504 DEBUG: CFGManager::ConnectDirect Trying to connect Haali Media Splitter.Video pin to CoreAVC video Decoder.Input
10:10:06 T:3380 M:1372053504 DEBUG: CFGManager::ConnectDirect Succeeded !
10:10:06 T:3380 M:1372053504 DEBUG: CFGManager::ConnectDirect Trying to connect CoreAVC video Decoder.Output pin to Direct VobSub.Video
10:10:06 T:3380 M:1372053504 DEBUG: CFGManager::ConnectDirect Failed !
10:10:06 T:3380 M:1372053504 DEBUG: CFGManager::ConnectDirect Trying to connect CoreAVC video Decoder.Output pin to Direct VobSub.Input
10:10:06 T:3380 M:1372053504 DEBUG: CFGManager::ConnectDirect Failed !
10:10:06 T:3380 M:1372053504 DEBUG: CFGManager::ConnectDirect Trying to connect CoreAVC video Decoder.Output pin to AC3 Filter.In
10:10:06 T:3380 M:1372053504 DEBUG: CFGManager::ConnectDirect Failed !
10:10:06 T:3380 M:1369411584 DEBUG: CVMR9AllocatorPresenter::InitializeDevice 1920x800 AR 12:5 flags:24 buffers:1 fmtSad3231564e) NV12
10:10:06 T:3380 M:1369411584 DEBUG: VMR9AllocFlag_OffscreenSurface
10:10:06 T:3380 M:1369411584 DEBUG: VMR9AllocFlag_RGBDynamicSwitch
10:10:06 T:3380 M:1369374720 DEBUG: CFGManager::ConnectDirect Trying to connect CoreAVC video Decoder.Output pin to Xbmc VMR9 (Renderless).VMR Input0
10:10:06 T:3380 M:1369374720 DEBUG: CFGManager::ConnectDirect Succeeded !
10:10:06 T:3380 M:1369374720 DEBUG: CFGManager::ConnectDirect Trying to connect Haali Media Splitter.Audio pin to Direct VobSub.Video
10:10:06 T:3380 M:1369374720 DEBUG: CFGManager::ConnectDirect Failed !
10:10:06 T:3380 M:1369374720 DEBUG: CFGManager::ConnectDirect Trying to connect Haali Media Splitter.Audio pin to Direct VobSub.Input
10:10:06 T:3380 M:1369370624 DEBUG: CFGManager::ConnectDirect Failed !
10:10:06 T:3380 M:1369370624 DEBUG: CFGManager::ConnectDirect Trying to connect Haali Media Splitter.Audio pin to AC3 Filter.In
10:10:06 T:3380 M:1369370624 DEBUG: CFGManager::ConnectDirect Succeeded !
10:10:06 T:3380 M:1369370624 DEBUG: CFGManager::ConnectDirect Trying to connect AC3 Filter.Out pin to Direct VobSub.Video
10:10:06 T:3380 M:1369370624 DEBUG: CFGManager::ConnectDirect Failed !
10:10:06 T:3380 M:1369370624 DEBUG: CFGManager::ConnectDirect Trying to connect AC3 Filter.Out pin to Direct VobSub.Input
10:10:06 T:3380 M:1369370624 DEBUG: CFGManager::ConnectDirect Failed !
10:10:06 T:3380 M:1369370624 DEBUG: CFGManager::ConnectDirect Trying to connect AC3 Filter.Out pin to Xbmc VMR9 (Renderless).VMR Input0
10:10:06 T:3380 M:1369370624 DEBUG: CFGManager::ConnectDirect Failed !
10:10:06 T:3380 M:1369243648 DEBUG: CFGManager::ConnectDirect Trying to c
Quote:10:11:36 T:3380 M:1362182144 DEBUG: CFGManager::ConnectDirect Succeeded !
10:11:36 T:3380 M:1362182144 DEBUG: CFGManager::ConnectDirect Trying to connect MKV Source.English, DTS @ 1.5 Mbit (Audio 1) pin to Direct VobSub.Video
10:11:36 T:3380 M:1362182144 DEBUG: CFGManager::ConnectDirect Failed !
10:11:36 T:3380 M:1362182144 DEBUG: CFGManager::ConnectDirect Trying to connect MKV Source.English, DTS @ 1.5 Mbit (Audio 1) pin to Direct VobSub.Input
10:11:36 T:3380 M:1362182144 DEBUG: CFGManager::ConnectDirect Failed !
10:11:36 T:3380 M:1362182144 DEBUG: CFGManager::ConnectDirect Trying to connect MKV Source.English, DTS @ 1.5 Mbit (Audio 1) pin to AC3 Filter.In
10:11:36 T:3380 M:1362182144 DEBUG: CFGManager::ConnectDirect Succeeded !
10:11:36 T:3380 M:1362182144 DEBUG: CFGManager::ConnectDirect Trying to connect AC3 Filter.Out pin to Direct VobSub.Video
10:11:36 T:3380 M:1362182144 DEBUG: CFGManager::ConnectDirect Failed !
10:11:36 T:3380 M:1362182144 DEBUG: CFGManager::ConnectDirect Trying to connect AC3 Filter.Out pin to Direct VobSub.Input
10:11:36 T:3380 M:1362178048 DEBUG: CFGManager::ConnectDirect Failed !
10:11:36 T:3380 M:1362178048 DEBUG: CFGManager::ConnectDirect Trying to connect AC3 Filter.Out pin to Xbmc VMR9 (Renderless).VMR Input0
10:11:36 T:3380 M:1362178048 DEBUG: CFGManager::ConnectDirect Failed !
10:11:36 T:3380 M:1362112512 DEBUG: CFGManager::ConnectDirect Trying to connect AC3 Filter.Out pin to Default DirectSound Device.Audio Input pin (rendered)
10:11:36 T:3380 M:1362112512 DEBUG: CFGManager::ConnectDirect Succeeded !
10:11:36 T:3380 M:1362112512 NOTICE: CDSConfig::LoadPropertiesPage "Direct VobSub" expose ISpecifyPropertyPages
10:11:36 T:3380 M:1362112512 NOTICE: CDSConfig::LoadPropertiesPage "Xbmc VMR9 (Renderless)" expose ISpecifyPropertyPages
10:11:36 T:3380 M:1362112512 NOTICE: CDSConfig::LoadPropertiesPage "Default DirectSound Device" expose ISpecifyPropertyPages
10:11:36 T:3380 M:1362112512 NOTICE: CDSConfig::LoadPropertiesPage "AC3 Filter" expose ISpecifyPropertyPages
10:11:36 T:3380 M:1362112512 NOTICE: CDSConfig::LoadPropertiesPage "CoreAVC video Decoder" expose ISpecifyPropertyPages

I know that this hasn't priority, but it would be damn nice Smile The player works like a charm, and I like the configurability.


- Sylus - 2010-02-08

Subtitels are not support yet. That is all


- oldpainless - 2010-02-08

Tiben/Seb,

Been playing with the latest build.....I cant put my finger on it...but I'm 96% sure there are a/v sync issues in dsplayer with the latest build.....not sure it will help, but let me know if you need a debug log.

K

EDIT: or it might just be my rig...new revo.


- naty6458 - 2010-02-08

First my English is not something so sorry in advance.

I wanted to know if I can start the new codac from FFDshow (FFDshow DXVA)
in DsPlayer in XBMC .

I saw you could get the codac FFDshow standards and the DXVA impossible. Can you give me to get the FFDshow DXVA with DSPlayer?
thhenxx Smile


- blinkseb - 2010-02-08

LiquidSmoke Wrote:Same problem;

The subtitle pin from Haali/Matroska splitter isn't used (from what I get of it), I just added the DirectVobsub as exta to the config file.
I think it has something to do with the construction of the filter; 1 pin connects from the mkv source (subtitle) to the input pin of Vobsub, the other pin (video) must come from the video decoder, an the output pin has to be connected to the renderer, not a straight line like the DC EQ example.

Here's my log output:



I know that this hasn't priority, but it would be damn nice Smile The player works like a charm, and I like the configurability.

This is a expected behavior. At the moment, all subtitles pins are NOT connected. We we are sure that everything else works fine, I'll make subtitles pins connection (already in code, be disable)

Code:
Originally Posted by Raptylos  View Post
I have a strange phenomenon with dts passthrough and .mkv. After initial start of xbmc, the file is played correctly with dts. When I stop and play another file with dts, the sound is mixed down to stereo until I restart windows. This happens since the 27340 (I think, I'm not really sure). I've tested it with countless codecpacks, w/o any codec, with and without MPC-TH installed, uninstalling MVC++ and reinstalling XBMC, reverting to earlier builds.
I am really clueless. I can post a log, if desired.
What i saw in the log and made me thoughtful was:

01:52:13 T:2640 M:1774043136 NOTICE: CFGLoader::InsertAudioDecoder Successfully added "Mpa Decoder" to the graph
01:52:13 T:2640 M:1774043136 DEBUG: CFGLoader::LoadFilterRules All filters added to the graph
01:52:13 T:2640 M:1774043136 DEBUG: CFGManager::RenderFileXbmc Successfully loaded filters rules
01:52:13 T:2640 M:1774026752 DEBUG: CFGManager::ConnectDirect Trying to connect MKV Source.Undetermined, X2 (Video 1) pin to Mpa Decoder.In
01:52:13 T:2640 M:1774014464 DEBUG: CFGManager::ConnectDirect Failed !
01:52:13 T:2640 M:1773383680 DEBUG: CFGManager::ConnectDirect Trying to connect MKV Source.Undetermined, X2 (Video 1) pin to MPC Video Decoder.Video
01:52:13 T:2640 M:1773383680 DEBUG: CFGManager::ConnectDirect Succeeded !
01:52:13 T:2640 M:1773367296 DEBUG: CFGManager::ConnectDirect Trying to connect MPC Video Decoder.Output pin to Mpa Decoder.In
01:52:13 T:2640 M:1773367296 DEBUG: CFGManager::ConnectDirect Failed !

Maybe you can give me a hint of what goes wrong.

P.s.: I've tested it on two different machines, both running W7 Pro 32 bit on AsRock ION 33HT via Realtek optical out

Thanks in advance, Raptylos

If you show a log output, show everything, not the first lines. It only show that dsplayer tries to connect mpcvideodec to mpaaudiodec, and that fails (of source, you can't connect a video decoder with an audio decoder).

BUT, on the next lines, you will see something like that :

Code:
01:52:13 T:2640 M:1773367296 DEBUG: CFGManager::ConnectDirect Trying to connect MPC Video Decoder.Output pin to Blablabla.Blablabla
01:52:13 T:2640 M:1773367296 DEBUG: CFGManager::ConnectDirect Failed ! (or Succeeded!)

All of this is absolutly normal and expected!

You should post the entire log if you want some help Wink