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 - Jayedog - 2017-03-03

(2017-03-02, 18:16)ashlar Wrote: I use Sanear. To adjust lipsynch you need to configure LAV Filters Audio.

To Jayedog, why do you want to use libassfiltermod instead of xysubfilter?

read it might be better. with xysubfilter the subtitle sizes appear bigger on the same size setting when the video has no black bars. Anyone know why that is the case?


RE: Kodi DSPlayer – DirectShow Player for Windows - ashlar - 2017-03-03

(2017-03-03, 11:45)Jayedog Wrote:
(2017-03-02, 18:16)ashlar Wrote: I use Sanear. To adjust lipsynch you need to configure LAV Filters Audio.

To Jayedog, why do you want to use libassfiltermod instead of xysubfilter?

read it might be better. with xysubfilter the subtitle sizes appear bigger on the same size setting when the video has no black bars. Anyone know why that is the case?
Yes. Because the subtitles size is proportional to the video window's size.
I solved this with a set of rules, while alternating between vsFilter and Xysubfilter. But that works for me because I tend to watch movies only in hi-res (and movies are the ones with black bars). So vsFilter (which does not have the problem) is used when black bars are present, while xySubfilter is used when there are no black bars.
Unfortunately it's a sorry state of things of which I'm sadly aware.


RE: Kodi DSPlayer – DirectShow Player for Windows - Talguy - 2017-03-03

(2017-03-03, 16:29)ashlar Wrote:
(2017-03-03, 11:45)Jayedog Wrote:
(2017-03-02, 18:16)ashlar Wrote: I use Sanear. To adjust lipsynch you need to configure LAV Filters Audio.

To Jayedog, why do you want to use libassfiltermod instead of xysubfilter?

read it might be better. with xysubfilter the subtitle sizes appear bigger on the same size setting when the video has no black bars. Anyone know why that is the case?
Yes. Because the subtitles size is proportional to the video window's size.
I solved this with a set of rules, while alternating between vsFilter and Xysubfilter. But that works for me because I tend to watch movies only in hi-res (and movies are the ones with black bars). So vsFilter (which does not have the problem) is used when black bars are present, while xySubfilter is used when there are no black bars.
Unfortunately it's a sorry state of things of which I'm sadly aware.

This sounds cool and use for everyone else. Can you post your rules file for us to use / base our own rules on?


RE: Kodi DSPlayer – DirectShow Player for Windows - ashlar - 2017-03-03

Sure.

mediaconfig.xml Wrote:
Code:
<subs>
     <subs videoaspect="1.33|1.66|1.78" filter="xysubfilter" />
     <subs videoaspect="1.85|2.20|2.35|2.40" filter="directvobsub_(auto-loading_version)" />
</subs>

The idea is to use xysubsfilter (that renders at high resolution independently from video resolution) for videos that fill the top and bottom portion of the screen. Tipically 1.33 (4:3) content is low resolution, but subs are rendered in high res, thanks to xysubsfilter.

Directvobsub_(auto-loading_version) is used for content that does not fill the bottom portion of the screen. For me that is typically hi-res content, so subs are rendered in hi-res anyway. Your mileage might vary in this regard.


RE: Kodi DSPlayer – DirectShow Player for Windows - pagali - 2017-03-03

(2017-03-03, 21:03)ashlar Wrote: Sure.

mediaconfig.xml Wrote:
Code:
<subs>
     <subs videoaspect="1.33|1.66|1.78" filter="xysubfilter" />
     <subs videoaspect="1.85|2.20|2.35|2.40" filter="directvobsub_(auto-loading_version)" />
</subs>

The idea is to use xysubsfilter (that renders at high resolution independently from video resolution) for videos that fill the top and bottom portion of the screen. Tipically 1.33 (4:3) content is low resolution, but subs are rendered in high res, thanks to xysubsfilter.

