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


RE: Kodi DSPlayer – DirectShow Player for Windows - lanzorg - 2015-06-24

Why kodi dsplayer doesn't work with mostly any video addons? What's the main reason?
Is it possible that one day it works with any addons just like with dvdplayer?


RE: Kodi DSPlayer – DirectShow Player for Windows - Warner306 - 2015-06-24

(2015-06-24, 03:30)lanzorg Wrote: Why kodi dsplayer doesn't work with mostly any video addons? What's the main reason?
Is it possible that one day it works with any addons just like with dvdplayer?

The filters it uses (LAV) are not compatible with most streaming sources. There is partial support with rtsp|http streams. You can follow the steps to make this work at the end of this section: 1966595 (post).


RE: Kodi DSPlayer – DirectShow Player for Windows - Warner306 - 2015-06-24

(2015-06-23, 23:09)GlennNZ Wrote:
(2015-06-23, 13:51)aracnoz Wrote:
(2015-06-22, 09:58)GlennNZ Wrote: Thanks.

Will post log:

...

http://pastebin.com/FMEUqrus

Glenn

i think that your problem it's with yatse

17:44:33 T:2944 DEBUG: CWinEventsWin32::WndProc: Focus switched to process C:\Yatse2\Yatse2.exe

if the focus it on another external window madvr cannot enter in exclusive mode

Thanks for spotting that - I'll have a look a why it's taking focus and try to disable.

(Might be more universal problem though particularly for two screen setups where another app more likely to be running & may have focus --- can dsplayer check/force focus prior to initalising fullscreen exclusive?)

Glenn

I know this is likely counter-productive, but I would dump Yatse and buy a Harmony remote and IR receiver.


RE: Kodi DSPlayer – DirectShow Player for Windows - GlennNZ - 2015-06-24

Not sure I understand your comment

I do have harmony remote and IR receiver - yatse2 has not much to do with IR control, more info display on 2nd screen.

More here:
http://forum.kodi.tv/showthread.php?tid=68936&pid=2033705#pid2033705

Glenn


RE: Kodi DSPlayer – DirectShow Player for Windows - GlennNZ - 2015-06-24

(2015-06-24, 05:27)Warner306 Wrote:
(2015-06-23, 23:09)GlennNZ Wrote: [quote='aracnoz' pid='2036296' dateline='1435060297']

i think that your problem it's with yatse

17:44:33 T:2944 DEBUG: CWinEventsWin32::WndProc: Focus switched to process C:\Yatse2\Yatse2.exe

if the focus it on another external window madvr cannot enter in exclusive mode

Thanks for spotting that - I'll have a look a why it's taking focus and try to disable.

(Might be more universal problem though particularly for two screen setups where another app more likely to be running & may have focus --- can dsplayer check/force focus prior to initalising fullscreen exclusive?)

Glenn
Thanks - believe I have fixed the issue in Yatse2 - was screenresolution check that was grabbing focus after change in refreshrate.

Glenn


RE: Kodi DSPlayer – DirectShow Player for Windows - lanzorg - 2015-06-24

(2015-06-24, 05:11)Warner306 Wrote: The filters it uses (LAV) are not compatible with most streaming sources. There is partial support with rtsp|http streams. You can follow the steps to make this work at the end of this section: 1966595 (post).

I already have the media rules for streaming and nothing works well...
That's so bad and it seems it will be problematic for a long time...
That's strange because lavfilters is based on ffmpeg...
I suppose there is any other alternative with dsplayer?

Did someone tried to implement mpv (libmpv) with kodi or saw an implementation with kodi somewhere?
Streaming works well with it, it has advanced upscalers like madvr, is multiplatform and works perfectly with vapoursynth.


RE: Kodi DSPlayer – DirectShow Player for Windows - Ed76 - 2015-06-24

(2015-06-24, 05:11)Warner306 Wrote:
(2015-06-24, 03:30)lanzorg Wrote: Why kodi dsplayer doesn't work with mostly any video addons? What's the main reason?
Is it possible that one day it works with any addons just like with dvdplayer?

