Kodi Community Forum
DSPlayer (DirectShow Player for XBMC) Eden build available - 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: DSPlayer (DirectShow Player for XBMC) Eden build available (/showthread.php?tid=106629)



- azaze1 - 2012-01-11

I can confirm tv shows are no longer marked as watched anymore. I have to manually mark them.


- tiben20 - 2012-01-12

Waven Wrote:I made a build on 2. January where everithing was working. The next build I made on 6. January and there the problem occurred the first time.
don't worry its going to be fixed when i have time.


- fezster - 2012-01-12

liquidskin76 Wrote:Perhaps a bug in the setings menu? I would stick with the video stats (press 'O').

You were absolutely right. Clicking on ffdshow in the settings menu opened the MPC Video Decoder control panel.

Cheers.


- fezster - 2012-01-13

fezster Wrote:Some more info on this - if you pause your playing video before stopping it, gui sounds return to normal. Also, if you go to options and change gui sounds to be off and on again, they come back to normal.

This tells me that after a film is stopped, the audio is not being released by the directshow player until after xbmc has tried to reinitialise it (?). If we could add a small delay after a video is stopped, that would fix it.

Thought I'd have a stab at this, not sure if it's the 'right' way, but it seems the gui sounds are not enabled when stopping DSPlayer (though they are when stopping DVDPlayer). The fix is as follows:

Quote:void CApplication::StopPlaying()
{
int iWin = g_windowManager.GetActiveWindow();
if ( IsPlaying() )
{
#ifdef HAS_KARAOKE
if( m_pKaraokeMgr )
m_pKaraokeMgr->Stop();
#endif

if (m_pPlayer)
m_pPlayer->CloseFile();

// turn off visualisation window when stopping
if (iWin == WINDOW_VISUALISATION
|| iWin == WINDOW_FULLSCREEN_VIDEO)
g_windowManager.PreviousWindow();

g_partyModeManager.Disable();

g_audioManager.Enable(true);
}
}



- rickardkk - 2012-01-13

Found two bugs when skipping between chapters.
Confirmed on both the 20120101 and 20120105 builds.

While video is playing:
Press up will skip to the next chapter
Press down will skip to previous chapter

Works as it should

While video is paused:
Press up will skip to the current chapter and never the next chapter
Press down will skip two chapters down

Broken


Using DVDPlayer chapter skip works as it should even while paused.

I also had a really old build of DSPlayer before where you could chapter skip while paused


- Balthazar2k4 - 2012-01-14

Is anyone having issues with audio loss when resuming a paused movie? I am bitstreaming and running at 24p with smoothvideo enabled. I have to restart the movie to fix the audio. Also, why does resume not work?

Update: Installed ReClock and that seemed to fix my lack of audio on resume.


- Atlas100 - 2012-01-14

Hi there,

I hope you can help me - tried DSPlayer yesterday for the first time and run directly into problems. I used the guide posted on page 1.

Problem is that the DSPlayer wont play anything! If I press to view the film the buffering comes up for one sec and then exits. Nothing happens.

I want to use the dsplayer mainly for bluray (folder structure) and mkv playback including HD Audio via the LAV Filters.

Could you help me here with a setup?

Here is one log entry when trying to playback a bluray:

