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-09-08

sergiocos Wrote:Default only, now i got scraped only 43 episodes instead of nearly 1000 Smile, random episodes... can you (or anyone using the newest build) refresh a tv show and rescrape episodes without losing them?

I'll try in a few seconds.

EDIT: It does not work. The bug has been fixed in the trunk, be it's not merged within dsplayer. I'll do it right now, thanks Wink


- sergiocos - 2010-09-08

blinkseb Wrote:I'll try in a few seconds.

EDIT: It does not work. The bug has been fixed in the trunk, be it's not merged within dsplayer. I'll do it right now, thanks Wink
Thank you! You're my hero!


- relayer35 - 2010-09-08

blinkseb Wrote:I'll try in a few seconds.

EDIT: It does not work. The bug has been fixed in the trunk, be it's not merged within dsplayer. I'll do it right now, thanks Wink

Will there be a new build with this fix?

I spent two weeks trying to build this myself to fix the black screen issue. I was never able to do it successfully.


- blinkseb - 2010-09-08

relayer35 Wrote:Will there be a new build with this fix?

I spent two weeks trying to build this myself to fix the black screen issue. I was never able to do it successfully.

There's one currently compiling. I'll upload it and delete the old one. Should be online in 30min

EDIT: Upload done, link here: http://dsplayer.passion-xbmc.org/Dsplayer/XBMCSetup-Rev33619-dx.exe


- relayer35 - 2010-09-08

blinkseb Wrote:There's one currently compiling. I'll upload it and delete the old one. Shoul be online in 30min

EDIT: Currently uploading, link here: http://dsplayer.passion-xbmc.org/Dsplayer/XBMCSetup-Rev33619-dx.exe

Thanks Smile


- Jani - 2010-09-08

blinkseb Wrote:That should be fixed in r33590
Cheers! Imma try it in a bit. Gotta love the player, many thanks for it


- relayer35 - 2010-09-09

blinkseb Wrote:There's one currently compiling. I'll upload it and delete the old one. Should be online in 30min

EDIT: Upload done, link here: http://dsplayer.passion-xbmc.org/Dsplayer/XBMCSetup-Rev33619-dx.exe

The blank screen thing is fixed. Many thanks.

However, I noticed a few things:

1. The database is not compatible with the Dharma releases. (Question - does Portable mode still work?)

2. DVDPlayer is broken in this release. I don't think it is a trunk issue because the latest Dharma beta, plus all of the nightly Dharma builds don't have this problem. I've posted a debug.log of me trying to play a MKV using DVDPlayer with this DSPlayer build. DVDPlayer will work if I disable DXVA2, but that's not a legitimate solution.

The reason I want to still use DVDPlayer is that the playback is not as smooth as the built in DXVA in the Dharma builds. The Dharma has been giving me smooth as silk playback as long as I select the "Adjust refesh rate to match video" and do not enable Full Screen window. With DSPlayer, I still get an occasional stutter even with "Adjust refresh rate" selected.

I needed the DSPlayer build because I can configure it with the Microsoft filters and playback my 60fps 1080i Sony HandyCam videos. This works, but I will miss the smooth playback of my basic 720p and 1080p MKV's too much. I'd be fine using the internal player for the MKV's, but DVDPlayer is not working for me at all with this build. And I can't install DSPlayer in a separate directory because the databases aren't compatible, and the -p option does not seem to be working if I try to use portable mode.

So basically, I'm back where I started using the Dharma builds and configuring an external player for the camcorder files.

Pastebin for the DVDPlayer issue:
http://pastebin.com/zTiwAKgD

Edit: Figured out that Portable data goes into Portable_Data now....but it still doesn't make any sense. I put the DSPlayer version in C:\Program Files\XBMC DSPlayer and use a shortcut in that folder with the -p at the end. I copied the data from C:\users\me\appdata\roaming\xbmc\userdata to c:\program files\XBMC DSPlayer\portable_data\userdata. I start DSPlayer, and it finds everything, but if I switch back to Dharma (not in portable mode), the database is gone.

Edit 2: Set up both the Dharma beta, and the DSPlayer to be portable and copied the Dharma database to DSPlayer, and I can switch back and forth between them, so that is not a problem anymore.


- djonline - 2010-09-09

blinkseb Wrote:A debug log would be really usefull.

