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)



- darthy001 - 2010-09-15

darthy001 Wrote:blinkseb: Here is my debug-log:

http://pastebin.com/VYpDqiW8
bump


- blinkseb - 2010-09-15

Jani Wrote:About my RAR(?) problem earlier. I just updated to the latest build and it's still crashing.
Code:
0:024:x86> ~* kb

. 24  Id: ce4.d84 Suspend: -1 Teb: fff53000 Unfrozen
ChildEBP RetAddr  Args to Child              
152afb34 76322c50 00000000 152afb78 11c30f9d ntdll_771a0000!NtDelayExecution+0x15
152afb9c 76323520 00000001 00000000 771c2250 KERNELBASE!SleepEx+0x65
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for AviSplitter.ax -
152afbac 6ab2058f 00000001 2a43ceff 00000000 KERNELBASE!Sleep+0xf
WARNING: Stack unwind information not available. Following frames may be wrong.
152afbd8 6ab21bb5 1568a248 2a43ceab 1568a248 AviSplitter!DllGetClassObject+0x64ff
00000000 00000000 00000000 00000000 00000000 AviSplitter!DllGetClassObject+0x7b25
0:024:x86> .lastevent
Last event: ce4.d84: Exit process 0:ce4, code c0000417
  debugger time: Wed Sep 15 02:15:09.940 2010 (GMT+3)
It seems that the error code is always the same, but the call stack keeps displaying random stuff. I tried running the debug build on 1280x1024 and it worked fine for 2hrs. But on my TV the release build seems to be crashing on each episode. Also, I wasn't using any subs this time. Also, on the other hand I was able to watch a full 100 minute movie today without any problems using the TV. I wish I could get the debug build running with the TV on. I guess 720p might do the job, I'll check it tomorrow.

darthy001 Wrote:Hope this belongs in the dev thread. If not, please excuse me. I have a weird issue in XBMC using dsplayer.

If I pause a movie or use fastforward/skipforward XBMC hangs in windows 7 64bit with a "XBMC has stopped working"-message. This happens every time, sometimes immediately and sometimes it takes 5-10minutes until it hangs. Play the same file without pausing or skipping and there is no problem. Have tried with at least 5movies and 20different tv-episodes with the same result this entire weekend. Will post debug-log if that is necessary(at work now).

I have also tried different builds(currently at the last build) of dsplayer with completely fresh installs with the same result.

My setup:
Win 7 64
Intel I5 750
Ati HD5400-graphics with latest drivers
4gigs of ram

any help appreciated!

It seems like your both issues are related. Can you try with r33834? It should solve the issue.


- Jani - 2010-09-15

Jani Wrote:I guess 720p might do the job, I'll check it tomorrow.
Yeah, the debug build runs fine with 720p.. But no crashes. I've been watching TV for ~3hrs now and not a single crash. Is there anything that might differ between the debug and the release build except the additional prints? Maybe some structs get zeroed with the debug build or sth? Or timing or something.. Well, if it's fixed in r33834/r33835, I'll be very happy :>

blinkseb Wrote:It seems like your both issues are related. It seems like your both issues are related. Can you try with r33834? It should solve the issue.
Ah, okay. I'll try later today, gotta do some stuff now. I'm really hoping this fix the problem. And yeah, I was about to post saying that our issues might be the same, but then I decided against it, because I wasn't sure.


- darthy001 - 2010-09-15

blinkseb Wrote:It seems like your both issues are related. Can you try with r33834? It should solve the issue.

If someone could provide me with the complete build I would be happy to test, but I haven't done anything in visual studio since 2004 and haven't even got it installed atm. So I'm afraid there is no real chance of me compiling this on my own any time soon.


- gav1577 - 2010-09-15

Question does anyone get a delay in loading an mkv file using mkvsource & mkvsplitter? I don't get it with haali at all, odd thing is once the move loads with a delay once the next time loads instantly snip from the debug log here

357 16:42:48 T:4024 M:2132279296 NOTICE: CFGLoader::InsertFilter Successfully added "MKV Source" to the graph
358 16:43:07 T:4024 M:2163597312 NOTICE: CFGLoader::InsertSourceFilter Successfully loaded file in the splitter/source

19 seconds to load

Debug log: http://pastebin.com/r9fSd7zb


- blinkseb - 2010-09-15

gav1577 Wrote:Question does anyone get a delay in loading an mkv file using mkvsource & mkvsplitter? I don't get it with haali at all, odd thing is once the move loads with a delay once the next time loads instantly snip from the debug log here

357 16:42:48 T:4024 M:2132279296 NOTICE: CFGLoader::InsertFilter Successfully added "MKV Source" to the graph
358 16:43:07 T:4024 M:2163597312 NOTICE: CFGLoader::InsertSourceFilter Successfully loaded file in the splitter/source

