Kodi DSPlayer – DirectShow Player for Windows

  Thread Rating:
  • 37 Vote(s) - 4.51 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
SkankHunt Offline
Junior Member
Posts: 2
Joined: Sep 2017
Reputation: 0
Post: #5056
Having the same issues relating to the playback of 3D MVC content, seems to be playing just the top left hand corner. Plays flawlessly when using MPC-HC/BE as a launched external player but obviously it would be preferential to have DSPlayer playing it back. I've noticed this issue has been mentioned in various places around the internet, though I've yet to find a solution.
find quote
lexiconman Offline
Junior Member
Posts: 19
Joined: Aug 2017
Reputation: 0
Post: #5057
To (possibly) help troubleshoot, the issue seems to be that DSPlayer isn't engaging Fullscreen Exclusive mode for 3D content. Here are the interactions between screen resolutions:

Desktop/Kodi Resolution: 2160p
2D 1080p content - Desktop res stays 2160p, engages FSE D3D11, scales content to 2160p. Looks great.
3D - Desktop res auto switches to 1080p FP, plays D3D11 windowed mode, regardless of setting configuration, scales content to 2160, filling the 1080p screen with just the top left of the movie.

Desktop/Kodi Resolution: 1080p
2D 1080p content - Desktop switches to 2160p, D3D11 windowed mode, movie stays (i.e., doesn't scale) 1080p, and only fills up the top left portion of the screen. Looks like a picture in picture.
3D - Desktop stays 1080p (but activates 3d settings), movie plays in D3D11 windowed, movie isn't scaled so would look fine, but usually causes Kodi to crash after a little while.

I'm on Windows 8.1, GTX 1070 (having downgraded from Windows 10 on Madshi's recommendation).
(This post was last modified: 2017-09-11 22:55 by lexiconman.)
find quote
SkankHunt Offline
Junior Member
Posts: 2
Joined: Sep 2017
Reputation: 0
Post: #5058
(2017-09-11 16:13)lexiconman Wrote:  To (possibly) help troubleshoot, the issue seems to be that DSPlayer isn't engaging Fullscreen Exclusive mode for 3D content. Here are the interactions between screen resolutions:

Desktop/Kodi Resolution: 2160p
2D 1080p content - Desktop res stays 2160p, engages FSE D3D11, scales content to 2160p. Looks great.
3D - Desktop res auto switches to 1080p FP, plays D3D11 windowed mode, regardless of setting configuration, scales content to 2160, filling the 1080p screen with just the top left of the movie.

Desktop/Kodi Resolution: 1080p
2D 1080p content - Desktop switches to 2160p, D3D11 windowed mode, movie stays (i.e., doesn't scale) 1080p, and only fills up the top left portion of the screen. Looks like a picture in picture.
3D - Desktop stays 1080p (but activates 3d settings), movie plays in D3D11 windowed, movie isn't scaled so would look fine, but usually causes Kodi to crash after a little while.

I'm on Windows 8.1, GTX 1070 (having downgraded from Windows 10 on Madshi's recommendation).

Yes I'm also driving a 4K 3D enabled panel with a 10 series Nvidia GPU (GTX 1050) HTPC. Downgrading the OS seems like a lot of effort though, and is hardly an ideal solution.
(This post was last modified: 2017-09-11 23:42 by SkankHunt.)
find quote
ashlar Offline
Donor
Posts: 2,794
Joined: Mar 2006
Reputation: 50
Post: #5059
Just discovered that since Windows 8 it's possible to mount as a drive an ISO file. MPC-HC plays back ISO files with no problem. Kodi DSPlayer doesn't. Is there a simple way to achieve this?

Edit: added ISO to the file types and the files are played back but with inconsistent behaviour. Is there a "right" way to achieve this?