T:10996 DEBUG: CDVDInputStreamBluray - Opening file Z:\Auftrag Rache/BDMV/index.bdmv... (0DE91808)
21:16:02 T:10996 DEBUG: CDVDInputStreamBluray - Closed file (0DE91808)
21:16:02 T:10996 ERROR: CDVDInputStreamBluray::Open - unsupported bluray file selected Z:\Auftrag Rache
21:16:02 T:10996 ERROR: InputStream: Error opening, Z:\Auftrag Rache\BDMV\MovieObject.bdmv
21:16:02 T:11052 DEBUG: SDLKeyboard: scancode: 48, sym: 0111, unicode: 0000, modifier: 0
21:16:02 T:11052 DEBUG: CApplication::OnKey: up (f080) pressed, action is Up
21:16:03 T:11052 DEBUG: SDLKeyboard: scancode: 48, sym: 0111, unicode: 0000, modifier: 0
21:16:03 T:11052 DEBUG: CApplication::OnKey: up (f080) pressed, action is Up
21:16:04 T:11052 DEBUG: SDLKeyboard: scancode: 1c, sym: 000d, unicode: 000d, modifier: 0
21:16:04 T:11052 DEBUG: CApplication::OnKey: return (f00d) pressed, action is Select
21:16:04 T:11052 DEBUG: CPlayerCoreFactory::GetPlayers(Z:\Auftrag Rache\BDMV\index.bdmv)
21:16:04 T:11052 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
21:16:04 T:11052 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
21:16:04 T:11052 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
21:16:04 T:11052 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/rtmp/mms/udp
21:16:04 T:11052 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
21:16:04 T:11052 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
21:16:04 T:11052 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
21:16:04 T:11052 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
21:16:04 T:11052 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdfile
21:16:04 T:11052 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
21:16:04 T:11052 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
21:16:04 T:11052 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
21:16:04 T:11052 DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
21:16:04 T:11052 DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (4)
21:16:04 T:11052 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
21:16:04 T:11052 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
21:16:04 T:11052 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
21:16:04 T:11052 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DSPlayer (4)
21:16:04 T:11052 DEBUG: CPlayerCoreFactory::GetPlayers: added 2 players
21:16:04 T:6380 DEBUG: Thread CDSPlayer start, auto delete: 0
21:16:04 T:6380 NOTICE: Loading filter core factory settings from special://masterprofile/dsplayer/filtersconfig.xml (filters configuration).
21:16:04 T:6380 NOTICE: special://masterprofile/dsplayer/filtersconfig.xml does not exist. Skipping.
21:16:04 T:6380 NOTICE: Loading filter core factory settings from special://xbmc/system/players/dsplayer/filtersconfig.xml (filters configuration).
21:16:04 T:6380 NOTICE: Loading filter core factory settings from special://masterprofile/dsplayer/mediasconfig.xml (medias configuration).
21:16:04 T:6380 NOTICE: special://masterprofile/dsplayer/mediasconfig.xml does not exist. Skipping.
21:16:04 T:6380 NOTICE: Loading filter core factory settings from special://xbmc/system/players/dsplayer/mediasconfig.xml (medias configuration).
21:16:04 T:6380 NOTICE: Successfully loaded rules
21:16:04 T:6380 DEBUG: CDSGraph::SetFile Successfully added XBMC to the Running Object Table
21:16:04 T:6380 DEBUG: Found audio renderer device "AMD HDMI Output (AMD High Defin" (guid: {E30629D1-27E5-11CE-875D-00608CB78066})
21:16:04 T:6380 DEBUG: Found audio renderer device "Default DirectSound Device" (guid: {79376820-07D0-11CF-A24D-0020AFD79767})
21:16:04 T:6380 DEBUG: Found audio renderer device "Default WaveOut Device" (guid: {E30629D1-27E5-11CE-875D-00608CB78066})
21:16:04 T:6380 DEBUG: Found audio renderer device "DirectSound: AMD HDMI Output (AMD High Definition Audio Device)" (guid: {79376820-07D0-11CF-A24D-0020AFD79767})
21:16:04 T:6380 DEBUG: Found audio renderer device "DirectSound: Realtek Digital Output (Realtek High Definition Audio)" (guid: {79376820-07D0-11CF-A24D-0020AFD79767})
21:16:04 T:6380 DEBUG: Found audio renderer device "Realtek Digital Output (Realtek" (guid: {E30629D1-27E5-11CE-875D-00608CB78066})
21:16:04 T:6380 INFO: CFGLoader::InsertAudioRenderer Loaded audio renderer list. Elapsed time: 16.91ms
21:16:04 T:6380 INFO: CFGLoader::InsertAudioRenderer Loaded audio renderer from registry. Elapsed time: 0.62ms
21:16:04 T:6380 INFO: CFGLoader::InsertAudioRenderer Added audio renderer to the graph. Elapsed time: 0.02ms
21:16:04 T:6380 NOTICE: CFGLoader::InsertAudioRenderer Successfully added "AMD HDMI Output (AMD High Defin" to the graph
21:16:04 T:6380 INFO: CFGLoader::LoadFilterRules Loading audio renderer. Elapsed time: 17.73ms
21:16:04 T:11052 DEBUG: ------ Window Init (DialogBusy.xml) ------
21:16:04 T:6380 DEBUG: CFGFilterVideoRenderer::Create Allocator presenter successfully created
21:16:04 T:6380 DEBUG: CFGLoader::InsertVideoRenderer Allocator presenter successfully added to the graph (Renderer: Enhanced Video Renderer)
21:16:04 T:6380 INFO: CFGLoader::LoadFilterRules Loading video renderer. Elapsed time: 361.88ms
21:16:04 T:6380 DEBUG: CFilterSelectionRule::GetFilters: adding filter: lavsource for rule: un-named
21:16:04 T:6380 INFO: CFGFilterFile::Create Failed to load external filter (clsid:{B98D13E7-55DB-4385-A33D-09FD1BA26338} path:C:\Program Files (x86)\LAV Filters\x86\LAVSplitter.ax). Trying with CoCreateInstance
21:16:04 T:6380 FATAL: CFGFilterFile::Create CoCreateInstance failed!
21:16:04 T:6380 ERROR: CFGLoader::InsertFilter Failed to create filter "lavsource"
21:16:04 T:6380 ERROR: CFGLoader::LoadFilterRules Failed to insert the source filter
21:16:04 T:6380 ERROR: CFGManager::RenderFileXbmc Failed to load filters rules
21:16:04 T:6380 INFO: CDSGraph::SetFile Rendering file. Elapsed time: 385.07ms
21:16:04 T:6380 INFO: CDSPlayer::OnStartup Loading file. Elapsed time: 402.52ms
21:16:04 T:6380 DEBUG: Thread CDSPlayer 6380 terminating
21:16:04 T:11052 DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
21:16:04 T:11052 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop
21:16:04 T:11052 ERROR: Playlist Player: skipping unplayable item: 0, path [Z:\Auftrag Rache\BDMV\index.bdmv]
21:16:04 T:11052 DEBUG: Playlist Player: one or more items failed to play... aborting playback
21:16:04 T:11052 INFO: Loading skin file: DialogOK.xml


