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)



- sonic00 - 2010-08-05

I am really sure I did that ...

In Visual C++ 2008 Express -> "File" -> "Open" -> "Projekt" (XBMC for Windows.sln)

Than "Build" -> "Build Solution" (Release DirectX) ...

I also tried the BuildSetup.bat (Win32BuildSetup), but I get the same fatal error ...

Whatever ... I will wait for the next official release from you ...


- zilexa - 2010-08-05

Seen lots of posts here last few months of ppl having trouble building there own. Waiting for the official Smile


- robinsj - 2010-08-05

Yeah.. i was having trouble with that libsubs error.... I couldn't really tell you how I got it to work, I went back several revisions, like 30900... Then just built that one with the dos command, then went a few revisions higher and built that one, and so on and so forth... Hit a few bugs along the way with having to download dependencies and such, but eventually got it to build the latest....


- tiben20 - 2010-08-06

sonic00 Wrote:I am really sure I did that ...

In Visual C++ 2008 Express -> "File" -> "Open" -> "Projekt" (XBMC for Windows.sln)

Than "Build" -> "Build Solution" (Release DirectX) ...

I also tried the BuildSetup.bat (Win32BuildSetup), but I get the same fatal error ...

Whatever ... I will wait for the next official release from you ...
update svn and try again i did a full checkout and find out what was the problem. It should be fixed for both release with vs2008
(***rev 32520)


- tiben20 - 2010-08-06

oops going to be 32521. it was the old project dependencies that wasn't removed in release build.
If there any other problem with compile just post the compile log like ill see what i can do.


- tiben20 - 2010-08-06

Lol except the bug with fast forward after seek the demuxer can get a high fps Tongue
Image


- sonic00 - 2010-08-06

tiben20 Wrote:oops going to be 32521. it was the old project dependencies that wasn't removed in release build.
If there any other problem with compile just post the compile log like ill see what i can do.
Thanks for your help.

The libsubs.lib fatal error seems to be fixed.

But there are still problems ...

http://pastebin.com/9iL8ruH7

Code:
LINK : fatal error LNK1181: cannot open input file '.\libs\subtitles\release unicode\subtitlesu.lib'



- blinkseb - 2010-08-06

sonic00 Wrote:Thanks for your help.

The libsubs.lib fatal error seems to be fixed.

But there are still problems ...

http://pastebin.com/9iL8ruH7

Code:
LINK : fatal error LNK1181: cannot open input file '.\libs\subtitles\release unicode\subtitlesu.lib'

Please check if libsubs_dll is built (post the buildlog.html localted in objs/libsubs_dll/release/). If the buildlog is missing, try to build the dll directly in visual studio.

Check also subpic, subtitles, dsutil & libssf.


- tiben20 - 2010-08-06

sonic00 Wrote:Thanks for your help.

The libsubs.lib fatal error seems to be fixed.

But there are still problems ...

http://pastebin.com/9iL8ruH7

Code:
LINK : fatal error LNK1181: cannot open input file '.\libs\subtitles\release unicode\subtitlesu.lib'
did you at least try to build Debug (DirectX) Version.


- nd66 - 2010-08-06

hi there,

same problem here. subtitlesdu.lib throws an error

here's the solo build of libsubs_dll
Code:
1>------ Build started: Project: subtitles, Configuration: Debug Unicode Win32 ------
1>Compiling...
1>SubtitleInputPin.cpp
1>c:\coding\xbmcdsplayer\xbmc\cores\dsplayer\subtitles\subtitles\subtitleinputpin.cpp(142) : error C2065: 'MEDIASUBTYPE_DVB_SUBTITLES' : undeclared identifier
1>c:\coding\xbmcdsplayer\xbmc\cores\dsplayer\subtitles\subtitles\subtitleinputpin.cpp(411) : error C2065: 'MEDIASUBTYPE_DVB_SUBTITLES' : undeclared identifier
1>Build log was saved at "file://C:\Coding\xbmcdsplayer\project\VS2008Express\objs\subtitles\Debug Unicode\BuildLog.htm"
1>subtitles - 2 error(s), 0 warning(s)
2>------ Build started: Project: libsubs_dll, Configuration: Debug Win32 ------
2>Linking...
2>LINK : fatal error LNK1104: cannot open file '..\..\..\..\..\project\vs2008express\libs\subtitles\debug unicode\subtitlesdu.lib'
2>Build log was saved at "[url=http://pastebin.com/FYUuc5Jp]file://C:\Coding\xbmcdsplayer\project\VS2008Express\objs\libsubs_dll\Debug\BuildLog.htm[/url]"
2>libsubs_dll - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 2 failed, 6 up-to-date, 0 skipped ==========