For troubleshooting and bug reporting please make sure you read this first.
find quote
lexiconman Offline
Junior Member
Posts: 19
Joined: Aug 2017
Reputation: 0
Post: #5060
(2017-09-11 16:13)lexiconman Wrote:  To (possibly) help troubleshoot, the issue seems to be that DSPlayer isn't engaging Fullscreen Exclusive mode for 3D content. Here are the interactions between screen resolutions:

Desktop/Kodi Resolution: 2160p
2D 1080p content - Desktop res stays 2160p, engages FSE D3D11, scales content to 2160p. Looks great.
3D - Desktop res auto switches to 1080p FP, plays D3D11 windowed mode, regardless of setting configuration, scales content to 2160, filling the 1080p screen with just the top left of the movie.

Desktop/Kodi Resolution: 1080p
2D 1080p content - Desktop switches to 2160p, D3D11 windowed mode, movie stays (i.e., doesn't scale) 1080p, and only fills up the top left portion of the screen. Looks like a picture in picture.
3D - Desktop stays 1080p (but activates 3d settings), movie plays in D3D11 windowed, movie isn't scaled so would look fine, but usually causes Kodi to crash after a little while.

I'm on Windows 8.1, GTX 1070 (having downgraded from Windows 10 on Madshi's recommendation).