Code:
09:13:31 T:6800 M:1823309824  NOTICE: Loading filter core factory settings from special://masterprofile/dsplayer/filtersconfig.xml (filters configuration).
09:13:31 T:6800 M:1823309824  NOTICE: special://masterprofile/dsplayer/filtersconfig.xml does not exist. Skipping.
09:13:31 T:6800 M:1823309824  NOTICE: Loading filter core factory settings from special://xbmc/system/players/dsplayer/filtersconfig.xml (filters configuration).
09:13:31 T:6800 M:1823293440  NOTICE: Loading filter core factory settings from special://masterprofile/dsplayer/mediasconfig.xml (medias configuration).
09:13:31 T:6800 M:1823293440  NOTICE: special://masterprofile/dsplayer/mediasconfig.xml does not exist. Skipping.
09:13:31 T:6800 M:1823289344  NOTICE: Loading filter core factory settings from special://xbmc/system/players/dsplayer/mediasconfig.xml (medias configuration).
09:13:31 T:6800 M:1823281152  NOTICE: Successfully loaded rules

09:13:31 T:6800 M:1822871552  NOTICE: CFGLoader::InsertAudioRenderer Successfully added "Default DirectSound Device" to the graph
09:13:32 T:6800 M:1762115584  NOTICE: CFGLoader::InsertSourceFilter Successfully loaded file in the splitter/source
09:13:32 T:6800 M:1762115584  NOTICE: CFGLoader::InsertFilter Successfully added "Mpeg Source" to the graph
09:13:32 T:6800 M:1759047680  NOTICE: CFGLoader::InsertFilter Successfully added "Elecard MPEG-2 Video Decoder HD" to the graph
09:13:32 T:6800 M:1758420992  NOTICE: CFGLoader::InsertFilter Successfully added "ffdshow audio decoder" to the graph
09:13:32 T:6800 M:1745125376   ERROR: CFGManager::RecoverFromGraphError Audio / Video error
                                             Error in the audio rendering chain.
                                             Ensure that the audio/video stream is supported by your selected decoder and ensure that the decoder is properly configured.
09:13:32 T:3740 M:1745342464   ERROR: Playlist Player: skipping unplayable item: 0, path [D:\noback\p2pdown\Eurovision2010_Final_TS.ts]
09:13:32 T:6032 M:1777627136   ERROR: CDVDDemuxFFmpeg::Open - error probing input format, D:\noback\p2pdown\Rojdestvenskii.Madagaskar.2009.1080i.HDTVRip.AC3.MPEG2-HDv0T.avs
09:13:32 T:6032 M:1777627136   ERROR: CDVDFileInfo::ExtractThumb - Error creating demuxer
09:13:32 T:3740 M:1749577728  NOTICE: CDSGraph::UnloadGraph Successfully removed "Elecard MPEG-2 Video Decoder HD" from the graph
09:13:32 T:3740 M:1749577728  NOTICE: CDSGraph::UnloadGraph Successfully removed "Xbmc EVR" from the graph
09:13:32 T:3740 M:1749577728  NOTICE: CDSGraph::UnloadGraph Successfully removed "Default DirectSound Device" from the graph
09:13:32 T:3740 M:1749712896  NOTICE: CDSGraph::UnloadGraph Successfully removed "ffdshow audio decoder" from the graph
09:13:32 T:3740 M:1749712896  NOTICE: CDSGraph::UnloadGraph Successfully removed "Mpeg Source" from the graph
09:13:32 T:3740 M:1751670784  NOTICE: CDSPlayer::~CDSPlayer DSPlayer is now closed

In this build 'Eurovision2010_Final_TS.ts' with h264 inside not played at all, because 'Elecard MPEG-2 Video Decoder HD' is loaded (but must microsoftdtv). In 2-month old build it played, but still with elecard.


- Jani - 2010-09-09

Jani Wrote:Cheers! Imma try it in a bit. Gotta love the player, many thanks for it
Well, tried and it seems more stable now, but it still crashes for some reason.
Code:
0:005:x86> ~* kb c