here's the solo build of subtitles
Code:
1>------ Build started: Project: subtitles, Configuration: Debug Unicode Win32 ------
1>Compiling...
1>SubtitleInputPin.cpp
1>c:\coding\xbmcdsplayer\xbmc\cores\dsplayer\subtitles\subtitles\subtitleinputpin.cpp(142) : [b]error C2065: 'MEDIASUBTYPE_DVB_SUBTITLES' : undeclared identifier[/b]
1>c:\coding\xbmcdsplayer\xbmc\cores\dsplayer\subtitles\subtitles\subtitleinputpin.cpp(411) : [b]error C2065: 'MEDIASUBTYPE_DVB_SUBTITLES' : undeclared identifier[/b]
1>Build log was saved at "file://C:\Coding\xbmcdsplayer\project\VS2008Express\objs\subtitles\Debug Unicode\BuildLog.htm"
1>subtitles - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

it seems to be pointing to this file ".\project\vs2008express\libs\subtitles\debug unicode\subtitlesdu.lib"-- I'm not sure why but the subfolder "subtitles" is completely absent from my libs directory

here's a pastebin of my libsubs_dll buildlog


- tiben20 - 2010-08-06

nd66 Wrote:hi there,

same problem here. subtitlesdu.lib throws an error

here's the solo build of libsubs_dll
Code:
1>------ Build started: Project: subtitles, Configuration: Debug Unicode Win32 ------
1>Compiling...
1>SubtitleInputPin.cpp
1>c:\coding\xbmcdsplayer\xbmc\cores\dsplayer\subtitles\subtitles\subtitleinputpin.cpp(142) : error C2065: 'MEDIASUBTYPE_DVB_SUBTITLES' : undeclared identifier
1>c:\coding\xbmcdsplayer\xbmc\cores\dsplayer\subtitles\subtitles\subtitleinputpin.cpp(411) : error C2065: 'MEDIASUBTYPE_DVB_SUBTITLES' : undeclared identifier
1>Build log was saved at "file://C:\Coding\xbmcdsplayer\project\VS2008Express\objs\subtitles\Debug Unicode\BuildLog.htm"
1>subtitles - 2 error(s), 0 warning(s)
2>------ Build started: Project: libsubs_dll, Configuration: Debug Win32 ------
2>Linking...
2>LINK : fatal error LNK1104: cannot open file '..\..\..\..\..\project\vs2008express\libs\subtitles\debug unicode\subtitlesdu.lib'
2>Build log was saved at "[url=http://pastebin.com/FYUuc5Jp]file://C:\Coding\xbmcdsplayer\project\VS2008Express\objs\libsubs_dll\Debug\BuildLog.htm[/url]"
2>libsubs_dll - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 2 failed, 6 up-to-date, 0 skipped ==========

here's the solo build of subtitles
Code:
1>------ Build started: Project: subtitles, Configuration: Debug Unicode Win32 ------
1>Compiling...
1>SubtitleInputPin.cpp
1>c:\coding\xbmcdsplayer\xbmc\cores\dsplayer\subtitles\subtitles\subtitleinputpin.cpp(142) : [b]error C2065: 'MEDIASUBTYPE_DVB_SUBTITLES' : undeclared identifier[/b]
1>c:\coding\xbmcdsplayer\xbmc\cores\dsplayer\subtitles\subtitles\subtitleinputpin.cpp(411) : [b]error C2065: 'MEDIASUBTYPE_DVB_SUBTITLES' : undeclared identifier[/b]
1>Build log was saved at "file://C:\Coding\xbmcdsplayer\project\VS2008Express\objs\subtitles\Debug Unicode\BuildLog.htm"
1>subtitles - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

it seems to be pointing to this file ".\project\vs2008express\libs\subtitles\debug unicode\subtitlesdu.lib"-- I'm not sure why but the subfolder "subtitles" is completely absent from my libs directory