any idea?


- alexrose1uk - 2012-01-14

There seems to be some sort of wierd glitch where some people's DSPlayer is unable to access the installed LAV Filters, and not entirely sure what causes it (security permissions?), because it's worked perfectly fine on my rig and a few other peoples.

First thing to confirm is that you DID install the x86 variant of LAV, not just x64, using the installer, and to the location suggested in the debug log (and that the file suggested below is installed and present)?
Also, if you uninstall LAV, and then reinstall it giving the installer administration rights does anything change?

If this doesn't work, then try uninstalling LAV completely (again), but this time reinstalling it to somewhere OUTSIDE of the Program Files(x86) subdirectory. A good test example would be C:\LAV Filters.
If you do this, install the LAV x86 filters to the new C:\LAV Filters folder and it still doesn't work, does the debug log recognise the new specified location for the .ax file? (IE something like path:C:\LAV Filters\x86\LAVSplitter.ax)

Hopefully one of these steps will get you up and running! If, however, at this point, it is still not picking up LAV the simplest option would be to revert to the default mediasconfig.xml and filtersconfig, and install FFDShow (which will be used by DSPlayer for audio purposes, video decoding will be done by the included MPCVideoDec).

As it stand, I'm kinda of at a loss to why some machines work fine, and other's don't. There doesn't seem to be a pattern, beyond the DSPlayer install failing to load the LAVfilter from the specified location, but I'm not sure WHY this is happening, my only suspicion being system security disallowing DSPlayer from accessing LAV because it's installed in the Program Files area. My HTPC is actually running off an installation of DSPlayer using the install method and files linked, so they do work for some users. Not sure if Tiben's got any idea as to the cause of this bug!



Edit:
I'm going to install on this PC, as this is a brand new machine I only built 2 weeks ago, and see if I get the error on this one. (If I get the error, I can try and work out the cause!)

Edit2:
Nope, following the guide worked absolutely perfectly.
THE ONLY thing I did, which isn't explicitly stated above, is following LAVs installation, I went to the LAV Audio/Video/Splitter configuration tools in the start menu, opened them, and then closed them (I went to see if there was anything I'd obviously missed I usually change). I didn't actually change anything.

I'm on Win7 x64, but yes, this is a brand new Windows installation, not my HTPC, and it did not have either LAV or XBMC installed prior to me doing the test, and following the guide it works perfectly, no sign of the filter not found error. It's as though the filter is not named as expected, or something is preventing DSPlayer from accessing the file.

See if any of the suggestions above help, if not I can only suggest reverting to FFDShow and MPC-HC. I also tried installing the LAV Filters to C:\LAV Filters, so I know XBMC/DSPlayer does work fine with the files if you install LAV to somewhere else Smile

I would like it if we could work out what causes it, as it'd be a useful footnote to add to the guide for those people it does affect!!


- Atlas100 - 2012-01-14

@axelrose1uk

THANX very much for the detailled answer - I think I got a hint out of it.
It could be the security parameters! Whenever I want to change sth. (copy, rename, etc.) in the progam files area win7 wants me to accept it via admin dialogue.
I'll try to correct the secuity settings and/or install it to another folder.


Could you do me another favor an tell me how to add bluray folder playback?
At the moment I have only edited the mediasconfig like this:

</rule>
<rule filetypes="bdmv">
<source filter="lavsource" />
<splitter filter="lavsplitter" />
<video filter="lavvideo" />
<audio filter="lavaudio" />


is this correct?


I'll come back to you tomorrow!

Thx

Atlas


"i" Info key not working anymore in Movies Library - therealjoeblow - 2012-01-15