The filters it uses (LAV) are not compatible with most streaming sources. There is partial support with rtsp|http streams. You can follow the steps to make this work at the end of this section: 1966595 (post).


lavsplitter can do much more than http and rtsp. also rtmp is working since lav 0.64. take a look at lav splitter settings and use lav source as source filter and not the urlfilesource.


RE: Kodi DSPlayer – DirectShow Player for Windows - lanzorg - 2015-06-25

(2015-06-24, 22:12)Ed76 Wrote: lavsplitter can do much more than http and rtsp. also rtmp is working since lav 0.64. take a look at lav splitter settings and use lav source as source filter and not the urlfilesource.

I switched from urlsource to lavsource and the result is the same.

If I play a streaming file directly, kodi uses dvdplayer even if dsplayer is default, the media rule doesn't work as expected. I have to use the play using context menu and select dsplayer. Some video addons don't work at all or switch to dvdplayer like twitchtv, ted talks or youtube lives.


RE: Kodi DSPlayer – DirectShow Player for Windows - Ed76 - 2015-06-25

try this:

</rule>
<rule protocols="rtsp|daap|rtv|rtmp|http|https|rtmpe|mms|rtp">
<splitter filter="lavsplitter" />
<video filter="lavvideodec" />
<audio filter="lavaudiodec" />
</rule>
<!-- New rule for preferred streaming source filter -->
<rule url="true" filetypes=".*">
<source filter="lavsource" />
</rule>



you also have to delete the protocols above from playercorefactory


RE: Kodi DSPlayer – DirectShow Player for Windows - lanzorg - 2015-06-26

This is what I get inside my playercorefactory.xml file:

Code:
<playercorefactory>
    <!-- <rules action="prepend">
        <rule protocols="daap|rtv|rtsp|rtmp|http|https|rtmpe|rtsp|mms|rtp|pv" player="DVDPlayer" />
    </rules> -->
</playercorefactory>

And my mediasconfig.xml file:

Code:
<mediasconfig>
    <rules>
        <rule protocols="rtsp|daap|rtv|rtmp|http|https|rtmpe|mms|rtp">
            <splitter filter="lavsplitter" />
            <video filter="lavvideodec" />
            <audio filter="lavaudiodec" />
            <subs filter="xysubfilter" />
        </rule>
        <!-- New rule for preferred streaming source filter -->
        <rule url="true" filetypes=".*">
            <source filter="lavsource" />
        </rule>
        <rule filetypes="mkv|avi|divx|ogm|mp4|mov|m4v|flv|m2v|mpeg|mpg|mts|m2ts|ts|bdmv">
            <source filter="lavsource" />
            <splitter filter="lavsplitter" />
            <video filter="lavvideo" />
            <audio filter="lavaudio" />
            <subs filter="xysubfilter" />
        </rule>
        <rule filetypes="wmv">
            <source filter="wmasfreader" />
            <splitter filter="wmasfreader" />
            <video filter="wmvideodecoder" />
            <audio filter="wmaudiodecoder" />
            <subs filter="xysubfilter" />
        </rule>
        <!-- You need Real Alternative in order to read real media files -->
        <rule filetypes="rmvb">
            <source filter="realsource" />
            <splitter filter="realsplitter" />
            <video filter="realvideodec" />
            <audio filter="realaudiodec" />
            <subs filter="xysubfilter" />
        </rule>
    </rules>
</mediasconfig>

Are they correct?

I've got some improvements, thanks Ed76.

The twitchtv video addon works perfectly with dsplayer.

The ted talks addons works too but there is no longer any subtitle.
Do the subtitles work on your system?

The vimeo video addon doesn't work with dsplayer.
Does it work on your system?

The lives from the youtube addon don't work at all with dsplayer.
Does it work on your system?


RE: Kodi DSPlayer – DirectShow Player for Windows - Bjur - 2015-06-26

I have a problem with subtitles. I have just upgraded my configuration and running 14.2 with xysubfilter but am having problems with subtitles not loading correctly. My problem is that when I download a subtitle it doesn't get displayed. Have to restart video and sometimes browse and enable subtitle again.

1. Should I do a clean install of the system with beta versions or wait for final 15?
2. Is xyvssub better that xysubfilter?