Directvobsub_(auto-loading_version) is used for content that does not fill the bottom portion of the screen. For me that is typically hi-res content, so subs are rendered in hi-res anyway. Your mileage might vary in this regard.
This is encouraging! This subtitle oddity is the one thing that's been keeping me from using DSPlayer exclusively. Curious about one thing... is there a reason not to use directvobsub for everything? I've used it with ZoomPlayer for years. And if not, how would I set that up in DSPlayer?

ETA: Never mind, I got it to work! You gave me the hint I needed. Thank you so much! Big Grin


RE: Kodi DSPlayer – DirectShow Player for Windows - Jayedog - 2017-03-03

(2017-03-03, 21:03)ashlar Wrote: Sure.

mediaconfig.xml Wrote:
Code:
<subs>
     <subs videoaspect="1.33|1.66|1.78" filter="xysubfilter" />
     <subs videoaspect="1.85|2.20|2.35|2.40" filter="directvobsub_(auto-loading_version)" />
</subs>

Ashlar thanks for this. It should def solve the sizing issue.Cool


RE: Kodi DSPlayer – DirectShow Player for Windows - kusanagi - 2017-03-04

(2017-03-03, 22:20)pagali Wrote:
(2017-03-03, 21:03)ashlar Wrote: Sure.

mediaconfig.xml Wrote:
Code:
<subs>
     <subs videoaspect="1.33|1.66|1.78" filter="xysubfilter" />
     <subs videoaspect="1.85|2.20|2.35|2.40" filter="directvobsub_(auto-loading_version)" />
</subs>

The idea is to use xysubsfilter (that renders at high resolution independently from video resolution) for videos that fill the top and bottom portion of the screen. Tipically 1.33 (4:3) content is low resolution, but subs are rendered in high res, thanks to xysubsfilter.

Directvobsub_(auto-loading_version) is used for content that does not fill the bottom portion of the screen. For me that is typically hi-res content, so subs are rendered in hi-res anyway. Your mileage might vary in this regard.
This is encouraging! This subtitle oddity is the one thing that's been keeping me from using DSPlayer exclusively. Curious about one thing... is there a reason not to use directvobsub for everything? I've used it with ZoomPlayer for years. And if not, how would I set that up in DSPlayer?

ETA: Never mind, I got it to work! You gave me the hint I needed. Thank you so much! Big Grin

I solved the same problem differently, in a way that dsplayer is always using xysubfilter.

I created a media rule to play all file types using lavsplitter, lavvideo, lavaudio, xysubfilter, and ffdshow raw video filter as an "extra filter". You can download that filter from here and then add it to dsplayer in "filters configuration" under filters management.

ffdshow raw filter has an option (and is the only one that I use) to resize your videos while keeping aspect ratio. So, in simple terms, it can "add" black bars, making your video renderer think all your media is, for example, in 16:9. Your movies will look the same but now the subs will have the same size in any scenario.

I know you have everything sorted out, but someone might be interested in this alternative. Smile


RE: Kodi DSPlayer – DirectShow Player for Windows - Jayedog - 2017-03-04

(2017-03-04, 04:14)kusanagi Wrote: I solved the same problem differently, in a way that dsplayer is always using xysubfilter.

I created a media rule to play all file types using lavsplitter, lavvideo, lavaudio, xysubfilter, and ffdshow raw video filter as an "extra filter". You can download that filter from here and then add it to dsplayer in "filters configuration" under filters management.

ffdshow raw filter has an option (and is the only one that I use) to resize your videos while keeping aspect ratio. So, in simple terms, it can "add" black bars, making your video renderer think all your media is, for example, in 16:9. Your movies will look the same but now the subs will have the same size in any scenario.

I know you have everything sorted out, but someone might be interested in this alternative. Smile

Nice this worked good!


RE: Kodi DSPlayer – DirectShow Player for Windows - ashlar - 2017-03-04

