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)



- orto - 2010-07-13

I just installed the latest version on my asrock ion 330 pro (win 7 64-bit) and so far I´m loving this player, excellent job tiben Smile
The latest version does have a few bugs though that I have run into:

1) I can´t load any video file using smb path with user and pass in the path. smb paths without user:pass work fine. (file server is running win 7 64bit)
2) When I enable the http server xbmc crashes
3) XBMC crashed when I tried to load a trailer from the movie information popup.

I have made no changes to filter and file configuation xml files.

I do know that I can get around the smb issue with folder mapping but smb would definetly be my preferred setup.

Keep up the good work tiben, I look forward to testing future releases.


- oldpainless - 2010-07-13

orto Wrote:I just installed the latest version on my asrock ion 330 pro (win 7 64-bit) and so far I´m loving this player, excellent job tiben Smile
The latest version does have a few bugs though that I have run into:

1) I can´t load any video file using smb path with user and pass in the path. smb paths without user:pass work fine. (file server is running win 7 64bit)
2) When I enable the http server xbmc crashes
3) XBMC crashed when I tried to load a trailer from the movie information popup.

I have made no changes to filter and file configuation xml files.

I do know that I can get around the smb issue with folder mapping but smb would definetly be my preferred setup.

Keep up the good work tiben, I look forward to testing future releases.

Unless I'm mistaken, all three bugs you mention are in the trunk (at the point of merge).

K


- automateXBMC - 2010-07-13

Ok so system:

Quote:17:48:31 T:2892 M:1073741823 NOTICE: Starting XBMC, Platform: Windows Vista, 64-bit (WoW) Service Pack 2 build 6002. Built on Jun 30 2010 (SVN:31520, compiler 1600)
17:48:31 T:2892 M:1073741823 NOTICE: Intel® Atom™ CPU D510 @ 1.66GHz
17:48:31 T:2892 M:1073741823 NOTICE: Desktop Resolution: 1920x1080 32Bit at 50Hz
17:48:31 T:2892 M:1073741823 NOTICE: Running with restricted rights

So whats working:

1. HTTP Server (I actually use it extensively with my home automation system).
2. MKV Splitter is working well for large blu ray movie rips

So whats not working (and irritating)
1. AVI playback - Error log:

Quote:22:54:21 T:1800 M:998346752 DEBUG: CDSGraph::SetFile Successfully added XBMC to the Running Object Table
22:54:21 T:1800 M:996290560 DEBUG: Found DirectShow device "PQ4631-1 (2- NVIDIA High Defini" (guid: {E30629D1-27E5-11CE-875D-00608CB78066})
22:54:21 T:1800 M:991236096 DEBUG: Found DirectShow device "ReClock Audio Renderer" (guid: {9DC15360-914C-46B8-B9DF-BFE67FD36C6A})
22:54:21 T:1800 M:990138368 DEBUG: Found DirectShow device "Default DirectSound Device" (guid: {79376820-07D0-11CF-A24D-0020AFD79767})
22:54:21 T:1800 M:990154752 DEBUG: Found DirectShow device "Default WaveOut Device" (guid: {E30629D1-27E5-11CE-875D-00608CB78066})
22:54:21 T:1800 M:990134272 DEBUG: Found DirectShow device "DirectSound: PQ4631-1 (2- NVIDIA High Definition Audio)" (guid: {79376820-07D0-11CF-A24D-0020AFD79767})
22:54:21 T:1800 M:990150656 DEBUG: Found DirectShow device "DirectSound: Realtek Digital Output (Realtek High Definition Audio)" (guid: {79376820-07D0-11CF-A24D-0020AFD79767})
22:54:21 T:1800 M:990134272 DEBUG: Found DirectShow device "Realtek Digital Output (Realtek" (guid: {E30629D1-27E5-11CE-875D-00608CB78066})
22:54:22 T:1800 M:989310976 NOTICE: CFGLoader::InsertAudioRenderer Successfully added "PQ4631-1 (2- NVIDIA High Defini" to the graph
22:54:22 T:1800 M:989229056 NOTICE: No renderersettings.xml to load (special://masterprofile/dsplayer/renderersettings.xml)
22:54:22 T:1800 M:984915968 DEBUG: CFGFilterVideoRenderer::Create Allocator presenter successfully created
22:54:22 T:1800 M:984924160 DEBUG: CFGLoader::InsertVideoRenderer Allocator presenter successfully added to the graph (Renderer: Enhanced Video Renderer)
22:54:22 T:1800 M:984936448 DEBUG: CFilterSelectionRule::GetFilters: adding filter: avisource for rule: un-named
22:54:22 T:1800 M:985288704 DEBUG: DShowUtil::LoadExternalObject CoLoadLibrary fails : 0
22:54:22 T:1800 M:985288704 INFO: CFGFilterFile::Create Failed to load external filter (clsid:{1B544C20-FD0B-11CE-8C63-00AA0044B51E} path:C:\Program Files (x86)\XBMC\system\players\dsplayer\AviSplitter.ax). Trying with CoCreateInstance
22:54:22 T:1800 M:985264128 DEBUG: CFGFilterFile::Create Successfully loaded external filter (clsid:{1B544C20-FD0B-11CE-8C63-00AA0044B51E} path:C:\Program Files (x86)\XBMC\system\players\dsplayer\AviSplitter.ax)
22:54:22 T:1800 M:985223168 ERROR: CThread:ConfusedtaticThread : Access violation at 0x001133bc: Reading location 0x00000000
22:54:22 T:1800 M:985219072 DEBUG: Thread 1800 terminating
22:54:22 T:768 M:985214976 DEBUG: CAnnouncementManager - Announcement: PlaybackStopped from xbmc


I have checked the following:
1. AviSplitter.ax is in the specified directory
2. The GUID specified in the Filter XML config file is correct using the graphstudio64 tool that list the info of the splitters.
3. Checked that AviSplitter.ax is registered with regsvr32 (regsvr64 does not exist in Windows 7 64bit)

Right now DSPlayer (this build) is the perfect build for me as the HTTP API is still enabled (JSon implementation still has some serious way to go) and my home automation system can still "talk" to this build. The MKV files are playing beautifully in try HD at 24fps Smile Now I just need to figure out how to get the Avi's to play :S any ideas would be greatly appreciated.

I had issues getting DirectSound playing with the FFSound and RealClock working but in the end I just used the AC3 Filter and sound ended up working (at 5am .... from the previous night of debugging starting at 7pm Smile)


- blinkseb - 2010-07-13

automateXBMC Wrote:Ok so system:



So whats working:

1. HTTP Server (I actually use it extensively with my home automation system).
2. MKV Splitter is working well for large blu ray movie rips

So whats not working (and irritating)
1. AVI playback - Error log:



I have checked the following:
1. AviSplitter.ax is in the specified directory
2. The GUID specified in the Filter XML config file is correct using the graphstudio64 tool that list the info of the splitters.
3. Checked that AviSplitter.ax is registered with regsvr32 (regsvr64 does not exist in Windows 7 64bit)

Right now DSPlayer (this build) is the perfect build for me as the HTTP API is still enabled (JSon implementation still has some serious way to go) and my home automation system can still "talk" to this build. The MKV files are playing beautifully in try HD at 24fps Smile Now I just need to figure out how to get the Avi's to play :S any ideas would be greatly appreciated.

I had issues getting DirectSound playing with the FFSound and RealClock working but in the end I just used the AC3 Filter and sound ended up working (at 5am .... from the previous night of debugging starting at 7pm Smile)

Does this occur with all avi or only some? Does it work with haali? Maybe it's related to avisplitter. Can you try to upgrade the filters from xvidvideo.ru ?

I have some free time tomorrow, I'll investigate on the playback issue. After some test, I don't have any problems, but it seems that's it works well a first, but stop working after a while. I'll keep you updated Wink


- automateXBMC - 2010-07-13

blinkseb Wrote:Does this occur with all avi or only some? Does it work with haali? Maybe it's related to avisplitter. Can you try to upgrade the filters from xvidvideo.ru ?

I have some free time tomorrow, I'll investigate on the playback issue. After some test, I don't have any problems, but it seems that's it works well a first, but stop working after a while. I'll keep you updated Wink

Hey Seb

Ok I'll download and install new splitters tomorrow and test I am assuming the splitters GUID will change so I have to update the config files right? Do I have to register the avisplitters wit regsvr32 or does the installer (if any) from that site do soHuh

Additional question - does Haali splitter work for avi too? What would (if you don't mind posting the example) the media settings.XML settings look like for the haali right now it's set to avisource and avisplitter

To answer your question: this happens on ALL AVI files even from different download locations and series I.e. Lost, true blood, greasy anatomy etc all these are avi and all fail with the same error in the xbmc log.


- blinkseb - 2010-07-14

automateXBMC Wrote:Hey Seb

Ok I'll download and install new splitters tomorrow and test I am assuming the splitters GUID will change so I have to update the config files right? Do I have to register the avisplitters wit regsvr32 or does the installer (if any) from that site do soHuh

Additional question - does Haali splitter work for avi too? What would (if you don't mind posting the example) the media settings.XML settings look like for the haali right now it's set to avisource and avisplitter

To answer your question: this happens on ALL AVI files even from different download locations and series I.e. Lost, true blood, greasy anatomy etc all these are avi and all fail with the same error in the xbmc log.

Ok, so it's probably a filter issue.

Filtres don't need to be registered if a path is set on the filterssettings.xml. The only thing you need to do is download the new filters, and copy/paste them on the /system/players/dsplayer/ folder. You don't need to change any guid since it's the same filters.

Haali can handle AVI too Smile It's already declared on filterssettings.xml as "haali". Just change "avisource" and "avisplitter" by "haali" and it should work.


- hoborg - 2010-07-14

blinkseb Wrote:Haali can handle AVI too Smile It's already declared on filterssettings.xml as "haali". Just change "avisource" and "avisplitter" by "haali" and it should work.

Just small note.
Haali can handle AVIs, but not all format. For example AVI 1.0 wont work, or AVIs samples in Win7 instalation doesnot work either.
Acodring to my experience, best AVI splitter is the system one - "AVI Splitter" (quartz.dll).
This one works for all AVIs i ever had.


is is possible that daplayer will act exactlly like windows? - yakovyarmo - 2010-07-14

i mean that i will render exactly like windows does with out using the xml?
the reason is that it will be easier for a lot of user because than they will be able to use programs like shark007 to decide build there own decoding graph


- automateXBMC - 2010-07-14

hoborg Wrote:Just small note.
Haali can handle AVIs, but not all format. For example AVI 1.0 wont work, or AVIs samples in Win7 instalation doesnot work either.
Acodring to my experience, best AVI splitter is the system one - "AVI Splitter" (quartz.dll).
This one works for all AVIs i ever had.

This is the EXACT one that is failing the AVI Splitter with the DLL located in the quartz.dll location...... keep getting a Access Violation on that DLL.

I am going to try the Haali splitter, as long as it can handle the series AVI's I don't mind.... Wink


- automateXBMC - 2010-07-14

blinkseb Wrote:Does this occur with all avi or only some? Does it work with haali? Maybe it's related to avisplitter. Can you try to upgrade the filters from xvidvideo.ru ?

I have some free time tomorrow, I'll investigate on the playback issue. After some test, I don't have any problems, but it seems that's it works well a first, but stop working after a while. I'll keep you updated Wink

Seb, quick question which filters contain the Avi Spliter Xvid?


- automateXBMC - 2010-07-14

Man this is fustrating.

So:

1. Updated Avisplitter.ax to the latest x64 AviSplitter (also tried the 32bit one same issue) - Still have the same Access Violation issue (see previous thread).

2. Changed the filterconfig.xml and mediaconfig.xml files to use the Haali splitter (specifically Splitter64.ax) see settings below:

filterconfig.xml

Quote:<filter name="haalisplitter" type="splitter">
<path>C:\Program Files (x86)\Haali\MatroskaSplitter\Splitter64.ax</path>
<guid>{55DA30FC-F16B-49FC-BAA5-AE59FC65F82D}</guid>
<osdname>Haali Splitter</osdname>
</filter>

Reflected the change in mediaconfig.xml

mediaconfig.xml

Quote:<rule filetypes="avi|divx">
<!--<source filter="avisource" />-->
<source filter="haali" />
<!--<splitter filter="avisplitter" />-->
<spliter filter="haalisplitter" />
<video filter="mpcvideodec" />
<audio filter="ffdaudiodec" />
</rule>

Effect:

I get a "Working.." process circle, then I hear a prompt sound (i.e) as if something is prompting me (but there is nothing on the screen prompting me) so seems like something is prompting in the background and I can not action it cause its not coming to the TOP of the screen.

But wait there is more

If I run at full screen I hear the prompt sound:
Videos > TV Shows > Title > Brother and Sisters > some episode >>>"Working.." shows for two seconds >>> PROMPT SOUND >> Screen dims and "Working ..." carries on going...

Frustration begins here

If in full screen you cant CTRL+SHIFT+ ESC to get task manager.... you can't ALT+TAB to select any other app you can't WINDOWS KEY + TAB to AERO scroll ... you locked to a hung XBMC....

Only two options is force shutdown or CTRL+ALT+DEL and log off.

So what did I do

Changed from Full screen mode to windowed mode. Performed same steps got the same result but this time because it's windowed I spawn task manager and kill XBMC.

I checked within windows if there is anything waiting for a prompt but there isn't so its something in XBMC thats waiting but the dialog to input to is not being shown hence its not carrying on and the endless "Working...." loop.

So lets look at the Log.. well nothing interesting basically says it loaded Haali splitter and then nothing (well thats cause the only thing I can do is kill the XBMC.exe process using task manager)

Quote:17:27:30 T:2728 M:1073741823 DEBUG: CDSGraph::SetFile Successfully added XBMC to the Running Object Table
17:27:30 T:4028 M:1073741823 DEBUG: ------ Window Init (DialogBusy.xml) ------
17:27:30 T:4028 M:1073741823 DEBUG: Alloc resources: 0.01ms (0.01 ms skin load)
17:27:30 T:2728 M:1073741823 DEBUG: Found DirectShow device "PQ4631-1 (2- NVIDIA High Defini" (guid: {E30629D1-27E5-11CE-875D-00608CB78066})
17:27:30 T:2728 M:1073741823 DEBUG: Found DirectShow device "ReClock Audio Renderer" (guid: {9DC15360-914C-46B8-B9DF-BFE67FD36C6A})
17:27:30 T:2728 M:1073741823 DEBUG: Found DirectShow device "Default DirectSound Device" (guid: {79376820-07D0-11CF-A24D-0020AFD79767})
17:27:30 T:2728 M:1073741823 DEBUG: Found DirectShow device "Default WaveOut Device" (guid: {E30629D1-27E5-11CE-875D-00608CB78066})
17:27:30 T:2728 M:1073741823 DEBUG: Found DirectShow device "DirectSound: PQ4631-1 (2- NVIDIA High Definition Audio)" (guid: {79376820-07D0-11CF-A24D-0020AFD79767})
17:27:30 T:2728 M:1073741823 DEBUG: Found DirectShow device "DirectSound: Realtek Digital Output (Realtek High Definition Audio)" (guid: {79376820-07D0-11CF-A24D-0020AFD79767})
17:27:30 T:2728 M:1073741823 DEBUG: Found DirectShow device "Realtek Digital Output (Realtek" (guid: {E30629D1-27E5-11CE-875D-00608CB78066})
17:27:30 T:2728 M:1073741823 NOTICE: CFGLoader::InsertAudioRenderer Successfully added "PQ4631-1 (2- NVIDIA High Defini" to the graph
17:27:30 T:2728 M:1073741823 NOTICE: No renderersettings.xml to load (special://masterprofile/dsplayer/renderersettings.xml)
17:27:31 T:2728 M:1073741823 DEBUG: CFGFilterVideoRenderer::Create Allocator presenter successfully created
17:27:31 T:2728 M:1073741823 DEBUG: CFGLoader::InsertVideoRenderer Allocator presenter successfully added to the graph (Renderer: Enhanced Video Renderer)
17:27:31 T:2728 M:1073741823 DEBUG: CFilterSelectionRule::GetFilters: adding filter: haali for rule: un-named
17:27:31 T:2728 M:1073741823 DEBUG: CFGFilterFile::Create Successfully loaded external filter (clsid:{55DA30FC-F16B-49FC-BAA5-AE59FC65F82D} path:C:\Program Files (x86)\Haali\MatroskaSplitter\splitter.ax)
17:27:56 T:3548 M:1073741823 DEBUG: Thread 3548 terminating (autodelete)
17:27:57 T:2816 M:1073741823 DEBUG: Thread 2816 terminating (autodelete)



Yes thats right folks the end of the log is
Quote:17:27:57 T:2816 M:1073741823 DEBUG: Thread 2816 terminating (autodelete)

Help - direction - bug? - fix? prayer?


- chadwill - 2010-07-14

*PLEASE DELTE* seems this is the old thread


Hey!

Thumbs up for this nice release.

I am using "XBMCSetup-Rev31520-dx.exe", works really great.. no issues at all.

But i kinda miss addons.. is there a way to enable addons? are there any that works for this build?



- hoborg - 2010-07-15

@automateXBMC:

? Why you are using x64 splitter? You have X64 version of XBMC?
You cannot use x64 decoders/splitters in x86 application!


- steelman1991 - 2010-07-15

hoborg Wrote:@automateXBMC:

? Why you are using x64 splitter? You have X64 version of XBMC?
You cannot use x64 filters in x86 app.
FYI there is no x64 version of xbmc - don't know what difference using an x64 version of a splitter will make, but don't suppose it would do any harm given the problems already encountered to install x86 version instead.


- blinkseb - 2010-07-15

automateXBMC Wrote:Man this is fustrating.

So:

1. Updated Avisplitter.ax to the latest x64 AviSplitter (also tried the 32bit one same issue) - Still have the same Access Violation issue (see previous thread).

2. Changed the filterconfig.xml and mediaconfig.xml files to use the Haali splitter (specifically Splitter64.ax) see settings below:

filterconfig.xml



Reflected the change in mediaconfig.xml

mediaconfig.xml



Effect:

I get a "Working.." process circle, then I hear a prompt sound (i.e) as if something is prompting me (but there is nothing on the screen prompting me) so seems like something is prompting in the background and I can not action it cause its not coming to the TOP of the screen.

But wait there is more

If I run at full screen I hear the prompt sound:
Videos > TV Shows > Title > Brother and Sisters > some episode >>>"Working.." shows for two seconds >>> PROMPT SOUND >> Screen dims and "Working ..." carries on going...

Frustration begins here

If in full screen you cant CTRL+SHIFT+ ESC to get task manager.... you can't ALT+TAB to select any other app you can't WINDOWS KEY + TAB to AERO scroll ... you locked to a hung XBMC....

Only two options is force shutdown or CTRL+ALT+DEL and log off.

So what did I do

Changed from Full screen mode to windowed mode. Performed same steps got the same result but this time because it's windowed I spawn task manager and kill XBMC.

I checked within windows if there is anything waiting for a prompt but there isn't so its something in XBMC thats waiting but the dialog to input to is not being shown hence its not carrying on and the endless "Working...." loop.

So lets look at the Log.. well nothing interesting basically says it loaded Haali splitter and then nothing (well thats cause the only thing I can do is kill the XBMC.exe process using task manager)




Yes thats right folks the end of the log is


Help - direction - bug? - fix? prayer?

Not really sure what's going on, but you definilty can't use a 64bit filter with xbmc, no matter you're using an x64 OS. XBMC is a 32bit app, so you must use a 32bit filter.

I'll try to play some avi. Basically, there are three splitter for avi :
- Gabest's one
- Microsoft one (from quartz.dll)
- Haali

I'll try those three, but I don't believe in a bug. Can you try to register the filter and delete the path in the filterssettings.xml? This will bypass the dll loading and use directly the CoCreateInstance() function.