19 seconds to load

Debug log: http://pastebin.com/r9fSd7zb

That's a splitter issue, not related to dsplayer. It's the same thing with mpc or wmp.


- gav1577 - 2010-09-15

I see thanks for letting me know. I still have black screen when switching from evr to vrm9 after restarting xbmc is this a know n problem ?


- dlmh - 2010-09-15

Hi,

I followed Damian's tutorial on bitstreaming HD audio to my receiver with XBMC DSPlayer and that part works great. Except that with DSPlayer, XBMC will crash at random intervals and the lights on my receiver are flickering (like it's switching input really fast).

I tried every possible combination of filters and settings, but it keeps crashing, with apparent cause in the log.

When I disabled Windows Aero, I noticed that the crashes became less frequent, but still a few times in a movie. Surprisingly (?), when I changed the renderer for DSPLayer from EVR to VMR9, the crashes stopped occuring.

MPC-HC with the same ffdshow and filters works perfectly, so that can't be the reason.

Any ideas?


- gav1577 - 2010-09-15

Just tried making the installer for rev3384 Getting this error whilst building with buildsetup.bat

FilterCoreFactory.obj : error LNK2001: unresolved external symbol "public: void __thiscall CShadersSelectionRule::GetShaders(class CFileItem const &,class std::vector<unsigned int,class std::allocator<unsigned int> > &,bool)" (?GetShaders@CShadersSelectionRule@@QAEXABVCFileItem@@AAV?$vector@IV?$allocator@I@std@@@std@@_N@Z)
FilterCoreFactory.obj : error LNK2001: unresolved external symbol "public: __thiscall CShadersSelectionRule::CShadersSelectionRule(class TiXmlElement *)" (??0CShadersSelectionRule@@QAE@PAVTiXmlElement@@@Z)
XBMC\Release (DirectX)\XBMC.exe : fatal error LNK1120: 2 unresolved externals


- blinkseb - 2010-09-15

gav1577 Wrote:Just tried making the installer for rev3384 Getting this error whilst building with buildsetup.bat

FilterCoreFactory.obj : error LNK2001: unresolved external symbol "public: void __thiscall CShadersSelectionRule::GetShaders(class CFileItem const &,class std::vector<unsigned int,class std::allocator<unsigned int> > &,bool)" (?GetShaders@CShadersSelectionRule@@QAEXABVCFileItem@@AAV?$vector@IV?$allocator@I@std@@@std@@_N@Z)
FilterCoreFactory.obj : error LNK2001: unresolved external symbol "public: __thiscall CShadersSelectionRule::CShadersSelectionRule(class TiXmlElement *)" (??0CShadersSelectionRule@@QAE@PAVTiXmlElement@@@Z)
XBMC\Release (DirectX)\XBMC.exe : fatal error LNK1120: 2 unresolved externals

Visual studio 2008 project has not been updated. Try using the script with the parameter "vs2010"


- gav1577 - 2010-09-15

blinkseb Wrote:Visual studio 2008 project has not been updated. Try using the script with the parameter "vs2010"

Ok thanks seb Smile


- Jani - 2010-09-16

Jani Wrote:Ah, okay. I'll try later today, gotta do some stuff now.
Works very well! 2hrs and no crashes with the release build @1080p24! Many, many thanks! I'm really grateful, since now I can ditch my external player and move to dsplayer completely.

Btw, I was able to compile r33835 with vs2008.


- blinkseb - 2010-09-16

Jani Wrote:Works very well! 2hrs and no crashes with the release build @1080p24! Many, many thanks! I'm really grateful, since now I can ditch my external player and move to dsplayer completely.

Btw, I was able to compile r33835 with vs2008.

Good news Smile VS2008 project has been fixed, it should compile fine for everybody now.

Shaders support has been improved. You can now choose shaders from the mediasconfig.xml file. See the updated one to an example. The wiki will be updated soon.


- gav1577 - 2010-09-16

blinkseb Wrote:Good news Smile VS2008 project has been fixed, it should compile fine for everybody now.

Shaders support has been improved. You can now choose shaders from the mediasconfig.xml file. See the updated one to an example. The wiki will be updated soon.

Nice job with the shaders seb was playing about with them last night got a really nice picture now. Also that problem i was having with the video way ahead of the audio seems fixed too Smile


- blinkseb - 2010-09-16

gav1577 Wrote:Nice job with the shaders seb was playing about with them last night got a really nice picture now. Also that problem i was having with the video way ahead of the audio seems fixed too Smile

Indeed, under special circumstances (especially after a seek), rendering may be delayed by 4-5 frames, even more. I think that could cause some a/v sync issues!