More info regarding the above. Madshi seems to agree with my assessment (it's a Kodi bug). Hope this helps.

https://forum.doom9.org/showthread.php?p...ost1818110
find quote
Gotek Offline
Junior Member
Posts: 1
Joined: Sep 2017
Reputation: 0
Post: #5061
Hello guys,

I do not know wether this belongs in this thread or if it is not related to the DSplayer version of Kodi, so excuse myself if I ask. I did a clean installation from anew one day when the library would not update and since then I can not get the audio and subtitle settings while playback to apply to all media through the 'set default for all media' option. It simply does not save. I have set the preferred audio and subtitle language in the player/language settings. I remember having this problem once, earlier but I forgot how I fixed it >.<

As a second query I would like to learn wether it is possible to set audio and subtitle settings individually for shows. I would apply that to different anime with preferred dubs.
find quote
JoshDi Offline
Junior Member
Posts: 32
Joined: Oct 2014
Reputation: 0
Post: #5062
I am having an issue with some of my MKV files with DSPlayer v17.4 32-bit on my Windows 7 64-bit machine. The MKV files play fine with VideoPlayer, but it seems like LAVsplitter is failing with DSPlayer.

This issue is recent with only a few of my MKV files. Other MKV files work without issues. Below are a pastebin of both my Kodi.log and a media info on the MKV file in question. I would appreciate any ideas on how to resolve the problem.

Kodi.log
Code:
00:06:29.303 T:1888   DEBUG: Loading settings for Z:\Videos\TV\Bong Appetit\Season 02\S02E11 - Ganja Game Day - 2017_09_14.mkv
00:06:29.309 T:5608   DEBUG: Thread RefClock start, auto delete: false
00:06:29.310 T:5608   DEBUG: CVideoSyncD3D: Setting up Direct3d
00:06:29.310 T:5608   DEBUG: CVideoReferenceClock: Detected refreshrate: 60.000 hertz
00:06:29.310 T:1888   DEBUG: CDSPlayer::CDSPlayer : Create DSPlayer window - hWnd: 460544
00:06:29.316 T:1888  NOTICE: CDSPlayer::OpenFile - DSPlayer: Opening: Z:\Videos\TV\Bong Appetit\Season 02\S02E11 - Ganja Game Day - 2017_09_14.mkv
00:06:29.317 T:1888   DEBUG: Restored madVR default settings for Z:\Videos\TV\Bong Appetit\Season 02\S02E11 - Ganja Game Day - 2017_09_14.mkv
00:06:29.317 T:1888  NOTICE: CDSPlayer::OpenFileInternal - DSPlayer: Opening: Z:\Videos\TV\Bong Appetit\Season 02\S02E11 - Ganja Game Day - 2017_09_14.mkv
00:06:29.317 T:1888   DEBUG: CRenderDSManager::UpdateDisplayLatency - Latency set to 0 msec
00:06:29.317 T:11632   DEBUG: Thread CDSPlayer thread start, auto delete: false
00:06:29.317 T:11632  NOTICE: CDSPlayer::Process - Creating DS Graph
00:06:29.317 T:5832   DEBUG: Thread CDSGraphThread thread start, auto delete: false
00:06:29.318 T:5832  NOTICE: Loading filter core factory settings from special://xbmc/system/players/dsplayer/filtersconfig_internal.xml (filters configuration).
00:06:29.320 T:5832  NOTICE: Loading filter core factory settings from special://masterprofile/dsplayer/filtersconfig.xml (filters configuration).
00:06:29.320 T:5832  NOTICE: special://masterprofile/dsplayer/filtersconfig.xml does not exist. Skipping.
00:06:29.320 T:5832  NOTICE: Loading filter core factory settings from special://xbmc/system/players/dsplayer/filtersconfig.xml (filters configuration).
00:06:29.325 T:5832  NOTICE: Loading filter core factory settings from special://xbmc/system/players/dsplayer/mediasconfig_internal.xml (medias configuration).
00:06:29.325 T:5832  NOTICE: Successfully loaded rules
00:06:29.325 T:5832   DEBUG: CDSGraph::SetFile Successfully added XBMC to the Running Object Table
00:06:29.327 T:5832   DEBUG: Found audio renderer device "6 - DENON-AVR (AMD High Definit" (guid: {E30629D1-27E5-11CE-875D-00608CB78066})
00:06:29.327 T:5832   DEBUG: Found audio renderer device "Sanear Audio Renderer" (guid: {DF557071-C9FD-433A-9627-81E0D3640ED9})
00:06:29.327 T:5832   DEBUG: Found audio renderer device "Default DirectSound Device" (guid: {79376820-07D0-11CF-A24D-0020AFD79767})
00:06:29.327 T:5832   DEBUG: Found audio renderer device "Default WaveOut Device" (guid: {E30629D1-27E5-11CE-875D-00608CB78066})
00:06:29.327 T:5832   DEBUG: Found audio renderer device "DirectSound: 6 - DENON-AVR (AMD High Definition Audio Device)" (guid: {79376820-07D0-11CF-A24D-0020AFD79767})
00:06:29.327 T:5832   DEBUG: Found audio renderer device "DirectSound: fitHeadless4k (Intel(R) Display Audio)" (guid: {79376820-07D0-11CF-A24D-0020AFD79767})
00:06:29.327 T:5832   DEBUG: Found audio renderer device "DirectSound: Realtek Digital Output (Realtek High Definition Audio)" (guid: {79376820-07D0-11CF-A24D-0020AFD79767})
00:06:29.327 T:5832   DEBUG: Found audio renderer device "DirectSound: Realtek Digital Output(Optical) (Realtek High Definition Audio)" (guid: {79376820-07D0-11CF-A24D-0020AFD79767})
00:06:29.327 T:5832   DEBUG: Found audio renderer device "fitHeadless4k (Intel(R) Display" (guid: {E30629D1-27E5-11CE-875D-00608CB78066})
00:06:29.327 T:5832   DEBUG: Found audio renderer device "Realtek Digital Output (Realtek" (guid: {E30629D1-27E5-11CE-875D-00608CB78066})
00:06:29.327 T:5832   DEBUG: Found audio renderer device "Realtek Digital Output(Optical)" (guid: {E30629D1-27E5-11CE-875D-00608CB78066})
00:06:29.327 T:5832    INFO: CFGLoader::InsertAudioRenderer Loaded audio renderer list. Elapsed time: 2.12ms
00:06:29.327 T:5832    INFO: CFGLoader::InsertAudioRenderer Loaded internal sanear audio renderer. Elapsed time: 0.20ms
00:06:29.327 T:5832    INFO: CFGLoader::InsertAudioRenderer Added internal sanear audio renderer to the graph. Elapsed time: 0.00ms
00:06:29.327 T:5832  NOTICE: CFGLoader::InsertAudioRenderer Successfully added internal sanear audio renderer to the graph
00:06:29.327 T:5832    INFO: CFGLoader::LoadFilterRules Loading audio renderer. Elapsed time: 2.38ms
00:06:34.230 T:5832   DEBUG: CFGFilterVideoRenderer::Create Allocator presenter successfully created
00:06:34.230 T:5832   DEBUG: CFGLoader::InsertVideoRenderer Allocator presenter successfully added to the graph (Renderer: )
00:06:34.230 T:5832    INFO: CFGLoader::LoadFilterRules Loading video renderer. Elapsed time: 4902.57ms
00:06:34.230 T:5832   DEBUG: CFilterSelectionRule::GetFilters: adding filter: lavsource_internal for rule: un-named
00:06:34.241 T:5832   DEBUG: CFGFilterFile::Create Successfully loaded external filter (clsid:{B98D13E7-55DB-4385-A33D-09FD1BA26338} path:C:\Program Files (x86)\Kodi\system\players\dsplayer\LAVFilters\LAVSplitter.ax)
00:06:34.252 T:5832  NOTICE: CFGLoader::InsertFilter Successfully added "(i) LAV Splitter Source" to the graph
00:06:34.253 T:5832   ERROR: CFGLoader::InsertSourceFilter Failed to load file in the splitter/source
00:06:34.253 T:5832   ERROR: CFGLoader::LoadFilterRules Failed to insert the source filter
00:06:34.253 T:5832   ERROR: CFGManager::RenderFileXbmc Failed to load filters rules
00:06:34.253 T:5832    INFO: CDSGraph::SetFile Rendering file. Elapsed time: 4927.15ms
00:06:34.253 T:5832    INFO: CDSGraphThread::Process Loading file. Elapsed time: 4934.90ms
00:06:34.253 T:5832  NOTICE: thread end: CDSGraphThread::OnExit()
Link to Full Log

MKV Media Info:
Code:
General
Unique ID                   : 189919362631544955650311349807739263442 (0x8EE123853139F350A8E784571DF759D2)
Complete name               : Z:\Videos\TV\Bong Appetit\Season 02\S02E11 - Ganja Game Day - 2017_09_14.mkv
Format                      : Matroska
Format version              : Version 4 / Version 2
File size                   : 876 MiB
Duration                    : 25 min 55 s
Overall bit rate            : 4 724 kb/s
Movie name                  : Bong Appetit / Bong Appetit
Description                 : Abdullah and the team work with chef Melissa D'Elia to put together an infused meal for former pro athletes who use cannabis in their fitness regimes.   /  / Season 02, Episode 11
Encoded date                : UTC 2017-09-15 03:22:06 / UTC 2017-09-15T03:13:15Z
Writing application         : mkvmerge v8.6.1 ('Flying') 64bit
Writing library             : libebml v1.3.3 + libmatroska v1.4.4 / Lavf57.7.2
Original source form        : TV
Cover                       : Yes
Attachments                 : FrontCover.jpg
ACTOR                       : ;;Abdullah Saeed;
BANNERURL                   : http://www.thetvdb.com/banners/posters/321062-2.jpg
COPYPROTECTED               : False
DATE_BROADCASTED            : 2017-09-14T00:00:00
DATE_RECORDED               : 2017-09-14T22:30:07
DATE_SERIESPREMIERE         : 2016-12-13T19:00:00
EPISODE                     : 11
GENRE                       : Cooking; Series
IMDBID                      : tt6834076
LAW_RATING                  : TV-14
SEASON                      : 2
SUBTITLE                    : Ganja Game Day
TVCHANNEL                   : Viceland HD
TVDBID                      : 321062

Video
ID                          : 1
Format                      : AVC
Format/Info                 : Advanced Video Codec
Format profile              : [email protected]
Format settings             : CABAC / 3 Ref Frames
Format settings, CABAC      : Yes
Format settings, RefFrames  : 3 frames
Format settings, GOP        : M=1, N=25
Codec ID                    : V_MPEG4/ISO/AVC
Duration                    : 25 min 55 s
Bit rate                    : 4 374 kb/s
Width                       : 1 920 pixels
Height                      : 1 080 pixels
Display aspect ratio        : 16:9
Frame rate mode             : Constant
Frame rate                  : 29.970 (30000/1001) FPS
Color space                 : YUV
Chroma subsampling          : 4:2:0
Bit depth                   : 8 bits
Scan type                   : Progressive
Bits/(Pixel*Frame)          : 0.070
Stream size                 : 811 MiB (93%)
Default                     : Yes
Forced                      : No
Color range                 : Limited
Color primaries             : BT.709
Transfer characteristics    : BT.709
Matrix coefficients         : BT.709
Statistics Tags Issue       : mkvmerge v8.6.1 ('Flying') 64bit 2017-09-15 03:22:06 / mkvmerge v8.6.1 ('Flying') 64bit 2017-09-15 03:22:06 / UTC 2017-09-15T03:13:15Z
FromStats_BitRate           : 4474957
FromStats_Duration          : 00:25:51.701000000
FromStats_FrameCount        : 46460
FromStats_StreamSize        : 867974451

Audio
ID                          : 2
Format                      : AC-3
Format/Info                 : Audio Coding 3
Format settings, Endianness : Big
Codec ID                    : A_AC3
Duration                    : 25 min 55 s
Bit rate mode               : Constant
Bit rate                    : 256 kb/s
Channel(s)                  : 6 channels
Channel positions           : Front: L C R, Side: L R, LFE
Sampling rate               : 48.0 kHz
Frame rate                  : 31.250 FPS (1536 SPF)
Bit depth                   : 16 bits
Compression mode            : Lossy
Delay relative to video     : 26 ms
Stream size                 : 47.5 MiB (5%)
Title                       : Surround
Language                    : English
Service kind                : Complete Main
Default                     : Yes
Forced                      : No
Statistics Tags Issue       : mkvmerge v8.6.1 ('Flying') 64bit 2017-09-15 03:22:06 / mkvmerge v8.6.1 ('Flying') 64bit 2017-09-15 03:22:06 / UTC 2017-09-15T03:13:15Z
FromStats_BitRate           : 256000
FromStats_Duration          : 00:25:51.360000000
FromStats_FrameCount        : 48480
FromStats_StreamSize        : 49643520

Text
ID                          : 3
Format                      : UTF-8
Codec ID                    : S_TEXT/UTF8
Codec ID/Info               : UTF-8 Plain Text
Default                     : Yes
Forced                      : No
Statistics Tags Issue       : mkvmerge v8.6.1 ('Flying') 64bit 2017-09-15 03:22:06 / mkvmerge v8.6.1 ('Flying') 64bit 2017-09-15 03:22:06 / UTC 2017-09-15T03:13:15Z
FromStats_BitRate           : 126
FromStats_Duration          : 00:25:21.614000000
FromStats_FrameCount        : 633
FromStats_StreamSize        : 24118

Menu
00:00:00.000                : en:Chapter 1
00:08:00.580                : en:Chapter 2
00:13:04.980                : en:Chapter 3
find quote
lexiconman Offline
Junior Member
Posts: 19
Joined: Aug 2017
Reputation: 0
Post: #5063
Anyone with a keen eye mind giving me some tips (admittedly I'm not a coder, hardly).

Here's my setup (or what I hope to become my setup):

1) DSplayer for default player.

2) Videoplayer to play all .mp4, .mov, .mpeg, and anything that reads PRESHOW in the filename --this is so that my CinemaVision can play my preshow without the awful HDMI sync issues that comes along with my beautiful JVC projector

