Kodi Community Forum
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 - Talguy - 2016-02-18

(2016-02-18, 01:27)Warner306 Wrote:
(2016-02-17, 23:48)Tamuro Wrote: Well I plan on using kodi until I can no longer use madVR with it. I have to have it now. Hopefully they find a way to implement it with Kodi instead of having to rely on an outside party doing it. It's just a matter of time before DSPlayer no longer works.

Kodi 17 will have the answer. The media player is being rewritten and components such as the video renderer are supposed to be separate from the decoder and other parts. This may make it possible to use madVR and other renderers but not without official support.

Given how few people this may impact, it likely will never happen. But it would be a big selling point for Kodi to have madVR support.

So it is completely up to the Linux-focused development team.

The code has been restructured so that it would be easier for someone to branch the main repo and hack in Madvr support. I know there was a discussion between Madshi and FernetMenta over in the videoplayer development forum about adding in support for video render addons. This wouldn't probably happen until Kodi v18 or later but may give windows users an official way to get Madvr in Kodi. We'll see what the future holds for us.


RE: Kodi DSPlayer – DirectShow Player for Windows - Blacksmith - 2016-02-18

Does anyone know of any filters or a way in Kodi that could playback animated gifs and loop until the user presses stop?

Right now I can get the gif to load and set the video player to repeat, but there will be a delay in the loop, and the gif has to be completely reloaded.

I guess not even just for gifs, just a way to loop a video without reloading it


RE: Kodi DSPlayer – DirectShow Player for Windows - Tamuro - 2016-02-18

(2016-02-18, 12:23)ashlar Wrote:
(2016-02-18, 08:24)Tamuro Wrote: That would be great if I knew what to type in that rule to make that happen. Haha

Settings/Video/DSPlayer/DVDPlayer Merits/Add new merits rule..

From there you type in a name for the rule's name (whatever you want), and then check the radio button "Internet stream" (it's the 11th entry in the list). After this you scroll to the bottom and select "Add Rule". Done.
Awesome thank you.


RE: Kodi DSPlayer – DirectShow Player for Windows - Warner306 - 2016-02-18

(2016-02-18, 19:08)Blacksmith Wrote: Does anyone know of any filters or a way in Kodi that could playback animated gifs and loop until the user presses stop?

Right now I can get the gif to load and set the video player to repeat, but there will be a delay in the loop, and the gif has to be completely reloaded.

I guess not even just for gifs, just a way to loop a video without reloading it

I don't GIFs are a supported format.


RE: Kodi DSPlayer – DirectShow Player for Windows - Derek - 2016-02-18

(2016-02-18, 20:26)Tamuro Wrote:
(2016-02-18, 12:23)ashlar Wrote:
(2016-02-18, 08:24)Tamuro Wrote: That would be great if I knew what to type in that rule to make that happen. Haha

Settings/Video/DSPlayer/DVDPlayer Merits/Add new merits rule..

From there you type in a name for the rule's name (whatever you want), and then check the radio button "Internet stream" (it's the 11th entry in the list). After this you scroll to the bottom and select "Add Rule". Done.
Awesome thank you.

Some of the best things are small checkboxes and such like you overlook


RE: Kodi DSPlayer – DirectShow Player for Windows - Tamuro - 2016-02-18

(2016-02-18, 21:18)Derek Wrote:
(2016-02-18, 20:26)Tamuro Wrote:
(2016-02-18, 12:23)ashlar Wrote: Settings/Video/DSPlayer/DVDPlayer Merits/Add new merits rule..

From there you type in a name for the rule's name (whatever you want), and then check the radio button "Internet stream" (it's the 11th entry in the list). After this you scroll to the bottom and select "Add Rule". Done.
Awesome thank you.

Some of the best things are small checkboxes and such like you overlook

I've noticed.

Last night when I tried to stream a youtube video my screen went all black but I could still hear the audio. I had to tab out via windows key and force kodi off. I went back into kodi and played it with the DVDPlayer and everything worked. Today now I went to play an mkv bluray rip and the screen was black and could still hear the audio. I just started hitting buttons in madvr and it came back but now the res is all messed up. I can only see the upper left corner of the movie and it fills my whole screen. Lol


RE: Kodi DSPlayer – DirectShow Player for Windows - Derek - 2016-02-18

