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 - RickDB - 2017-09-02 Might be something addon related in combination with Kodi 17.4/17.5 but doubtful, event viewer seems pretty empty but what we can do is include the .pdb file in the Kodi directory so that it will report more debug info upon crash: - Download the pdb archive: https://mega.nz/#!vxpAUYxL!dRIS-saetoKFDjDnfqCpof_qjv3LbH79-rqaE8KwtX4 - Copy the Kodi.pdb file from the archive to: C:\Program Files (x86)\Kodi Now you will have Kodi.exe and Kodi.pdb file in the same folder, afterwards can test again and in either the Kodi log or event viewer it should have additional debug information. RE: Kodi DSPlayer – DirectShow Player for Windows - Kolabor - 2017-09-02 OK. Just after I get back from work today (in 2 hours) I'll test it and report back. BTW. Which components to log should I turn on in Kodi? RE: Kodi DSPlayer – DirectShow Player for Windows - RickDB - 2017-09-02 Only the top debug option in the logging section like so: RE: Kodi DSPlayer – DirectShow Player for Windows - Kolabor - 2017-09-02 OK, I've put pdb file inside Kodi dir and honestly I don't see any difference in Kodi log file or system event viewer. All debug log files are here: https://mega.nz/#!rlgXRICY!_0RUzxzV7eLyx31obxHmrotj85WnhkBRrnsAH5eiWQg What You think about it RickDB? RE: Kodi DSPlayer – DirectShow Player for Windows - Kolabor - 2017-09-02 And after several hours of testing just everything I've got this nasty bug! I used MKVToolnix to open one of crashing files and this file contains: * video track * AC3 audio track * DTS audio track * SRT subtitles * chapters I've prepared a file that is 15 seconds long but it contains *ONLY* video track. Bingo! No crash this time. So this is not nvidia driver fault or Kodi fault. Then I added AC3 and DTS audio tracks to MKV. Still no crash. Next I added SRT subtitles track. And... no crash! It is chapters track that crashes Kodi all the time. So it looks like LAV splitter or Kodi goes here? I don't know which of them processess chapters from file. But what could be wrong? RE: Kodi DSPlayer – DirectShow Player for Windows - RickDB - 2017-09-02 Could be something wrong in current non-DSplayer Kodi build in combination with that file (maybe chapter / mediainfo readouts?), to rule this out could you try this nightly Kodi which the current build is based off: http://mirrors.kodi.tv/nightlies/windows/win32/Krypton/KodiSetup-20170829-e3c608f-Krypton-x86.exe Odd that it didn't log anything, .pdb should have added some extra trace info but probably happens before it can actually log anything then. RE: Kodi DSPlayer – DirectShow Player for Windows - nozomi - 2017-09-02 Nightly lav-filters with dx11 - check Latest madvr - check inputstream.adaptive working with drm streams - check Thanks for updating the DSPlayer build! RE: Kodi DSPlayer – DirectShow Player for Windows - Kolabor - 2017-09-02 OK I've tested those: * Official stable/final Kodi 17.4 x86 build without DSplayer: plays this file without any issues or crashes * Kodi nigthly provided by You (http://mirrors.kodi.tv/nightlies/windows/win32/Krypton/KodiSetup-20170829-e3c608f-Krypton-x86.exe): plays this file without any issues or crashes! Here is mediainfo readout: Code: General So as You can see there is only one entry for chapter track in this MKV test file and it looks like this in MKVToolnix: https://imgur.com/a/0kEwB I'm attaching this 15 seconds "crashing" mkv here: https://mega.nz/#!S8I3jTrC!uKzBYTuItxuMEH8xQAY1pegrT3FL59ZlYjEIrqTzPgA It's 13 MB only. RE: Kodi DSPlayer – DirectShow Player for Windows - RickDB - 2017-09-02 Can reproduce it with that file and attached to Visual Studio it reports a nulPtr for chaptername but no exact file and line yet: The thread 0x4518 has exited with code 0 (0x0). Unhandled exception thrown: read access violation. chapterName was nullptr. Might be something in code that is changed specifically for DSPlayer and will do some more debugging, tested a few BDs and rips with chapters but can't get the same error so definitely something specific about that file as well. // Edit Found the bug in ChapterManager: g_charsetConverter.wToUTF8(chapterName, infos->name); SysFreeString(chapterName); Fix: https://github.com/RickDB/xbmc/commit/cce1b0ce37a31e8a114539e960b0ba31fd596ba9 It's null there so added check and will post a new build later, why it wouldn't affect non-DSPlayer build I'm not 100% sure though. Once aracnoz returns will cherry pick these changes in a PR RE: Kodi DSPlayer – DirectShow Player for Windows - Kolabor - 2017-09-02 Yay! Wonderful Rick! Will this new build contain newly added "native D3D11 DXVA hardware decoding" option in DSPlayer UI You mentiond few posts earlier? RE: Kodi DSPlayer – DirectShow Player for Windows - RickDB - 2017-09-02 Unofficial build based on Kodi 17.5RC1 below, recommend making backups beforehand as this my first go at building Kodi so errors may occur. This is just a stop-gap measure till the developer returns as I can only do basic patches and builds like this. Changelog since 17.3 DSPlayer: - Updated to 17.5RC1 (git commit: 94bf83f) - Latest LAV Filters included which support D3D11 HW accel, needs latest madVR version to work properly and doesn't work in combination with NNEDI (at least with my Nvidia setup). - D3D11 added as LAV HW accel option from within UI. - Bugfix for invalid chapter names resulting in crash, thanks @Kolabor for debugging and spotting this error. It's a bit early to include LAV Filters as they are from the nightly but already had the UI changes in place and seems to run just fine, if anyone runs into problems will revert it Setup 32bit: DSPlayer 17.5RC1 Krypton - build (20170902-d83d21cd44) Setup 64bit: Fails to compile. Fork repo used in build for reference: https://github.com/RickDB/xbmc/commits/Krypton_dsplayer All credits go to @aracnoz as this is just a build merged with all his changes. RE: Kodi DSPlayer – DirectShow Player for Windows - Kolabor - 2017-09-02 <3 testing this build in a moment. RE: Kodi DSPlayer – DirectShow Player for Windows - RickDB - 2017-09-02 Re-uploaded build as I noticed Nev released a new LAV filter version today so used that because it included some D3D11 changes. RE: Kodi DSPlayer – DirectShow Player for Windows - toki5 - 2017-09-02 It installed and seems to be working, but when I tried to install it I got an error with the uninstall.exe, clicked retry and it did install. Just wanted to let you know. RE: Kodi DSPlayer – DirectShow Player for Windows - oldpainless - 2017-09-03 (2017-09-02, 20:19)RickDB Wrote: Unofficial build based on Kodi 17.5RC1 below, recommend making backups beforehand as this my first go at building Kodi so errors may occur. Nice build, and not sure what else has changed as now bringing up the OSD is a lot smoother. K |