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)



- zilexa - 2010-08-11

yes I understand the auto build bot, that is really nice!
But I understood there will not be a new official build untill Dharma is released. Meaning people who'd like to test cannot test (unless they build themselves but I already gave that up and so did others). So you are missing tests on several systems...


- blinkseb - 2010-08-11

zilexa Wrote:yes I understand the auto build bot, that is really nice!
But I understood there will not be a new official build untill Dharma is released. Meaning people who'd like to test cannot test (unless they build themselves but I already gave that up and so did others). So you are missing tests on several systems...

We are talking of weeks here, not month! Dharma will be released soon.


- liquidskin76 - 2010-08-11

zilexa Wrote:HuhHuh??
So the Dharma release will contain an untested version of DSplayer?

I would imagine the nightly build of DSPlayer won't be part of the Dharma release, or trunk nightly builds. It will be a separate nightly build.


- relayer35 - 2010-08-11

blinkseb Wrote:We are talking of weeks here, not month! Dharma will be released soon.

I hope so. It has been over a month since the last DSPlayer build (the one with the dreaded black screen).


- kimp93 - 2010-08-14

I found a bug with subtitle font selection for dsplayer. I can not select any non-latin named font from system font. Their font names are garbled. If I select any of them, subtitle font fall back to arial.

Image




On debug log,

Code:
16:33:09 T:2860 M:981929984   ERROR: convert_checked failed
16:33:13 T:2860 M:982745088   ERROR: Previous line repeats 1 times.
16:33:13 T:2860 M:982745088    INFO: Loading skin file: DialogSelect.xml
16:33:13 T:2860 M:982732800   DEBUG: Load DialogSelect.xml: 2.95ms
16:33:13 T:2860 M:982732800   DEBUG: ------ Window Init (DialogSelect.xml) ------
16:33:13 T:2860 M:982716416   DEBUG: Alloc resources: 0.30ms (0.00 ms skin load)
16:33:13 T:2860 M:982712320   ERROR: convert_checked failed
16:33:15 T:2860 M:982990848   ERROR: Previous line repeats 15 times.
16:33:15 T:2860 M:982990848   DEBUG: ------ Window Deinit (DialogSelect.xml) ------
16:33:15 T:2860 M:982990848   ERROR: convert_checked failed
16:33:17 T:2860 M:983240704    INFO: Loading skin file: DialogSelect.xml
16:33:17 T:2860 M:983228416   DEBUG: Load DialogSelect.xml: 2.80ms
16:33:17 T:2860 M:983228416   DEBUG: ------ Window Init (DialogSelect.xml) ------
16:33:17 T:2860 M:983228416   DEBUG: Alloc resources: 0.27ms (0.00 ms skin load)
16:33:17 T:2860 M:983228416   ERROR: convert_checked failed
16:33:18 T:3360 M:983588864   ERROR: Previous line repeats 2 times.
16:33:18 T:3360 M:983588864   DEBUG: Thread 3360 terminating
16:33:18 T:2860 M:983605248   ERROR: convert_checked failed
16:33:20 T:2860 M:983715840   ERROR: Previous line repeats 5 times.
16:33:20 T:2860 M:983715840   DEBUG: ------ Window Deinit (DialogSelect.xml) ------
16:33:20 T:2860 M:983715840   ERROR: convert_checked failed
16:33:21 T:2860 M:983801856    INFO: Loading skin file: DialogSelect.xml
16:33:21 T:2860 M:983789568   DEBUG: Load DialogSelect.xml: 2.90ms
16:33:21 T:2860 M:983789568   DEBUG: ------ Window Init (DialogSelect.xml) ------
16:33:21 T:2860 M:983789568   DEBUG: Alloc resources: 0.27ms (0.00 ms skin load)
16:33:21 T:2860 M:983789568   ERROR: convert_checked failed
16:33:24 T:2860 M:984076288   ERROR: Previous line repeats 12 times.
16:33:24 T:2860 M:984076288   DEBUG: ------ Window Deinit (DialogSelect.xml) ------
16:33:24 T:2860 M:984076288   ERROR: convert_checked failed
16:33:28 T:2860 M:983113728   DEBUG: SDLKeyboard: scancode: 1, sym: 27, unicode: 27, modifier: 0



- liquidskin76 - 2010-08-15