3) MPC-HC to play all my 3D.mkvs. and all mkvs marked UHD.HDR (these were crashing my DSPlayer)

My code is below. Anyone see any reason why it's not working? With my current code all .mkvs open up in DSPlayer and mp4/movs,etc open up in VideoPlayer. If I take "<rule filetypes="mkv" player="DSPlayer" />" out, then everything opens up in VideoPlayer. So, doesn't seem like my filename rules are working, but I can't seem to figure out what I've done wrong.

Any help?

---------------------------

<playercorefactory>
<players>
<player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\MPC-HC\mpc-hc64.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
<playcountminimumtime>1140</playcountminimumtime>
</player>
</players>
<rules action="prepend">
<rule filetypes="mkv" player="DSPlayer" />
<rule filetypes="mp4" player="VideoPlayer" />
<rule filetypes="mov" player="VideoPlayer" />
<rule filetypes="mpeg" player="VideoPlayer" />
<rule filename=".*PRESHOW.*" player="VideoPlayer" />
<rule filename=".*UHD.HDR.*" player="MPC-HC" />
<rule filename=".*3D.MVC.*" player="MPC-HC" />
</rules>
</playercorefactory>
(This post was last modified: 2017-09-17 05:26 by lexiconman.)
find quote
lexiconman Offline
Junior Member
Posts: 19
Joined: Aug 2017
Reputation: 0
Post: #5064
After doing some more research, I've modified the files as follows. Result is now DSplayer plays for everything. N either VideoPlayer or MPC ever get automatically called.