here's a pastebin of my libsubs_dll buildlog
OH THAT ERROR this is stupid its currently the windows sdk which only included the MEDIASUBTYPE_DVB_SUBTITLES in the new sdk. I dont remember if its from 6.0(vista) or 7.0(win 7) Ill see if its possible to get the sdk version from the headers and fix this compile problem without having to install a newer sdk


- tiben20 - 2010-08-06

new demuxer with new video decoder reading a h264 mkv.
Fps and cpu usage are really promising
Image


- blinkseb - 2010-08-06

nd66 Wrote:hi there,

same problem here. subtitlesdu.lib throws an error

here's the solo build of libsubs_dll
Code:
1>------ Build started: Project: subtitles, Configuration: Debug Unicode Win32 ------
1>Compiling...
1>SubtitleInputPin.cpp
1>c:\coding\xbmcdsplayer\xbmc\cores\dsplayer\subtitles\subtitles\subtitleinputpin.cpp(142) : error C2065: 'MEDIASUBTYPE_DVB_SUBTITLES' : undeclared identifier
1>c:\coding\xbmcdsplayer\xbmc\cores\dsplayer\subtitles\subtitles\subtitleinputpin.cpp(411) : error C2065: 'MEDIASUBTYPE_DVB_SUBTITLES' : undeclared identifier
1>Build log was saved at "file://C:\Coding\xbmcdsplayer\project\VS2008Express\objs\subtitles\Debug Unicode\BuildLog.htm"
1>subtitles - 2 error(s), 0 warning(s)
2>------ Build started: Project: libsubs_dll, Configuration: Debug Win32 ------
2>Linking...
2>LINK : fatal error LNK1104: cannot open file '..\..\..\..\..\project\vs2008express\libs\subtitles\debug unicode\subtitlesdu.lib'
2>Build log was saved at "[url=http://pastebin.com/FYUuc5Jp]file://C:\Coding\xbmcdsplayer\project\VS2008Express\objs\libsubs_dll\Debug\BuildLog.htm[/url]"
2>libsubs_dll - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 2 failed, 6 up-to-date, 0 skipped ==========

here's the solo build of subtitles
Code:
1>------ Build started: Project: subtitles, Configuration: Debug Unicode Win32 ------
1>Compiling...
1>SubtitleInputPin.cpp
1>c:\coding\xbmcdsplayer\xbmc\cores\dsplayer\subtitles\subtitles\subtitleinputpin.cpp(142) : [b]error C2065: 'MEDIASUBTYPE_DVB_SUBTITLES' : undeclared identifier[/b]
1>c:\coding\xbmcdsplayer\xbmc\cores\dsplayer\subtitles\subtitles\subtitleinputpin.cpp(411) : [b]error C2065: 'MEDIASUBTYPE_DVB_SUBTITLES' : undeclared identifier[/b]
1>Build log was saved at "file://C:\Coding\xbmcdsplayer\project\VS2008Express\objs\subtitles\Debug Unicode\BuildLog.htm"
1>subtitles - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

it seems to be pointing to this file ".\project\vs2008express\libs\subtitles\debug unicode\subtitlesdu.lib"-- I'm not sure why but the subfolder "subtitles" is completely absent from my libs directory

here's a pastebin of my libsubs_dll buildlog

Like tiben said, you have a old sdk. Just install the latest (http://www.microsoft.com/downloads/details.aspx?FamilyID=6b6c21d2-2006-4afa-9702-529fa782d63b&displaylang=en) to solve the issue.


- tiben20 - 2010-08-07

blinkseb Wrote:Like tiben said, you have a old sdk. Just install the latest (http://www.microsoft.com/downloads/details.aspx?FamilyID=6b6c21d2-2006-4afa-9702-529fa782d63b&displaylang=en) to solve the issue.
i did look at the difference from the 2 sdk version and this might work
in the sdk where you dont have MEDIASUBTYPE_DVB_SUBTITLES
_WIN32_WINNT_VISTA is not defined
so adding something like this should fix the version problem
Code:
#ifndef _WIN32_WINNT_VISTA
OUR_GUID_ENTRY(MEDIASUBTYPE_DVB_SUBTITLES,
0x34FFCBC3, 0xD5B3, 0x4171, 0x90, 0x02, 0xD4, 0xC6, 0x03, 0x01, 0x69, 0x7F)
#endif



- tiben20 - 2010-08-07

Just added option in the guy to use the internal filters from the xbmc gui at rev 32557