(2017-03-03, 22:20)pagali Wrote: Curious about one thing... is there a reason not to use directvobsub for everything? I've used it with ZoomPlayer for years. And if not, how would I set that up in DSPlayer?
Yes, there is. While watching SD material subtitles are rendered in low resolution. Which makes them kind of ugly to watch. Smile


RE: Kodi DSPlayer – DirectShow Player for Windows - ashlar - 2017-03-04

(2017-03-04, 04:14)kusanagi Wrote: I solved the same problem differently, in a way that dsplayer is always using xysubfilter.

I created a media rule to play all file types using lavsplitter, lavvideo, lavaudio, xysubfilter, and ffdshow raw video filter as an "extra filter". You can download that filter from here and then add it to dsplayer in "filters configuration" under filters management.

ffdshow raw filter has an option (and is the only one that I use) to resize your videos while keeping aspect ratio. So, in simple terms, it can "add" black bars, making your video renderer think all your media is, for example, in 16:9. Your movies will look the same but now the subs will have the same size in any scenario.

I know you have everything sorted out, but someone might be interested in this alternative. Smile
That's quite clever! I thought about doing it, back then, decided against it because I feared the extra computational aspect of that and the potential to throw a "wrench" in a well oiled mechanism. But my fears are probably unfounded and this looks definitely as a working solution (with the added advantage of giving you hi-res subs even for SD 1.78/1.85/2.35:1 material).


RE: Kodi DSPlayer – DirectShow Player for Windows - ThePower43 - 2017-03-04

Dear community, I'm currently in the final phase of setting up my Kodi 17.0.1 + DS Player (+ madVR) configuration. There are two main problems left for me and I would be very happy if you can help me with this. Lets start with my configuration and hopefully all required sofware versions:

My system:
Intel Core i3-7350K
8 GB Corsair DDR4-2666 Mhz Ram
Gigabyte GTX 1050 TI Windforce with driver version 378.66
Windows 10 Pro x64

AV-Receiver:
Pioneer VSX-1131

Software versions and configuration:
Image

Image

Image


1. When I try to play a movie the DSPlayer is switching in to the fullscreen mode, my display is black for 2-3 seconds (this is fine, I can see on my receiver that the display mode is switched) but then the DS player is showing up like this:

watch gallery


As you can see on my screenshot the player is not switching correclty into the fullscreen mode and the windows taskbar is always visisble. If I hit "alt + enter" then the player is switching into the correct fullscreen mode without showing the windows taskbar anymore. Did I do something wrong configuration wise or what do I need to do in order to fix this problem?

2. My second problem is related to viewing 3D movies. I have a Samsung TV with active 3D (plus shutter 3D glases), and everytime I try to watch a movie in 3D the DS player is not switching into the correct mode as well. This happens even when I force the TV with my remote into the 3D mode via 3D button. What do I need to setup here to get it work.?

Thanks in advance for your help! Smile


RE: Kodi DSPlayer – DirectShow Player for Windows - kusanagi - 2017-03-04

(2017-03-04, 16:28)ashlar Wrote:
(2017-03-04, 04:14)kusanagi Wrote: I solved the same problem differently, in a way that dsplayer is always using xysubfilter.

I created a media rule to play all file types using lavsplitter, lavvideo, lavaudio, xysubfilter, and ffdshow raw video filter as an "extra filter". You can download that filter from here and then add it to dsplayer in "filters configuration" under filters management.

ffdshow raw filter has an option (and is the only one that I use) to resize your videos while keeping aspect ratio. So, in simple terms, it can "add" black bars, making your video renderer think all your media is, for example, in 16:9. Your movies will look the same but now the subs will have the same size in any scenario.

I know you have everything sorted out, but someone might be interested in this alternative. Smile
That's quite clever! I thought about doing it, back then, decided against it because I feared the extra computational aspect of that and the potential to throw a "wrench" in a well oiled mechanism. But my fears are probably unfounded and this looks definitely as a working solution (with the added advantage of giving you hi-res subs even for SD 1.78/1.85/2.35:1 material).