<playercorefactory>
<players>
<player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\MPC-HC\mpc-hc64.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
<playcountminimumtime>1140</playcountminimumtime>
</player>
</players>
<rules action="prepend">
<rule filetypes="mkv" player="DSPlayer">
<rule filename=".*PRESHOW.*" player="VideoPlayer" />
<rule filename=".*UHD.HDR.*" player="MPC-HC" />
<rule filename=".*3D.MVC.*" player="MPC-HC" />
<rule filetypes="mp4|mov|mpeg" player="VideoPlayer" />
<rule>
</rules>
</playercorefactory>
find quote
lexiconman Offline
Junior Member
Posts: 19
Joined: Aug 2017
Reputation: 0
Post: #5065
Problem solved. Just kept trying different configurations. Here's the code that works for my situation, should anyone else need something similar.
Code:
<playercorefactory>
<players>
<player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\MPC-HC\mpc-hc64.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
<playcountminimumtime>1140</playcountminimumtime>
</player>
</players>
<rules action="prepend">
<rule filetypes="mkv" player="DSPlayer">
    <rule filename=".*PRESHOW.*" player="VideoPlayer" />
    <rule filename=".*UHD.HDR.*" player="MPC-HC" />
    <rule filename=".*3D.MVC.*" player="MPC-HC" />
    </rule>
