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)



- tiben20 - 2010-01-09

sergiocos Wrote:If any of you (more experimented) members achieve any success compiling the new builds, maybe you care to share the build(s) with us. Especially when dsplayer works flawlessly in your compiled build. Thanks!
There no player side improvements yet but if i did convert something not correctly new bug would appear.

Quote:Edit: In retrospect, it probably should have dawned on me that perhaps using a 2004 SDK for a technology (EVR/DXVA2) that probably didn't even exist in 2004 may have been a bad choice. I am an idiot. Mods, feel free to delete the last few posts of mine once people have had the chance to see me admitting that I'm a dolt.
This is not actually the reason why your getting the dxerr.h error you could just rename it to the name you have in the dx sdk directory until august 2009 it was dxerr9.h For the evr/dxva2 headers they are not coming from dx sdk they are a part of the windows sdk like every microsoft foundation headers which is the new directshow technology which is also a part of the windows sdk. Directshow as been moved around 2004 to the platform sdk because media players are developed more often for windows than games

A600 Wrote:I compiled latest revision with VC Express and, so far, is working flawlessly Smile
I know its compiling without any problem, but the player start without giving any error?


- carmenm - 2010-01-09

Compiled your latest version here. Now when starting a file, it seems to start but then pause at 00:00 and stays that way. Right now i dont see any error in the debug output
here are the last debug input
Code:
CApplication::OnPlayBackStarted - Playback has started
CGUIInfoManager::SetCurrentMovie(D:\Martin\videos\BURN-E (2008)\BURN-E.mkv)
CVideoDatabase::GetMovieId (D:\Martin\videos\BURN-E (2008)\BURN-E.mkv), query = select idMovie from movie where idFile=1
CVideoDatabase::GetEpisodeId (D:\Martin\videos\BURN-E (2008)\BURN-E.mkv), query = select idEpisode from episode where idFile=1
CVideoDatabase::GetMusicVideoId (D:\Martin\videos\BURN-E (2008)\BURN-E.mkv), query = select idMVideo from musicvideo where idFile=1



- carmenm - 2010-01-09

@tiben20: i am not sure i am seeing things right as i am just starting with your code.
When you updateCurrentVideoInfo, i am not sure m_VideoInfo is correctly filed. I mean get nothing for video codec, audio codec, and dxva_info. Is that normal?
Yet allother fields are correct


- A600 - 2010-01-09

tiben20 Wrote:I know its compiling without any problem, but the player start without giving any error?

No errors here and all mkvs I tried worked fine.


- xbs08 - 2010-01-09

A600 Wrote:No errors here and all mkvs I tried worked fine.

Are .mp4 and .mov working too? W7 or XP?


- fincheresque - 2010-01-09

Code:
LINK : fatal error LNK1181: cannot open input file 'strmbase.lib'
OK, what am I doing wrong. Sigh. Sad
Edit: This is the only error during compile after the installation of the November 2008 DirectX SDK.


- A600 - 2010-01-09

xbs08 Wrote:Are .mp4 and .mov working too? W7 or XP?

XP. I tried one .mp4 and one .mov and both worked.


- A600 - 2010-01-09

nathanjones Wrote:
Code:
LINK : fatal error LNK1181: cannot open input file 'strmbase.lib'
OK, what am I doing wrong. Sigh. Sad

Copy strmbase.lib from the xbmc\cores\DSPlayer\Libs\ folder to your Microsoft Visual Studio 9.0\VC\lib\ folder or edit the path to the lib in Linker/Input.


- fincheresque - 2010-01-09

Gah, you know I searched all over for those, never even thought of checking the source-tree. Thanks again, as always, your help is appreciated. Re-trying now...


- tiben20 - 2010-01-10

A600 Wrote:Copy strmbase.lib from the xbmc\cores\DSPlayer\Libs\ folder to your Microsoft Visual Studio 9.0\VC\lib\ folder or edit the path to the lib in Linker/Input.
Its not the good way to fix it on the last merge the release xbmc directx removed dsplayer\libs from additionnal lib folder im fixing it right now on svn
by the way nathan if you would have tried the debug version before the release it would have worked on the first try