RE: Kodi DSPlayer – DirectShow Player for Windows - lanzorg - 2015-06-26

(2015-06-26, 11:46)Bjur Wrote: 1. Should I do a clean install of the system with beta versions or wait for final 15?
2. Is xyvssub better that xysubfilter?

Use the isengard beta version only, I've got any problems with xysubfilter for subtitles.


RE: Kodi DSPlayer – DirectShow Player for Windows - MKANET - 2015-06-26

I finally got DSPlayer stable and dependable after updating Yatse2 (Thanks GlennNZ!). I'm curious, when I enable FullScreen Exclusive mode (I'm using DX11` with 10bit), it takes several seconds before the video starts to show; same with switching to WIndow mode. Is there any way at all to have FullScreen Exclusive AND Window Mode switch delay reduced down to 1 second or so? If so, what specifically should I change in the settings?

If it will cause dropped frames temporarily (when starting too soon), I can live with that.


RE: Kodi DSPlayer – DirectShow Player for Windows - Ed76 - 2015-06-26

(2015-06-26, 11:37)lanzorg Wrote: This is what I get inside my playercorefactory.xml file:

Code:
<playercorefactory>
    <!-- <rules action="prepend">
        <rule protocols="daap|rtv|rtsp|rtmp|http|https|rtmpe|rtsp|mms|rtp|pv" player="DVDPlayer" />
    </rules> -->
</playercorefactory>

And my mediasconfig.xml file:

Code:
<mediasconfig>
    <rules>
        <rule protocols="rtsp|daap|rtv|rtmp|http|https|rtmpe|mms|rtp">
            <splitter filter="lavsplitter" />
            <video filter="lavvideodec" />
            <audio filter="lavaudiodec" />
            <subs filter="xysubfilter" />
        </rule>
        <!-- New rule for preferred streaming source filter -->
        <rule url="true" filetypes=".*">
            <source filter="lavsource" />
        </rule>
        <rule filetypes="mkv|avi|divx|ogm|mp4|mov|m4v|flv|m2v|mpeg|mpg|mts|m2ts|ts|bdmv">
            <source filter="lavsource" />
            <splitter filter="lavsplitter" />
            <video filter="lavvideo" />
            <audio filter="lavaudio" />
            <subs filter="xysubfilter" />
        </rule>
        <rule filetypes="wmv">
            <source filter="wmasfreader" />
            <splitter filter="wmasfreader" />
            <video filter="wmvideodecoder" />
            <audio filter="wmaudiodecoder" />
            <subs filter="xysubfilter" />
        </rule>
        <!-- You need Real Alternative in order to read real media files -->
        <rule filetypes="rmvb">
            <source filter="realsource" />
            <splitter filter="realsplitter" />
            <video filter="realvideodec" />
            <audio filter="realaudiodec" />
            <subs filter="xysubfilter" />
        </rule>
    </rules>
</mediasconfig>

Are they correct?

I've got some improvements, thanks Ed76.

The twitchtv video addon works perfectly with dsplayer.

The ted talks addons works too but there is no longer any subtitle.
Do the subtitles work on your system?

The vimeo video addon doesn't work with dsplayer.
Does it work on your system?

The lives from the youtube addon don't work at all with dsplayer.
Does it work on your system?


hi,
i dont use this addons.
in your playercorefactory you define the protocols used with dvd player (= kodis internal player). thats why you have to delete there the protocols that are included in mediasconfig (=dsplayer).

start kodi and play a internet stream that will not work with dsplayer. go to folder "roaming" and open kodi.log file. you will see below the url kodi tries to open. whats the protocol? is it a protocol defined in mediasconfig? if not you have to include it and try again. lav support a wide range of protocols.


RE: Kodi DSPlayer – DirectShow Player for Windows - lanzorg - 2015-06-27

Code:
Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.vimeo/play/?video_id=63892510]
Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/play/?video_id=mO42yf0lU1o]

I've got this, there is a problem to play url with "plugin" protocol.
By plugin protocol, does it mean flash player? If yes, how to bind it with dsplayer just like dvdplayer?