Funny enough thats not an uncommon problem the black screen with audio still playing and normally related to nvidia drivers.


RE: Kodi DSPlayer – DirectShow Player for Windows - Blacksmith - 2016-02-19

(2016-02-18, 21:16)Warner306 Wrote:
(2016-02-18, 19:08)Blacksmith Wrote: Does anyone know of any filters or a way in Kodi that could playback animated gifs and loop until the user presses stop?

Right now I can get the gif to load and set the video player to repeat, but there will be a delay in the loop, and the gif has to be completely reloaded.

I guess not even just for gifs, just a way to loop a video without reloading it

I don't GIFs are a supported format.

DS or DVD player will play them fine, but the allure of them is in the looping. Unfortunately the image slideshow doesn't animate the gif (only the first frame). All the trac issues, flags, or pull requests have been ignored or considered obsolete for years dealing with the problem/feature

Just wondering of the possibility of a filter that has some sort of parameter that will loop the video.

Instead just using a workaround of a external player.


RE: Kodi DSPlayer – DirectShow Player for Windows - ashlar - 2016-02-19

(2016-02-18, 22:29)Tamuro Wrote:
(2016-02-18, 21:18)Derek Wrote:
(2016-02-18, 20:26)Tamuro Wrote: Awesome thank you.

Some of the best things are small checkboxes and such like you overlook

I've noticed.

Last night when I tried to stream a youtube video my screen went all black but I could still hear the audio. I had to tab out via windows key and force kodi off. I went back into kodi and played it with the DVDPlayer and everything worked. Today now I went to play an mkv bluray rip and the screen was black and could still hear the audio. I just started hitting buttons in madvr and it came back but now the res is all messed up. I can only see the upper left corner of the movie and it fills my whole screen. Lol
Glad to help on the rules thing.

As far as the black screen is concerned, some questions:

1) Are you adjusting refresh rate through madVR, Kodi or not at all? Meaning, do you switch to a 24Hz mode for film content or not. And if yes in what way? Settings/Video/Playback/Adjust display refresh rate.
2) Are you using Exclusive mode in madVR? Settings/Video/DSPlayer/Use in fullscreen (exclusive mode)
3) Are you using fullscreen for Kodi or fullscreen window? Settings/System/Video output/Use fullscreen window


RE: Kodi DSPlayer – DirectShow Player for Windows - ashlar - 2016-02-19

(2016-02-17, 15:48)vicmanpergar Wrote:
(2016-02-17, 11:03)ashlar Wrote: And why is that. Did aracnoz explain?

The only reference I found was here: http://forum.kodi.tv/showthread.php?tid=223175&pid=2138199#pid2138199

Man, i would just kill for a DSplayer Dash 1080p youtube solution.
It's something worth investigating. From the little I understand, I think a talented developer could work it out rather quickly, given the source filter I mentioned.


RE: Kodi DSPlayer – DirectShow Player for Windows - ashlar - 2016-02-19

(2016-02-17, 11:03)ashlar Wrote: And why is that. Did aracnoz explain?

The only reference I found was here: http://forum.kodi.tv/showthread.php?tid=223175&pid=2138199#pid2138199
It appears being hardcoded in FilterCoreFactory.cpp. Lines between 105 and 114 hardcode Kodi to use LAV Source internal, bypassing the filters rules. I don't know how easy it would be to not have this and having it adhere to the rules set up in the regular way.

It's a shame to have hard coded filters in DSPlayer, as the whole point should be flexibility above all else.

I'm so sorry not to have noticed this when aracnoz was still around Sad


RE: Kodi DSPlayer – DirectShow Player for Windows - Tamuro - 2016-02-19

(2016-02-19, 13:18)ashlar Wrote:
(2016-02-18, 22:29)Tamuro Wrote:
(2016-02-18, 21:18)Derek Wrote: Some of the best things are small checkboxes and such like you overlook

I've noticed.

Last night when I tried to stream a youtube video my screen went all black but I could still hear the audio. I had to tab out via windows key and force kodi off. I went back into kodi and played it with the DVDPlayer and everything worked. Today now I went to play an mkv bluray rip and the screen was black and could still hear the audio. I just started hitting buttons in madvr and it came back but now the res is all messed up. I can only see the upper left corner of the movie and it fills my whole screen. Lol
Glad to help on the rules thing.