I had the same fear, but at least in my case I didn't notice an increase in CPU usage Wink. I'm using kodi dsplayer x64 btw.


RE: Kodi DSPlayer – DirectShow Player for Windows - ashlar - 2017-03-04

kusanagi, mind walking everybody through the steps you take to achieve what we seek with ffdshow raw?

I think you go to the "Resize & aspect" tab and activate resize, using "Specify aspect ratio" and setting it at 16:9.

Then go to the borders submenu, activate "Outside" borders, leaving Percent at 0%, Dividing borders at 50 for both Vertical and Horizontal and Brightness at 0 (we want black bars, not grey ones).

Is this correct?

The only doubt that I have with this setup is that something happens to the picture itself. It doesn't appear like it but... I'm not sure the resize algorithm, once activated, is smart enough not to work on the whole picture. Which might be fine and dandy for 1080p 1.85/2.35:1 material (as the video portion won't be resized) but... let me check with SD stuff fullscreen (1.78).
Yes, ok... with SD stuff, everything seems fine if you have black borders to add. But if you don't have borders to add, unfortunately, ffdshow's rescaling algorithm will activate for the video content, bypassing madVR's more advanced one.

My suggestion is to combine your approach with mine, activating ffdshow raw only in case there are black bars, so only for 1.85|2.20|2.35|2.40 aspect ratios.


RE: Kodi DSPlayer – DirectShow Player for Windows - Warner306 - 2017-03-04

(2017-03-04, 16:50)ThePower43 Wrote: Dear community, I'm currently in the final phase of setting up my Kodi 17.0.1 + DS Player (+ madVR) configuration. There are two main problems left for me and I would be very happy if you can help me with this. Lets start with my configuration and hopefully all required sofware versions:

My system:
Intel Core i3-7350K
8 GB Corsair DDR4-2666 Mhz Ram
Gigabyte GTX 1050 TI Windforce with driver version 378.66
Windows 10 Pro x64

AV-Receiver:
Pioneer VSX-1131

Software versions and configuration:
Image

Image

Image


1. When I try to play a movie the DSPlayer is switching in to the fullscreen mode, my display is black for 2-3 seconds (this is fine, I can see on my receiver that the display mode is switched) but then the DS player is showing up like this:

watch gallery


As you can see on my screenshot the player is not switching correclty into the fullscreen mode and the windows taskbar is always visisble. If I hit "alt + enter" then the player is switching into the correct fullscreen mode without showing the windows taskbar anymore. Did I do something wrong configuration wise or what do I need to do in order to fix this problem?

2. My second problem is related to viewing 3D movies. I have a Samsung TV with active 3D (plus shutter 3D glases), and everytime I try to watch a movie in 3D the DS player is not switching into the correct mode as well. This happens even when I force the TV with my remote into the 3D mode via 3D button. What do I need to setup here to get it work.?

Thanks in advance for your help! Smile

Try disabling Windows overlay, fullscreen exclusive mode, use a separate device and DX11 presentation path. Try different combinations. Fullscreen exclusive mode must be disabled from Kodi.

Did you enable anything in zoom control? Also, you could let Kodi handle refresh rate switching rather than madVR.

As for 3D, I don't know. You might be better off using MPC-HC or Kodi VideoPlayer for 3D videos. Are you sure the input is MPEG4-MVC and not side-by-side or something else?


RE: Kodi DSPlayer – DirectShow Player for Windows - grossbard - 2017-03-04

(2017-03-03, 01:53)grossbard Wrote: I have a strange problem. Any files I play with a DTS-HD MA audio track drops frames every second, but Dolby TrueHD and DD are fine. When I play the same file in mpc-hc (also with madVR), there are no dropped frames. I am bitstreaming and using wasapi output to my receiver. Any advice?

Installed sanear and it's working great now.