All of a sudden the "i" key doesn't bring up the item's info screen anymore but ONLY in the Movies Library view, it works fine in TV Shows and Music Videos. I'm sure it was working last week, and I haven't changed anything, but even after several reboots it still doesn't do anything.

Anyone else see this?

Cheers
The REAL Joe


- robl45 - 2012-01-15

i asked this before but never got an answer, when running the dsplayer, how do you know whats running? like if i set it to use reclock? how do i know what reclock is doing since i can't get to the taskbar?


- ashlar - 2012-01-15

Rob, I did reply to you: http://forum.xbmc.org/showpost.php?p=979599&postcount=932


- fezster - 2012-01-15

Balthazar2k4 Wrote:Also, why does resume not work?

I tracked this down to DSPlayer.cpp. Resume works fine using DVDPlayer.

Quote:void CDSPlayer::OnExit()
{
if (PlayerState == DSPLAYER_LOADING)
PlayerState = DSPLAYER_ERROR;

// In case of, set the ready event
// Prevent a dead loop
m_hReadyEvent.Set();

if (m_bFileReachedEnd)
m_callback.OnPlayBackEnded();


m_callback.OnPlayBackStopped();

m_bStop = true;
CoUninitialize();
}


Adding this line saves the last played location using DSPlayer.


- sloth - 2012-01-15

Ok, I have a strange problem: most of my files (x264 mkv) work without any issue. I started using makemkv recently to rip all of my Blu-Rays and DVDs and some of them (both Blu-Ray and DVD rips) won't play with XBMC Dsplayer. Even weirder after a file failed to play none of the other files that did play fine would play until I restart XBMC. I am using lavsplitter, lavaudiodecoder and ffdshow. All files play fine with MPC-HC.
Below is the error-reporting part of the log. Any suggestions would be really welcome.

Jonas

17:45:47 T:2112 NOTICE: Successfully loaded rules
17:45:47 T:2112 NOTICE: CFGLoader::InsertAudioRenderer Successfully added "DirectSound: AMD HDMI Output (AMD High Definition Audio Device)" to the graph
17:45:47 T:2112 NOTICE: CFGLoader::InsertFilter Successfully added "LAV Source" to the graph
17:45:47 T:2112 NOTICE: CFGLoader::InsertSourceFilter Successfully loaded file in the splitter/source
17:45:47 T:2112 NOTICE: CStreamsManager::LoadIAMStreamSelectStreamsInternal Audio stream found : English (United States)
17:45:47 T:2112 NOTICE: Previous line repeats 1 times.
17:45:47 T:2112 NOTICE: CStreamsManager::LoadIAMStreamSelectStreamsInternal Subtitle stream found : German (Germany)
17:45:47 T:2112 NOTICE: CStreamsManager::LoadIAMStreamSelectStreamsInternal Subtitle stream found : English (United States) (Forced Subtitles (auto))
17:45:47 T:2112 NOTICE: CFGLoader::InsertFilter Successfully added "ffdshow Video Decoder" to the graph
17:45:47 T:2112 NOTICE: CFGLoader::InsertFilter Successfully added "LAVShow audio decoder" to the graph
17:45:48 T:2112 ERROR: CFGManager::RecoverFromGraphError Audio / Video error
Error in the audio rendering chain.
Ensure that the audio/video stream is supported by your selected decoder and ensure that the decoder is properly configured.
17:45:48 T:4068 ERROR: Playlist Player: skipping unplayable item: 0, path [smb://SERVER/Data/Videos/Movies/Agora (2010)/Agora.2010.mkv]
17:45:48 T:4068 NOTICE: CDSGraph::UnloadGraph Successfully removed "ffdshow Video Decoder" from the graph
17:45:48 T:4068 NOTICE: CDSGraph::UnloadGraph Successfully removed "XBMC Null Renderer" from the graph
17:45:48 T:4068 NOTICE: CDSGraph::UnloadGraph Successfully removed "Xbmc EVR" from the graph
17:45:48 T:4068 NOTICE: CDSGraph::UnloadGraph Successfully removed "DirectSound: AMD HDMI Output (AMD High Definition Audio Device)" from the graph
17:45:48 T:4068 NOTICE: CDSGraph::UnloadGraph Successfully removed "XBMC Subtitles Pass Thru" from the graph
17:45:48 T:4068 NOTICE: CDSGraph::UnloadGraph Successfully removed "LAVShow audio decoder" from the graph
17:45:48 T:4068 NOTICE: CDSGraph::UnloadGraph Successfully removed "LAV Source" from the graph
17:45:48 T:4068 NOTICE: CDSPlayer::~CDSPlayer DSPlayer is now closed


- Yappa - 2012-01-15

The resume function seems work fine on my setup.