As far as the black screen is concerned, some questions:

1) Are you adjusting refresh rate through madVR, Kodi or not at all? Meaning, do you switch to a 24Hz mode for film content or not. And if yes in what way? Settings/Video/Playback/Adjust display refresh rate.
2) Are you using Exclusive mode in madVR? Settings/Video/DSPlayer/Use in fullscreen (exclusive mode)
3) Are you using fullscreen for Kodi or fullscreen window? Settings/System/Video output/Use fullscreen window

1) Adjusting refresh rate through madVR and under display I put in the refresh rates that my monitor accepts.
2) Yes I am using exclusive mode and I set Kodi setting to force stop full screen.
3) I have Kodi set to Full screen.

Once I got the image to display, I fixed the image being messed up because I had to reset the res in Kodi back to 1920 x 1080p. When I force closed it the other day not only did my monitor not change back to it's max res of 2560 x 1440p but Kodi switched to 2560 x 1440p. I changed Kodi back to 1920x1080 and the image started to display correctly.


RE: Kodi DSPlayer – DirectShow Player for Windows - ashlar - 2016-02-19

Try to set Kodi using Fullscreen Window. I seem to remember it could help in this kind of situations.


RE: Kodi DSPlayer – DirectShow Player for Windows - ashlar - 2016-02-19

(2016-02-19, 14:11)ashlar Wrote:
(2016-02-17, 11:03)ashlar Wrote: And why is that. Did aracnoz explain?

The only reference I found was here: http://forum.kodi.tv/showthread.php?tid=223175&pid=2138199#pid2138199
It appears being hardcoded in FilterCoreFactory.cpp. Lines between 105 and 114 hardcode Kodi to use LAV Source internal, bypassing the filters rules. I don't know how easy it would be to not have this and having it adhere to the rules set up in the regular way.

It's a shame to have hard coded filters in DSPlayer, as the whole point should be flexibility above all else.

I'm so sorry not to have noticed this when aracnoz was still around Sad

I also think that we should change the mediasconfig.xml and filtersconfig.xml files to be identical to the internal versions. I'm referring to the files in C:\Program Files (x86)\Kodi\system\players\dsplayer. Those files refer to stuff that might not be installed and apparently they create conflicts when trying to playing streams through DSPlayer.

See for example, in mediasconfig.xml, this entry:

<rule protocols="http">
<source filter="urlfilesource" />
<splitter filter="avsplitter" />
<video filter="cyberlinkvideodec" />
<audio filter="ffdaudiodec" />
</rule>

I say change them to be identical as this, empyrically, solved it for me. Maybe there's a better way to go. But I don't know how to operate on source, hence this solution allowed me to bypass the problem. I end up having mediasconfig.xml, filtersconfig.xml, mediasconfig_internal.xml and filtersconfig_internal.xml to be respectively identical. And everything appears to be working correctly.

I personally use Settings/Videos/DSPlayer/Filters Management set at "Media rules and Filters configuration". Which might be part of why this has gone unnoticed so far. Maybe the majority of people are using the "internal filters" option here.

For reasons unknown, it appears that while "internal filters" works fine and, obviously, ignores customized versions of mediasconfig.xml and filtersconfig.xml in the user directory, "Media rules and Filters configuration" has problems with conflicts between the system version of those files and the customized version. I thought that if mediasconfig.xml and filtersconfig.xml existed in the user directory the ones in the system directory would be ignored... but this doesn't seem to be the case.

EDIT:

Yes, it appears that the overruling is done on a rule by rule basis. Hence, placing this in mediasconfig.xml, in the user directory, bypasses the rule in the system folder:

<rule protocols="http">
<source filter="lavsource" />
<splitter filter="alavsplitter" />
<video filter="lavvideo" />
<audio filter="lavaudio" />
</rule>

With DSPlayer automatically selecting the internal version of lavsource, again hardcoded as I explained in the previous post.
I doubt that I could have something do to with the situation, as personally I've never used cyberlink codecs... so I suppose the situation is like this from a clean install too (I always edit stuff in the user directory, not the system one).


RE: Kodi DSPlayer – DirectShow Player for Windows - oldpoem - 2016-02-19

I have no problems with my own mediaconfig & filterconfig. Since I never use internal filters due to problem with XySubfilter.