.  5  Id: 710.d14 Suspend: -1 Teb: fffa1000 Unfrozen
ChildEBP RetAddr  Args to Child              
063bfcc4 77902192 0000032c 063bfd78 71bb3f24 ntdll_778a0000!NtWaitForWorkViaWorkerFactory+0x12
063bfe24 75593677 0081e9a0 063bfe70 778d9d42 ntdll_778a0000!TppWorkerThread+0x216
063bfe30 778d9d42 0081e9a0 71bb3f70 00000000 KERNEL32!BaseThreadInitThunk+0xe
063bfe70 778d9d15 77902c81 0081e9a0 00000000 ntdll_778a0000!__RtlUserThreadStart+0x70
063bfe88 00000000 77902c81 0081e9a0 00000000 ntdll_778a0000!_RtlUserThreadStart+0x1b
Not really helping at all, eh?


- blinkseb - 2010-09-09

djonline Wrote:
Code:
09:13:31 T:6800 M:1823309824  NOTICE: Loading filter core factory settings from special://masterprofile/dsplayer/filtersconfig.xml (filters configuration).
09:13:31 T:6800 M:1823309824  NOTICE: special://masterprofile/dsplayer/filtersconfig.xml does not exist. Skipping.
09:13:31 T:6800 M:1823309824  NOTICE: Loading filter core factory settings from special://xbmc/system/players/dsplayer/filtersconfig.xml (filters configuration).
09:13:31 T:6800 M:1823293440  NOTICE: Loading filter core factory settings from special://masterprofile/dsplayer/mediasconfig.xml (medias configuration).
09:13:31 T:6800 M:1823293440  NOTICE: special://masterprofile/dsplayer/mediasconfig.xml does not exist. Skipping.
09:13:31 T:6800 M:1823289344  NOTICE: Loading filter core factory settings from special://xbmc/system/players/dsplayer/mediasconfig.xml (medias configuration).
09:13:31 T:6800 M:1823281152  NOTICE: Successfully loaded rules

09:13:31 T:6800 M:1822871552  NOTICE: CFGLoader::InsertAudioRenderer Successfully added "Default DirectSound Device" to the graph
09:13:32 T:6800 M:1762115584  NOTICE: CFGLoader::InsertSourceFilter Successfully loaded file in the splitter/source
09:13:32 T:6800 M:1762115584  NOTICE: CFGLoader::InsertFilter Successfully added "Mpeg Source" to the graph
09:13:32 T:6800 M:1759047680  NOTICE: CFGLoader::InsertFilter Successfully added "Elecard MPEG-2 Video Decoder HD" to the graph
09:13:32 T:6800 M:1758420992  NOTICE: CFGLoader::InsertFilter Successfully added "ffdshow audio decoder" to the graph
09:13:32 T:6800 M:1745125376   ERROR: CFGManager::RecoverFromGraphError Audio / Video error
                                             Error in the audio rendering chain.
                                             Ensure that the audio/video stream is supported by your selected decoder and ensure that the decoder is properly configured.
09:13:32 T:3740 M:1745342464   ERROR: Playlist Player: skipping unplayable item: 0, path [D:\noback\p2pdown\Eurovision2010_Final_TS.ts]
09:13:32 T:6032 M:1777627136   ERROR: CDVDDemuxFFmpeg::Open - error probing input format, D:\noback\p2pdown\Rojdestvenskii.Madagaskar.2009.1080i.HDTVRip.AC3.MPEG2-HDv0T.avs
09:13:32 T:6032 M:1777627136   ERROR: CDVDFileInfo::ExtractThumb - Error creating demuxer
09:13:32 T:3740 M:1749577728  NOTICE: CDSGraph::UnloadGraph Successfully removed "Elecard MPEG-2 Video Decoder HD" from the graph
09:13:32 T:3740 M:1749577728  NOTICE: CDSGraph::UnloadGraph Successfully removed "Xbmc EVR" from the graph
09:13:32 T:3740 M:1749577728  NOTICE: CDSGraph::UnloadGraph Successfully removed "Default DirectSound Device" from the graph
09:13:32 T:3740 M:1749712896  NOTICE: CDSGraph::UnloadGraph Successfully removed "ffdshow audio decoder" from the graph
09:13:32 T:3740 M:1749712896  NOTICE: CDSGraph::UnloadGraph Successfully removed "Mpeg Source" from the graph
09:13:32 T:3740 M:1751670784  NOTICE: CDSPlayer::~CDSPlayer DSPlayer is now closed

