Kodi DSPlayer – DirectShow Player for Windows - 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: Kodi DSPlayer – DirectShow Player for Windows (/showthread.php?tid=223175) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
|
RE: Kodi DSPlayer – DirectShow Player for Windows - ausvette - 2018-04-24 (2018-04-23, 19:37)Warner306 Wrote:I've also tried as simple filetype rule :<rule filetypes="iso" player="mpc">(2018-04-23, 06:11)ausvette Wrote: But for whatever reason it seems for me creating a playercorefactory.xml file, results in the new player being the new default player. Instead of being used when the rules match.This might be something that wasn't tested by aracnoz. I can also launch external players using Play using but I've never tried any rules. MPC-HC is not the default player despite the presence of a playercorefactory.xml. again this resulted in everything including mkvs being played back via mpc-be my batch file is: Set file=%1 "C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /enable timeout /t 3 "C:\Program Files\MPC-BE x64\mpc-be64.exe" /fullscreen /close %1 "C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /disable Certainly it seems to me my problem is with the rules not being obeyed, not with mpc-be or the batch file as mpc-be works fine for me. Launches, plays the video, closes and kodi interface resumes. My problem seems to be that whatever rule I put in the playercorefactory.xml file results in mpc-be being launched for all files, whether they match the rule or not. Maybe I should try a different installation. I'm running kodi-17.5-Krypton_DSPlayer-x64.exe What release should work with dsplayer as main player and mpc-be for 3d? I was told I need to run a 17.5 release for the aeon.madnox skin . Thanks! RE: Kodi DSPlayer – DirectShow Player for Windows - Memorado - 2018-04-24 (2018-04-23, 18:00)fullsun Wrote:- Search on the forum did not shown any results on "advanceguisettings".(2018-04-23, 15:27)Memorado Wrote: Why is this happening? Why 800x600? I found only topics on "advancedsettings". Unfortunately, there is very little information on the Kodi interface resolution settings for this file. I tried this advancedsettings: <advancedsettings> <loglevel> 2 </ loglevel> <fullscreen> false </ fullscreen> <window> <width> 3840 </ width> <height> 2160 </ height> </ window> </ advancedsettings> But this absolutely did not affect anything, and did not fix the "800x600 HDR" problem. Perhaps it just does not work. RE: Kodi DSPlayer – DirectShow Player for Windows - Memorado - 2018-04-24 (2018-04-23, 19:32)Warner306 Wrote:- Yes, I tried. It does not help.(2018-04-23, 15:27)Memorado Wrote: Why is this happening? Why 800x600?Did you try setting Kodi to use a fullscreen window rather than a true fullscreen? This usually fixes these problems. The only change when "fullscreen windows" is on, and Kodi, after exiting the HDR again downsizing to 800x600, the screen becomes not square, as before, but stretched. RE: Kodi DSPlayer – DirectShow Player for Windows - fullsun - 2018-04-24 Quote:My problem seems to be that whatever rule I put in the playercorefactory.xml file results in mpc-be being launched for all files, whether they match the rule or not.I repeat: "Kodi don't change to videoplayer(internal) after launch a external player, it's a bug, not fix in v18" Quote:But this absolutely did not affect anything, and did not fix the "800x600 HDR" problem.and with that? <videoscreen> <fakefullscreen default="true">true</fakefullscreen> </videoscreen> RE: Kodi DSPlayer – DirectShow Player for Windows - ashlar - 2018-04-24 (2018-04-23, 23:43)Warner306 Wrote: I honestly don't know if anyone would be interested, but I added a section to the madVR set up manual titled A Technical Discussion on HDR Tone Mapping Methods.Thanks for this, much appreciated. RE: Kodi DSPlayer – DirectShow Player for Windows - Memorado - 2018-04-24 (2018-04-24, 08:31)fullsun Wrote:- I tried this:Quote:My problem seems to be that whatever rule I put in the playercorefactory.xml file results in mpc-be being launched for all files, whether they match the rule or not.I repeat: <advancedsettings> <loglevel> 2 </loglevel> <videoscreen> <fakefullscreen default="true">true</fakefullscreen> </videoscreen> <window> <width> 3840 </width> <height> 2160 </height> </window> </advancedsettings> Objectively, everything became worse. Now HDR sometimes runs not on the full screen, but in a very small window, which is visible in the upper left corner of the screen. In the usual version, this does not happen. RE: Kodi DSPlayer – DirectShow Player for Windows - Bibio - 2018-04-24 @ ausvette try this: <playercorefactory> <players> <player name="MPC" type="ExternalPlayer" audio="false" video="true"> <filename>C:\Users\Dave\AppData\Roaming\Kodi\userdata\Play3D.bat</filename> <args>"{1}"</args> <hidekodi>true</hidekodi> <hideconsole>true</hideconsole> <forceontop>false</forceontop> <playcountminimumtime>1140</playcountminimumtime> </player> </players> <rules action="prepend"> <rule filetypes="mkv" player="dsplayer"> <rule filetypes="iso" player="MPC"> <rule filename=".*3D.*" player="MPC"/> </rule> </rule> </rules> </playercorefactory> from what i can see in your other code you have forgot to add the DOT before the * doing this will pick up any wildcard filename with or without 3D. the above code should force dsplayer to play all mkv files except ones that meet the criteria of 3D in their filename. all files with the extension iso will be played with MPC. btw. kodi-dsplayerx64 is a bit buggy. been there tried that. RE: Kodi DSPlayer – DirectShow Player for Windows - Warner306 - 2018-04-24 @ausvette, Try doing a portable installation of regular Kodi and importing your playercorefactory.xml. You can then rule out DSPlayer as the problem. If your rules don't work and you want to use DSPlayer, you may have to delete the rule and launch your external player manually (Play using ->) for your 3D files. I have this working on my system, so it should be working on yours. You can create a profile for your 3D files in madVR and launch your batch file from the profile group, as well. madVR does support batch files, so there may be no need to use MPC-BE to launch a batch file from a playercorefactory.xml. RE: Kodi DSPlayer – DirectShow Player for Windows - Warner306 - 2018-04-24 @Memorado, Did you check the GPU control panel when these resolution changes happen? Is the GPU changing resolution, or is Kodi changing the resolution? If it's the GPU, then it's not Kodi fault; it's the GPU driver. Did you try playing your 4K files with VideoPlayer to see if the result is the same? RE: Kodi DSPlayer – DirectShow Player for Windows - ausvette - 2018-04-25 (2018-04-24, 15:53)Bibio Wrote: @ ausvette try this:Thanks Bibio. I tried that. Result was dsplayer was default player for all mkvs - whether they matched the rule or not. Videoplayer was default for iso's Mpc was listed as a player I could choose manually from the menu RE: Kodi DSPlayer – DirectShow Player for Windows - ausvette - 2018-04-25 (2018-04-24, 17:13)Warner306 Wrote: @ausvette,Thanks! I can choose MPC manually using the menu. Just annoying way - but is a soluton. I tried using madvr before to launch the batch file and mpc-be locked up. But my batch file may not have been correct at that point so I could try that again. RE: Kodi DSPlayer – DirectShow Player for Windows - Bibio - 2018-04-25 (2018-04-25, 15:20)ausvette Wrote:remove <rule filetypes="mkv" player="dsplayer"> from the code and try that. i put this in as a test... but it was worth trying just in case.(2018-04-24, 15:53)Bibio Wrote: @ ausvette try this:Thanks Bibio. dsplayer is the default player in kodi-ds so should play all files except those in the code playercorefactory code rules. also remove one of the </rule> at the end pay close attention to <rule filename=".*3D.*" player="MPC"/> the filename rule must start with a DOT then *3D.* if you dont add the DOT then kodi will play all finenames with mpc as you are starting with a * (wildcard) which is all your filenames. your code should now be: <playercorefactory> <players> <player name="MPC" type="ExternalPlayer" audio="false" video="true"> <filename>C:\Users\Dave\AppData\Roaming\Kodi\userdata\Play3D.bat</filename> <args>"{1}"</args> <hidekodi>true</hidekodi> <hideconsole>true</hideconsole> <forceontop>false</forceontop> <playcountminimumtime>1140</playcountminimumtime> </player> </players> <rules action="prepend"> <rule filetypes="iso" player="MPC"> <rule filename=".*3D.*" player="MPC"/> </rule> </rules> </playercorefactory> RE: Kodi DSPlayer – DirectShow Player for Windows - Warner306 - 2018-04-25 I can't see why you can't use DSPlayer with a proper batch file in madVR. It should launch when the correct profile is chosen in madVR. This method has been tested by madVR users. RE: Kodi DSPlayer – DirectShow Player for Windows - Memorado - 2018-04-26 (2018-04-24, 17:15)Warner306 Wrote: @Memorado,- Yes, I checked. This is definitely Kodi fault. - If I run HDR-movie in "MPC-BE x64 + MadVR + LavFilters" alone, without Kodi, the "800x600 HDR" bug does not happen ever. - When Kodi once again downsized the resolution to 800x600, if after that i close Kodi, Win 10 automatically restores the resolution to 4K. RE: Kodi DSPlayer – DirectShow Player for Windows - mclingo - 2018-04-26 make sure you've got windowed mode set on in KODI DS and that you are running your KODI GUI in 2160p too. |