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 - ashlar - 2019-04-29 (2019-04-28, 17:38)purpleman Wrote: Not sure if there's any interest, but I intend to compile a modified version of the latest Kodi and a modified vesion of MPC-BE that will enable the use of "resume playback" when using an external player.I'd be interested in testing, for sure. I know it's probably asking too much but it would be great if you could find a way to have subtitles add-ons from Kodi working from within MPC-BE. I ask because you talk about "communication between Kodi and MPC-BE", thus raising my hopes. Edit: feel free to contact me by PM for test builds, help, discussion, whatever really. I'd like to contribute as much as I can. RE: Kodi DSPlayer – DirectShow Player for Windows - purpleman - 2019-04-29 (2019-04-29, 11:57)ashlar Wrote:I think that a dramatically easier approach would be to make it so that the subtitle feature of Kodi (and any plugins you have installed) are accessible from the context menu within Kodi (before playback starts) rather than from within the video player.(2019-04-28, 17:38)purpleman Wrote: Not sure if there's any interest, but I intend to compile a modified version of the latest Kodi and a modified vesion of MPC-BE that will enable the use of "resume playback" when using an external player.I'd be interested in testing, for sure. I know it's probably asking too much but it would be great if you could find a way to have subtitles add-ons from Kodi working from within MPC-BE. I ask because you talk about "communication between Kodi and MPC-BE", thus raising my hopes. I'll look into this. RE: Kodi DSPlayer – DirectShow Player for Windows - ashlar - 2019-04-29 (2019-04-29, 15:30)purpleman Wrote:Yeah, that's another option, for sure. I honestly don't know whether that would entail modification to all subtitles add-ons code or just the portion of Kodi that handles the process. On the other hand, thinking about it, that means starting playback to check whether subs are present or not, and if they are good or not. If they are not, stopping playback, searching for subs, restarting playback.(2019-04-29, 11:57)ashlar Wrote:I think that a dramatically easier approach would be to make it so that the subtitle feature of Kodi (and any plugins you have installed) are accessible from the context menu within Kodi (before playback starts) rather than from within the video player.(2019-04-28, 17:38)purpleman Wrote: Not sure if there's any interest, but I intend to compile a modified version of the latest Kodi and a modified vesion of MPC-BE that will enable the use of "resume playback" when using an external player.I'd be interested in testing, for sure. I know it's probably asking too much but it would be great if you could find a way to have subtitles add-ons from Kodi working from within MPC-BE. I ask because you talk about "communication between Kodi and MPC-BE", thus raising my hopes. Meanwhile, I've done some experiments with EventGhost (a programmable remote software solution). While launching MPC-HC as an external player, I managed to get Kodi to open the subtitle search window, while MPC-HC is paused. It works and it downloads subs. There's some video corruption outside the subtitles search windows but everything works perfectly. The problem is going back to MPC-HC and having it use the subs you downloaded. So far I've only managed to get there using the "Reload file" functionality, in combination with the "remember position" functionality so that the file is reloaded from where it was paused before searching for subs. Edit: and I've actually managed to configure EventGhost to handle everything in a pretty seamless way. Thanks for the inspiration! RE: Kodi DSPlayer – DirectShow Player for Windows - purpleman - 2019-04-29 (2019-04-29, 17:40)ashlar Wrote:(2019-04-29, 15:30)purpleman Wrote:Yeah, that's another option, for sure. I honestly don't know whether that would entail modification to all subtitles add-ons code or just the portion of Kodi that handles the process. On the other hand, thinking about it, that means starting playback to check whether subs are present or not, and if they are good or not. If they are not, stopping playback, searching for subs, restarting playback.(2019-04-29, 11:57)ashlar Wrote: I'd be interested in testing, for sure. I know it's probably asking too much but it would be great if you could find a way to have subtitles add-ons from Kodi working from within MPC-BE. I ask because you talk about "communication between Kodi and MPC-BE", thus raising my hopes.I think that a dramatically easier approach would be to make it so that the subtitle feature of Kodi (and any plugins you have installed) are accessible from the context menu within Kodi (before playback starts) rather than from within the video player. That's great. Might be a good idea to share your exact EventGhost configuration (screenshots or otherwise) so that other forum members could try the same. I still plan on compiling those custom versions for playback resume. RE: Kodi DSPlayer – DirectShow Player for Windows - ashlar - 2019-04-29 (2019-04-29, 19:03)purpleman Wrote:Yeah, I plan to!(2019-04-29, 17:40)ashlar Wrote:(2019-04-29, 15:30)purpleman Wrote: I think that a dramatically easier approach would be to make it so that the subtitle feature of Kodi (and any plugins you have installed) are accessible from the context menu within Kodi (before playback starts) rather than from within the video player.Yeah, that's another option, for sure. I honestly don't know whether that would entail modification to all subtitles add-ons code or just the portion of Kodi that handles the process. On the other hand, thinking about it, that means starting playback to check whether subs are present or not, and if they are good or not. If they are not, stopping playback, searching for subs, restarting playback. RE: Kodi DSPlayer – DirectShow Player for Windows - ashlar - 2019-04-29 (2019-04-29, 19:03)purpleman Wrote: I still plan on compiling those custom versions for playback resume.By the way, what I did with EventGhost... I am going to explain it probably in @brazen1 discussion on external players. But it's quite complex for "regular" users, I fear. So my experiments were more of a... I don't know how to say it. I will describe what I have done and I hope you could manage to get it working without so many workarounds. Edit: forgot to ask, the decision to work with MPC-BE stems from it being still under development, compared to MPC-HC which, if I understand correctly, has simple "maintenance" releases? Or is there something specific that MPC-BE does that you think will prove useful in the scenario we are interested in (ie. as a Kodi external player)? RE: Kodi DSPlayer – DirectShow Player for Windows - purpleman - 2019-04-30 (2019-04-29, 23:44)ashlar Wrote:(2019-04-29, 19:03)purpleman Wrote: I still plan on compiling those custom versions for playback resume.By the way, what I did with EventGhost... I am going to explain it probably in @brazen1 discussion on external players. But it's quite complex for "regular" users, I fear. So my experiments were more of a... I don't know how to say it. I will describe what I have done and I hope you could manage to get it working without so many workarounds. MPC-HC has issues with VFR playback (a lot of phone-shot videos are like that or flagged like that). I could only resolve the playback issues by switching to MPC-BE. Presumably, whatever was broken in HC (which is no longer under development) is fixed with BE. So might as well. Otherwise no difference as far I'm concerned. RE: Kodi DSPlayer – DirectShow Player for Windows - ashlar - 2019-04-30 (2019-04-30, 02:22)purpleman Wrote:Got it. Thanks for the explanation.(2019-04-29, 23:44)ashlar Wrote:(2019-04-29, 19:03)purpleman Wrote: I still plan on compiling those custom versions for playback resume.By the way, what I did with EventGhost... I am going to explain it probably in @brazen1 discussion on external players. But it's quite complex for "regular" users, I fear. So my experiments were more of a... I don't know how to say it. I will describe what I have done and I hope you could manage to get it working without so many workarounds. Since you mentioned willingness to do other slight modifications, I'm gonna list some of the things that come to mind: Make the controls bar and seeker bar (CTRL+1 / CTRL+2) bigger and navigable with cursor keys. As a 10 feet interface the current size is kind of ridiculous. And there's no other way to see the position one is in video playback. In Kodi you can open the menu and see "where you are", when the movie is supposed to finish, at what time, etc. The closer we could get there, the better. This would also open up the possibility to pick and choose from audio and subs tracks through a menu, using the AUD and SUB buttons. For videos with many subtitles embedded it's kind of a pain to switch. With a similar objective, have the pop up while pausing provide more information. It currently just says "Pause". Default Kodi skin, while paused, displays the title of the video file, the current time (a clock basically), the time when the video will end (calculated for remaining lenght of the video). Thanks for your interest in this. Bear in mind that I have absolutely *zero* idea about the coding complexity of the above suggestions. RE: Kodi DSPlayer – DirectShow Player for Windows - Wanilton - 2019-04-30 @ashlar About pause and info, check Aeon MQ8, it´s something skins have support, MQ8 has 4 levels info basic to advanced for pause screen. RE: Kodi DSPlayer – DirectShow Player for Windows - ashlar - 2019-04-30 (2019-04-30, 13:44)Wanilton Wrote: @ashlarSorry, I was discussing what could be done to make MPC-BE more compatible for use from the couch with a remote. Not Kodi proper. Purpleman has offered to work on some better integration between Kodi and MPC-BE used as an external player. RE: Kodi DSPlayer – DirectShow Player for Windows - tjcinnamon - 2019-05-05 (2019-04-30, 13:55)ashlar Wrote:This would be great!(2019-04-30, 13:44)Wanilton Wrote: @ashlarSorry, I was discussing what could be done to make MPC-BE more compatible for use from the couch with a remote. Not Kodi proper. Purpleman has offered to work on some better integration between Kodi and MPC-BE used as an external player. RE: Kodi DSPlayer – DirectShow Player for Windows - ashlar - 2019-05-11 (2019-04-29, 19:03)purpleman Wrote: I still plan on compiling those custom versions for playback resume. Hi, @purpleman Any news on this? RE: Kodi DSPlayer – DirectShow Player for Windows - purpleman - 2019-05-11 (2019-05-11, 14:56)ashlar Wrote:I'm working on it whenever I have some spare time. This week didn't have as much as I had hoped. Hopefully will be done within the next couple weeks.(2019-04-29, 19:03)purpleman Wrote: I still plan on compiling those custom versions for playback resume. If you want some progress report, I already got the source codes for both MPC-BE and Kodi to properly compile and build and have altered MPC-BE so that if playback stops and media closes before it reached the end of the file it writes a metadata file to disk with the timestamp. Next steps would be for Kodi to check for the existence of that file when you start playback and if it finds it, read the content and pass the proper resume arguments to the external player launch. RE: Kodi DSPlayer – DirectShow Player for Windows - brazen1 - 2019-05-11 Hi. I'm taking interest in your project although it's not clear to me what your goal is? Every external player I use has a resume function to pick up where I left off the next time I launch the player from Kodi. I think MPC-BE calls it a 'file position' setting. Others call the setting something else. This data is stored in each player. What gain will your new compile and build offer that doesn't already exist besides maybe displaying partially watched status for the title in the Kodi library since the timestamp data will be copied to Kodi? I use 5 external players and just added a 5th, VLC. I doubt it but, if I was to launch playback using a different player could or would they resume at the same timestamp also since Kodi will be telling them to? Whether all players will oblige is a different story but I take it at least the one that provided the original metadata to Kodi might? Thanks for taking the time and interest. Will your compile and build offer anything else of interest? TIA. RE: Kodi DSPlayer – DirectShow Player for Windows - Warner306 - 2019-05-12 I would assume the resume and watched status features of Kodi would work correctly. You could see your progress in the video from Kodi and the video would only be marked watched in the library when it is watched. This might also make it possible to use MPC with video add-ons and be able to resume your progress with streams from that add-on. |