In this build 'Eurovision2010_Final_TS.ts' with h264 inside not played at all, because 'Elecard MPEG-2 Video Decoder HD' is loaded (but must microsoftdtv). In 2-month old build it played, but still with elecard.

Please enabled debug mode, and post your log on pastebin

Jani Wrote:Well, tried and it seems more stable now, but it still crashes for some reason.
Code:
0:005:x86> ~* kb c

.  5  Id: 710.d14 Suspend: -1 Teb: fffa1000 Unfrozen
ChildEBP RetAddr  Args to Child              
063bfcc4 77902192 0000032c 063bfd78 71bb3f24 ntdll_778a0000!NtWaitForWorkViaWorkerFactory+0x12
063bfe24 75593677 0081e9a0 063bfe70 778d9d42 ntdll_778a0000!TppWorkerThread+0x216
063bfe30 778d9d42 0081e9a0 71bb3f70 00000000 KERNEL32!BaseThreadInitThunk+0xe
063bfe70 778d9d15 77902c81 0081e9a0 00000000 ntdll_778a0000!__RtlUserThreadStart+0x70
063bfe88 00000000 77902c81 0081e9a0 00000000 ntdll_778a0000!_RtlUserThreadStart+0x1b
Not really helping at all, eh?

I'm not really surprised it crashes, there were a lot of changes. However, the callstack is useless since you're running a release build.

Can you describe me what you were doing?

@relayer35: We are based on the trunk, not Dharma. That means we already have some commits which won't be in Dharma. I'll try to look at dvdplayer, you have an exception when trying to play a file.


- djonline - 2010-09-09

http://pastebin.com/8yjSUWhh


- Jani - 2010-09-09

blinkseb Wrote:Can you describe me what you were doing?
Just watching some series, Rubicon.S01E06.720p.HDTV.x264-CTU to be exact, and downloaded subs for the clip using the subtitles add on. Then it just crashes after 10 mins or so with the looping sound and frozen picture. Let me try if I can run the debug build.

I'm not sure, if the first episode I watched didn't crash, because I had to press pause like every 5 minutes. It seems that the playback must be constant to get the crash.

Also I'm using AC3Filter, because the MPCHC's audio filter doesn't play DTS correctly, it just makes these weird high pitched(?) sounds. Well, it's their issue since I have the same problem with MPCHC.

Setup: r33619, Win7 x64, ATI 4870, C2D E8600, 1080p24


- blinkseb - 2010-09-09

djonline Wrote:http://pastebin.com/8yjSUWhh

DVDPlayer is not able to parse data from your file, which mean we don't have access to codec informations.

You could try do the opposite, putting microsoft codec to default codec, and before it, the elecard one, like that :

Code:
<video>
<video filter="elecard" videocodec="!h264" />
<video filter="microsoft" />
</video>

It will load elecard only for non h264 material, and microsoft for the other.

Jani Wrote:Just watching some series, Rubicon.S01E06.720p.HDTV.x264-CTU to be exact, and downloaded subs for the clip using the subtitles add on. Then it just crashes after 10 mins or so with the looping sound and frozen picture. Let me try if I can run the debug build.

I'm not sure, if the first episode I watched didn't crash, because I had to press pause like every 5 minutes. It seems that the playback must be constant to get the crash.

Also I'm using AC3Filter, because the MPCHC's audio filter doesn't play DTS correctly, it just makes these weird high pitched(?) sounds. Well, it's their issue since I have the same problem with MPCHC.

Setup: r33619, Win7 x64, ATI 4870, C2D E8600, 1080p24

So it crash when playing the file? I had some crashes when the playback was ended, but never while playing the media. I'll try to stress a little bit the player, maybe Ill find that out Smile


- tiben20 - 2010-09-09

blinkseb i did think about it about something that would help for video renderers. The dvdplayer is using a virtual bool when calling the winrenderer. If we use the virtual bool from the dsplayer player main thread that would prevent xbmc from crashing when the dsplayer stop before the video renderer


- fvboegeld - 2010-09-09

i'm fairly new to this and i've been trying to get everything running. I installed your latest build (Rev33619) and when playing a file through dsplayer, the osd and ui are totally messed up. Lots of screen flickering when moving the mouse to the top or even to the left of the screen to bring up the menus. When i run it in windowed mode, all is played correctly. Anyone else has had this problem? I'm using a lap with an ATI radeo 3650 (resolution 1024x768)

thanks