<rule filetypes="mp4|mov|mpeg" player="VideoPlayer" />
</rules>
</playercorefactory>

Take away points for me were (from the wiki) start with the most general rule (e.g., Dsplayer play all mkv) and then use a tab for all the "carveout" or "exclusions" to that general rule you want to make. And then close that rule.
(This post was last modified: 2017-09-17 15:27 by lexiconman.)
find quote
fullsun Offline
Junior Member
Posts: 36
Joined: Sep 2015
Reputation: 1
Post: #5066
I stop to use DSplayer, good job for this work.
The last nightly of Kodi give me what I need for quality.
find quote
lanzorg Offline
Junior Member
Posts: 28
Joined: Apr 2011
Reputation: 0
Post: #5067
(Yesterday 00:36)fullsun Wrote:  The last nightly of Kodi give me what I need for quality.

What has changed?
Did they add anything like NGU or remove artifacts?
(This post was last modified: Yesterday 04:47 by lanzorg.)
find quote
mbze430 Offline
Junior Member
Posts: 5
Joined: Aug 2017
Reputation: 0
Post: #5068
I just did a upgrade from 17.3 to 17.4 Changed nothing, and now everytime I start a movie KODI just crashes out.

I don't even know where to begin to troubleshoot
find quote
Rockeily Offline
Member
Posts: 85
Joined: Apr 2017
Reputation: 0
Location: America
Post: #5069
hei hello, the DSplayer's father , nice to meet you , can you give me your eamil address?,i have questions to ask ,maybe I want to cooperate with you on your DSplayer
您好,听说您是个中国人,我这边有点问题想请您帮忙,也有想要跟您合作的想法,如果可以,请您回复我一个email,谢谢:[email protected]

