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)



- Dalidah - 2010-01-02

JustinKlim Wrote:That's done it. All working again now in Win7.

Hi Tiben! Playback working fine on Win 7 (no more washed colors! Laugh

Thanx for the job done!


- krl69 - 2010-01-02

Finally I got something else than a black screeen... had do turn off EVR.

But I have no sound and no subtitle. Running Win7 x86. Installed AC3filter and did the dsfilterconfig change. In the section under "video" and "dsplayer", I have tried everything. The only audio renderer I got here, is Cyberlink v9 and my "hardware" renderer from Realtek. No sound at all, but if I switch to analog, I at least get stereo sound.

BTW, in Windows Media Player everything is okey.


- mavgink - 2010-01-02

wow, this is working great!

keep up the good work tiben@!


- User 42580 - 2010-01-02

krl69 Wrote:But I have no sound and no subtitle.

ASFAIK there is no subtitle support yet. It seems that Tiben is progressing nice on that one, using the MediaPortal implementation.

There was a message from him a few posts back indicating that.


- -Sumo- - 2010-01-02

tiben20 Wrote:http://www.multiupload.com/1HL8RICTL6
Reverted the only change i made in the evr from the working to broken build
rev 26269

Thanks for your hard work tiben! This partially works with my Win7, but Im still back on 25915.

The infamous PAUSE screen issue is gone with 26269 now, but with this build only some of my mkvs can be played! It seems that it wont play files with 2 or more audio tracks in one mkv.

At about 50% of my files the screen gets black for a second and then it reverts to the xbmc library view.
Files with dts only play fine and files with ac3 only also, but not both together in one mkv, and no file with two ac3 tracks inside (english and german).

25915 plays all these files flawlessly...


- fluffylob - 2010-01-02

-Sumo- Wrote:...It seems that it wont play files with 2 or more audio tracks in one mkv.

Hmm, I'm not using mkv's, rather m4v's (long story). In my case the files with 2 audio tracks play, but you cannot select which track to play.

Debug log here...http://pastebin.com/m591e68d5

It's getting better with every day though, nice one tiben!


- tiben20 - 2010-01-02

neil.j1983 Wrote:excellent work.

i'm wondering if in the future you've considered adding other video renderers such as madVR? so that we can select video renderer as well as audio renderer?

i know this stops hardware accel, but the image quality is brilliant.

on topic, with reclock, it picks up the second video played just fine, and can speed it up / slow it down perfectly, just no audio (it stays loaded in between videos). i get the feeling that something isnt stopping correctly when the video is stopped? not that this is of any help.
Video renderer are restricted. Only using the one you can draw over them.


- neil.j1983 - 2010-01-02

thanks for taking the time to reply.


- Logandros - 2010-01-02

First off .. thank you Tiben20 for your time and work. For those of us with acceptabe Nvidia chipsets like the Nvidia ION (GForce 9400M) although we can get HW Acceleration by using Linux or Live I still don't like the fact that if we want HW Acceleration we are forced in that direction. So from all of those types... thanks!

1. I will be rebuilding a box on Win 7 64-Bit is there any area specifically you need testing in your branch?

2. Will you be updating the branch at some point to build with VS 2008 Express (C++ 2008 Express)? Or will this only be done at then end when it gets merged with trunk?

3. I'm curious about the projected end results when comparing HW Accelerations. If someone were about to build an HTPC should the 3 options be a factor with one out performing the other? (VDPAU / CRYSTALHD / DSPAYER). A nice addition to the Wiki or XBMC.org would be a comparisson chart of sorts.

Thanks and Happy New Year

XBMC fan 4 life!


- mavgink - 2010-01-02

what xbmc build are you using btw for development.
because I ran into a library problem with your latest build and it reminds of a pre 9.11 camelot error I had.

Is it possible to add your player to an existing copy of xbmc?


- tiben20 - 2010-01-02

Logandros Wrote:First off .. thank you Tiben20 for your time and work. For those of us with acceptabe Nvidia chipsets like the Nvidia ION (GForce 9400M) although we can get HW Acceleration by using Linux or Live I still don't like the fact that if we want HW Acceleration we are forced in that direction. So from all of those types... thanks!

1. I will be rebuilding a box on Win 7 64-Bit is there any area specifically you need testing in your branch?

2. Will you be updating the branch at some point to build with VS 2008 Express (C++ 2008 Express)? Or will this only be done at then end when it gets merged with trunk?

3. I'm curious about the projected end results when comparing HW Accelerations. If someone were about to build an HTPC should the 3 options be a factor with one out performing the other? (VDPAU / CRYSTALHD / DSPAYER). A nice addition to the Wiki or XBMC.org would be a comparisson chart of sorts.

Thanks and Happy New Year

XBMC fan 4 life!
Personnally i dont like vdpau on linux my 3 htpc are overheating for no reason when in windows its actually really stable and everything stay cold. But this is only a point of view.
I didnt tested crystal hd but my player is already supporting it since rev 25415. And mine is working under dx and not the other xbmc version which is based on opengl
For the compilable on C++ 2008 Express. Im already developing and building from the express one. Only need to change the CAtlList to something else. I did test to change it to something else std::list worked fine. But i was using boost lib FOREACH to make the task easier i dont know if the boost lib can be inserted into xbmc i didnt looked into it i just tested too see if it was working and yeah it was


- Logandros - 2010-01-02

tiben20 Wrote:Personnally i dont like vdpau on linux my 3 htpc are overheating for no reason when in windows its actually really stable and everything stay cold. But this is only a point of view.
I didnt tested crystal hd but my player is already supporting it since rev 25415. And mine is working under dx and not the other xbmc version which is based on opengl
For the compilable on C++ 2008 Express. Im already developing and building from the express one. Only need to change the CAtlList to something else. I did test to change it to something else std::list worked fine. But i was using boost lib FOREACH to make the task easier i dont know if the boost lib can be inserted into xbmc i didnt looked into it i just tested too see if it was working and yeah it was

VS 2008 Express
Rev: 26286

Well if you are interested. I'm starting from scratch and as you can see from the log there are additional instructions required for test building the DSPlayer branch.

http://pastebin.com/m5d861182

Code:
1372...\..\xbmc\RenderSystemDX.cpp(260) : error C3861: 'DXGetErrorStringA': identifier not found
1373...\..\xbmc\RenderSystemDX.cpp(260) : error C3861: 'DXGetErrorDescriptionA': identifier not found
1387.d:\svn\xbmcpcdsplayer\xbmc\cores\videorenderers\WinRenderer.h(30) : fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory
1768...\..\xbmc\cores\dsplayer\BaseClasses\streams.h(147) : fatal error C1083: Cannot open include file: 'atlcoll.h': No such file or directory

I'm assuming from your previous post that http://www.boost.org/ must be installed additionally? If you would like to help me I can document it for future testers.

If not, I'm fine with just downloading your releases and testing with those.


- tiben20 - 2010-01-02

Logandros Wrote:VS 2008 Express
Rev: 26286

Well if you are interested. I'm starting from scratch and as you can see from the log there are additional instructions required for test building the DSPlayer branch.

http://pastebin.com/m5d861182

Code:
1372...\..\xbmc\RenderSystemDX.cpp(260) : error C3861: 'DXGetErrorStringA': identifier not found
1373...\..\xbmc\RenderSystemDX.cpp(260) : error C3861: 'DXGetErrorDescriptionA': identifier not found
1387.d:\svn\xbmcpcdsplayer\xbmc\cores\videorenderers\WinRenderer.h(30) : fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory
1768...\..\xbmc\cores\dsplayer\BaseClasses\streams.h(147) : fatal error C1083: Cannot open include file: 'atlcoll.h': No such file or directory

I'm assuming from your previous post that http://www.boost.org/ must be installed additionally? If you would like to help me I can document it for future testers.

If not, I'm fine with just downloading your releases and testing with those.

You didnt really understand what i was saying about the thing for boost i only tested the replacement with function coming from there i didnt include it in the build. Atlcoll and atlbase are coming from vs studio installation


- Logandros - 2010-01-03

tiben20 Wrote:You didnt really understand what i was saying about the thing for boost i only tested the replacement with function coming from there i didnt include it in the build. Atlcoll and atlbase are coming from vs studio installation

I have VS 2008 Express installed with all options Altcoll and altbase do not come with the installation. I believe they stopped packaging it after VS2003. Which is why I asked my orignal qustion in regards to making it 2008 compatible.


- Logandros - 2010-01-03

tiben20 Wrote:You didnt really understand what i was saying about the thing for boost i only tested the replacement with function coming from there i didnt include it in the build. Atlcoll and atlbase are coming from vs studio installation

Just an FYI

http://social.msdn.microsoft.com/forums/en-US/Vsexpressvc/thread/9f614707-f5be-47da-a35d-7c0561169691/

Quote:ATL is not licensed for use with VC++ 2005/2008 Express Editions and it is not included in the installation.