- zack4805 - 2010-01-10

tiben20 Wrote:I know its compiling without any problem, but the player start without giving any error?

Windows 7 Ultimate 64-bit (7300 gt)-- Not working (tried avi, h264, m2ts)
Windows 2008 R2 64-bit (9500 gt) -- Not working (tried avi, h264)

Let me know what info you might want. There seems to be problems with XBMC itself as well as if I try to change video options (vsync, fullscreen window) it hangs up.

zack


Code:
18:30:55 T:4532 M:989097984  NOTICE: Starting XBMC, Platform: Windows  build 7600.  Built on Jan  9 2010 (SVN:26575, compiler 1500)

18:31:46 T:4532 M:882364416  NOTICE: Sucess to create DXVA2CreateDirect3DDeviceManager9
18:31:47 T:4532 M:880324608   DEBUG: CEVRAllocatorPresenter::InitServicePointers getting mixer, render eventsink and renderclock
18:31:47 T:4532 M:880017408   DEBUG: MFVP_MESSAGE_INVALIDATEMEDIATYPE
18:31:47 T:4532 M:880001024  NOTICE: CEVRAllocatorPresenter::CreateOptimalVideoType Setting to SD with MF_MT_YUV_MATRIX to MFVideoTransferMatrix_BT601
18:31:47 T:4532 M:880001024   DEBUG: CEvrScheduler::Flush No scheduler thread!
18:31:47 T:4532 M:877420544   DEBUG: CDSGraph::SetFile Timestamp before loading video info with mediainfo.dll 112976423
18:31:47 T:4532 M:877416448   DEBUG: CDSGraph::SetFile Timestamp after loading video info with mediainfo.dll  112976424
18:31:47 T:2212 M:877371392   DEBUG: thread start, auto delete: 0
18:31:47 T:4532 M:877359104   DEBUG: CGUIAudioManager::DeInitialize
18:31:47 T:4532 M:877355008   DEBUG: CApplication::OnPlayBackStarted - Playback has started
18:31:47 T:4532 M:873259008   DEBUG: CGUIInfoManager::SetCurrentMovie(smb://totem/media/movies/Babylon A.D. (2008).avi)
18:32:15 T:4808 M:898605056   DEBUG: Thread 4808 terminating (autodelete)
18:32:15 T:4740 M:898605056   DEBUG: Thread 4740 terminating (autodelete)
18:32:15 T:5068 M:898650112   DEBUG: Thread 5068 terminating (autodelete)
18:32:18 T:4532 M:899514368   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmc/system/ImageLib.dll)
18:32:18 T:4532 M:899514368   DEBUG: Win32DllLoader::Unload ImageLib.dll
18:32:27 T:4532 M:900104192   DEBUG: WinEventsWin32.cpp: APPCOMMAND 13
18:32:27 T:4532 M:900091904  NOTICE: CDSPlayer: finished waiting
18:32:27 T:4532 M:900091904   DEBUG: CApplication::OnPlayBackEnded - Playback has finished
18:32:27 T:4532 M:900091904   DEBUG: SDLKeyboard: scancode: 0, sym: 0, unicode: 0, modifier: 0
18:32:27 T:4532 M:900091904  NOTICE: DSPlayer: waiting for threads to exit



- Casanova_32210 - 2010-01-10

can somone please tell me where to download the latest build for a system running windows 7 64-bit


- jfgi - 2010-01-10

I'm getting no video or audio on Win7 x64. rev 26487.

http://pastebin.com/f500355ce

* Edit *
Just tried rev26269 and that's working.


- -Sumo- - 2010-01-10

Casanova_32210 Wrote:can somone please tell me where to download the latest build for a system running windows 7 64-bit

Try 25915 http://www.multiupload.com/NWJ9EHSVO3


- webdiddy - 2010-01-10

can someone please tell me where to download the latest build for a system running windows 7 32-bit