Hi tiben/seb,

Would it be possible to add support for this new splitter...

http://forum.doom9.org/showthread.php?t=156191

@seb... i think you had to do the same for the new SMM splitter.

@tiben... I believe this is the same demuxer you are working on. I've been chatting with nevcairiel over at sourceforge (http://sourceforge.net/apps/trac/mpc-hc/ticket/450).

I've added it into filtersconfig and mediasconfig ok, however vids are not launching and i get the following in the log...

23:37:51 T:3380 M:1381847040 NOTICE: CFGLoader::InsertAudioRenderer Successfully added "Default DirectSound Device" to the graph
23:37:51 T:3380 M:1381605376 NOTICE: No renderersettings.xml to load (special://masterprofile/dsplayer/renderersettings.xml)
23:37:51 T:3380 M:1378275328 NOTICE: CFGLoader::InsertSourceFilter Successfully loaded file in the splitter/source
23:37:51 T:3380 M:1378267136 NOTICE: CFGLoader::InsertFilter Successfully added "File Source (Async.)" to the graph
23:37:51 T:3380 M:1377345536 NOTICE: CFGLoader::InsertFilter Successfully added "LAVFSplitter" to the graph
23:37:51 T:3380 M:1377341440 ERROR: CFGLoader::InsertSplitter Failed to connect the source to the splitter
23:37:51 T:3380 M:1377341440 ERROR: CFGManager::RenderFileXbmc Failed to load filters rules
23:37:51 T:3504 M:1377304576 ERROR: Playlist Player: skipping unplayable item: 0, path [E:\HD\300\300.mkv]
23:37:53 T:3504 M:1371664384 NOTICE: CDSGraph::UnloadGraph Successfully removed "LAVFSplitter" from the graph
23:37:53 T:3504 M:1371660288 NOTICE: CDSGraph::UnloadGraph Successfully removed "File Source (Async.)" from the graph
23:37:53 T:3504 M:1371656192 NOTICE: CDSGraph::UnloadGraph Successfully removed "Xbmc EVR" from the graph
23:37:53 T:3504 M:1371656192 NOTICE: CDSGraph::UnloadGraph Successfully removed "Default DirectSound Device" from the graph
23:37:53 T:3504 M:1373544448 NOTICE: CDSPlayer::~CDSPlayer DSPlayer is now closed


Thanks


- tiben20 - 2010-08-15

liquidskin76 Wrote:Hi tiben/seb,

Would it be possible to add support for this new splitter...

http://forum.doom9.org/showthread.php?t=156191

@seb... i think you had to do the same for the new SMM splitter.

@tiben... I believe this is the same demuxer you are working on. I've been chatting with nevcairiel over at sourceforge (http://sourceforge.net/apps/trac/mpc-hc/ticket/450).

I've added it into filtersconfig and mediasconfig ok, however vids are not launching and i get the following in the log...

23:37:51 T:3380 M:1381847040 NOTICE: CFGLoader::InsertAudioRenderer Successfully added "Default DirectSound Device" to the graph
23:37:51 T:3380 M:1381605376 NOTICE: No renderersettings.xml to load (special://masterprofile/dsplayer/renderersettings.xml)
23:37:51 T:3380 M:1378275328 NOTICE: CFGLoader::InsertSourceFilter Successfully loaded file in the splitter/source
23:37:51 T:3380 M:1378267136 NOTICE: CFGLoader::InsertFilter Successfully added "File Source (Async.)" to the graph
23:37:51 T:3380 M:1377345536 NOTICE: CFGLoader::InsertFilter Successfully added "LAVFSplitter" to the graph
23:37:51 T:3380 M:1377341440 ERROR: CFGLoader::InsertSplitter Failed to connect the source to the splitter
23:37:51 T:3380 M:1377341440 ERROR: CFGManager::RenderFileXbmc Failed to load filters rules
23:37:51 T:3504 M:1377304576 ERROR: Playlist Player: skipping unplayable item: 0, path [E:\HD\300\300.mkv]
23:37:53 T:3504 M:1371664384 NOTICE: CDSGraph::UnloadGraph Successfully removed "LAVFSplitter" from the graph
23:37:53 T:3504 M:1371660288 NOTICE: CDSGraph::UnloadGraph Successfully removed "File Source (Async.)" from the graph
23:37:53 T:3504 M:1371656192 NOTICE: CDSGraph::UnloadGraph Successfully removed "Xbmc EVR" from the graph
23:37:53 T:3504 M:1371656192 NOTICE: CDSGraph::UnloadGraph Successfully removed "Default DirectSound Device" from the graph
23:37:53 T:3504 M:1373544448 NOTICE: CDSPlayer::~CDSPlayer DSPlayer is now closed


Thanks
Yeah i spend a lot of time writing this demuxer. Not saying anything about who is the original author of the project. That's not cool...


- blinkseb - 2010-08-15

liquidskin76 Wrote:Hi tiben/seb,

Would it be possible to add support for this new splitter...

http://forum.doom9.org/showthread.php?t=156191

@seb... i think you had to do the same for the new SMM splitter.

@tiben... I believe this is the same demuxer you are working on. I've been chatting with nevcairiel over at sourceforge (http://sourceforge.net/apps/trac/mpc-hc/ticket/450).

I've added it into filtersconfig and mediasconfig ok, however vids are not launching and i get the following in the log...

23:37:51 T:3380 M:1381847040 NOTICE: CFGLoader::InsertAudioRenderer Successfully added "Default DirectSound Device" to the graph
23:37:51 T:3380 M:1381605376 NOTICE: No renderersettings.xml to load (special://masterprofile/dsplayer/renderersettings.xml)
23:37:51 T:3380 M:1378275328 NOTICE: CFGLoader::InsertSourceFilter Successfully loaded file in the splitter/source
23:37:51 T:3380 M:1378267136 NOTICE: CFGLoader::InsertFilter Successfully added "File Source (Async.)" to the graph
23:37:51 T:3380 M:1377345536 NOTICE: CFGLoader::InsertFilter Successfully added "LAVFSplitter" to the graph
23:37:51 T:3380 M:1377341440 ERROR: CFGLoader::InsertSplitter Failed to connect the source to the splitter
23:37:51 T:3380 M:1377341440 ERROR: CFGManager::RenderFileXbmc Failed to load filters rules
23:37:51 T:3504 M:1377304576 ERROR: Playlist Player: skipping unplayable item: 0, path [E:\HD\300\300.mkv]
23:37:53 T:3504 M:1371664384 NOTICE: CDSGraph::UnloadGraph Successfully removed "LAVFSplitter" from the graph
23:37:53 T:3504 M:1371660288 NOTICE: CDSGraph::UnloadGraph Successfully removed "File Source (Async.)" from the graph
23:37:53 T:3504 M:1371656192 NOTICE: CDSGraph::UnloadGraph Successfully removed "Xbmc EVR" from the graph
23:37:53 T:3504 M:1371656192 NOTICE: CDSGraph::UnloadGraph Successfully removed "Default DirectSound Device" from the graph
23:37:53 T:3504 M:1373544448 NOTICE: CDSPlayer::~CDSPlayer DSPlayer is now closed


Thanks

There's nothing I can do, the splitter refuses the connection from the source filter! Try in debug mode, you'll be more log output


- hsinchu308 - 2010-08-15

blinkseb Wrote:There's nothing I can do, the splitter refuses the connection from the source filter! Try in debug mode, you'll be more log output

The splitter works when I use it as both a source and a splitter, without using the async file source filter. However, it does not work with the MPC video decoder, so I had to use the Cyberlink video decoder. A quick test shows that MKV seems ok, but MPEG files have really high cpu usage (40%) and DXVA does not get activated.


- tiben20 - 2010-08-15

Quote:23:37:51 T:3380 M:1377345536 NOTICE: CFGLoader::InsertFilter Successfully added "LAVFSplitter" to the graph
23:37:51 T:3380 M:1377341440 ERROR: CFGLoader::InsertSplitter Failed to connect the source to the splitter
thats kinda normal that the internal splitter or lavfsplitter is not able to use a isyncsource. Really need to use it as a source and demuxer at the same time because i made it from libavformat which is loading a file from a file path and not a file stream.


- liquidskin76 - 2010-08-16

Yep, using splitter as source and splitter has got things going.

MKV chapter seeking won't go beyond the first chapter. Just keeps reloading same chapter (fine in mpc-hc). Here's the debug log...

http://www.mediafire.com/?g0ysmw35v4zjj... sorry, pastebin is down!

Also, xbmc crashes when stopping vid however this happens in mpc-hc as well. It's a confirmed bug in the splitter and will be fixed in the next version.

Thanks

[EDIT] Using build 51520.


- tiben20 - 2010-08-16

liquidskin76 Wrote:Yep, using splitter as source and splitter has got things going.

MKV chapter seeking won't go beyond the first chapter. Just keeps reloading same chapter (fine in mpc-hc). Here's the debug log...

http://www.mediafire.com/?g0ysmw35v4zjj... sorry, pastebin is down!

Also, xbmc crashes when stopping vid however this happens in mpc-hc as well. It's a confirmed bug in the splitter and will be fixed in the next version.

Thanks

[EDIT] Using build 51520.
pastebin.com is just one of a miullion site for pasting text
http://en.wikipedia.org/wiki/Comparison_of_pastebins


- liquidskin76 - 2010-08-16

hsinchu308 Wrote:However, it does not work with the MPC video decoder

I believe this is a known issue with the splitter, when using it with mpeg-ts containers.


- robinsj - 2010-08-20

Does anyone have a problem with the xbmc webserver? Whenever I enable it, XBMC immediately crashes....


Audio stream change - pinnocchio777 - 2010-08-20

Hi,

First let me start by saying this is an amazing project! Great work!

I'm having an issue while playing a movie and changing audio stream. Let's say I have DTS-MA and AC3.

While playing the movie I go on the speaker icon and change the audio stream (visually it changes) but nothing really happens. I can confirm since I'm bitstreaming directly to my AV gear and also I have movies that have French and English tracks.

I'm also having issues with black screen with some movies (m2ts) but audio is fine.

I'm using Win7 32bit

Here's the audio and video config for both MKV and M2TS files

filtersconfig.xml (partial)

Code:
<!-- 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">
      <guid>{0F40E1E5-4F79-4988-B1A9-CC98794E6B55}</guid>
      <osdname>ffdshow audio decoder</osdname>
    </filter>
    <filter name="wmaudiodecoder" type="audiodec">
      <guid>{2EEB4ADF-4578-4D10-BCA7-BB955F56320A}</guid>
      <osdname>WMAudio Decoder</osdname>
      <isdmo>true</isdmo>
      <guid_category_dmo>{57f2db8b-e6bb-4513-9d43-dcd2a6593125}</guid_category_dmo>
    </filter>
    <filter name="realaudiodec" type="audiodec">
      <guid>{941A4793-A705-4312-8DFC-C11CA05F397E}</guid>
      <osdname>RealAlternative Audio Decoder</osdname>
    </filter>
    <filter name="msvideodec" type="videodec">
      <guid>{212690FB-83E5-4526-8FD7-74478B7939CD}</guid>
      <osdname>MS Video Decoder</osdname>
    </filter>
    
    <!-- Audio Stream Switcher-->
    <filter name="audioswitcher" type="audioswitch">
      <path>audioswitcher.ax</path>
      <guid>{18C16B08-6497-420E-AD14-22D21C2CEAB7}</guid>
      <alwaysload>1</alwaysload>
    </filter>

Here my mediasconfig.xml (partial)

Code:
<rule filetypes="mkv">
      <source filter="mkvsource" />
      <splitter filter="mkvsplitter" />
      <video>
        <video dxva="true" filter="mpcvideodec" />
        <video filter="mpcvideodec" />
      </video>
      <audio filter="ffdaudiodec" />
    </rule>
    <rule filetypes="m2ts">
      <source filter="mpegsource" />
      <splitter filter="mpegsplitter" />
      <!-- <video filter="ffdvideodxvadec / mpcvideodec / msvideodec" /> -->
      <video>
        <video dxva="true" filter="msvideodec" />
        <video filter="msvideodec" />
      </video> -->
      <audio filter="ffdaudiodec" />
    </rule>

Also, when using DXVA in the code, should i also enable DXVA in the XBMC gui? I have also used mpcvideodec instead of the msvideodec but msvideodec seemed to have a great image overall...

Do I have to manually register some .ax files?

I'm a newbie on filters so anyone that can help would be greatly appreciated.
Also, please note that I have read many posts in here but with over 350 of them it would just take hours... Blush

Thanks