eat will be nice
but here~
find quote
Tereius Offline
Junior Member
Posts: 1
Joined: Sep 2017
Reputation: 0
Post: #5070
(2017-09-12 18:11)lexiconman Wrote:  
(2017-09-11 16:13)lexiconman Wrote:  To (possibly) help troubleshoot, the issue seems to be that DSPlayer isn't engaging Fullscreen Exclusive mode for 3D content. Here are the interactions between screen resolutions:

Desktop/Kodi Resolution: 2160p
2D 1080p content - Desktop res stays 2160p, engages FSE D3D11, scales content to 2160p. Looks great.
3D - Desktop res auto switches to 1080p FP, plays D3D11 windowed mode, regardless of setting configuration, scales content to 2160, filling the 1080p screen with just the top left of the movie.

Desktop/Kodi Resolution: 1080p
2D 1080p content - Desktop switches to 2160p, D3D11 windowed mode, movie stays (i.e., doesn't scale) 1080p, and only fills up the top left portion of the screen. Looks like a picture in picture.
3D - Desktop stays 1080p (but activates 3d settings), movie plays in D3D11 windowed, movie isn't scaled so would look fine, but usually causes Kodi to crash after a little while.

I'm on Windows 8.1, GTX 1070 (having downgraded from Windows 10 on Madshi's recommendation).


More info regarding the above. Madshi seems to agree with my assessment (it's a Kodi bug). Hope this helps.

https://forum.doom9.org/showthread.php?p...ost1818110

Yes it's definitively a DSPlayer/KODI bug. I had a quick look at the source code and found a workaround .

Code:
diff --git "a/C:\\Users\\bjoern\\AppData\\Local\\Temp\\TortoiseGit\\WinEventsWin32-da9656c.000.cpp" "b/C:\\Users\\bjoern\\AppData\\Local\\Temp\\TortoiseGit\\WinEventsWin32-7581f44.000.cpp"
index a73f4bb3eb..c51f371aed 100644
--- "a/C:\\Users\\bjoern\\AppData\\Local\\Temp\\TortoiseGit\\WinEventsWin32-da9656c.000.cpp"
+++ "b/C:\\Users\\bjoern\\AppData\\Local\\Temp\\TortoiseGit\\WinEventsWin32-7581f44.000.cpp"
@@ -720,10 +720,6 @@ LRESULT CALLBACK CWinEventsWin32::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, L
       CLog::Log(LOGDEBUG, __FUNCTION__": display change event");  
       if (g_application.GetRenderGUI() && !g_Windowing.IsAlteringWindow() && GET_X_LPARAM(lParam) > 0 && GET_Y_LPARAM(lParam) > 0)  
       {
-#ifdef HAS_DS_PLAYER
-        if (g_application.m_pPlayer->GetCurrentPlayer() == "DSPlayer")
-          return(0);
-#endif
         g_Windowing.UpdateResolutions();
         if (g_advancedSettings.m_fullScreen)  
         {

The patch works for me if I disable Settings/System/Use fullscreen window. As mentioned above this is only a workaround. For a clean fix more adjustments have to be made.

Here is the binary: http://www.mediafire.com/file/e5dba2cmkf...er-x86.exe
find quote
Post Reply