Kodi Community Forum

Full Version: Kodi DSPlayer – DirectShow Player for Windows
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
I forgot to say thank you again so much on your work with all of this. Pushing the boundaries forward to get that right look and it is beautiful.
I've found titles mastered at 1,000 nits look pretty accurate at 200 nits. The two titles mastered at 4,000 nits with consistent brightness around 1,000 nits made me question the color accuracy. I don't know if this is true for every 4,000 nits title, but color correction for 4,000 nits titles could be less accurate. Given how new HDR -> SDR is, I would expect that formulas will be shared among developers over the next couple of years until a good compromise is found. What is there is just a starting point. Many projector owners have an issue with the low brightness tone mapping of the projector's factory HDR mode, so there is an audience for video processing like madVR or Lumagen.
@toki5,

I've attached the files I was using for black and white clipping. I couldn't get a response from any experts on whether these are accurate at 8-bits with an SDR gamma curve rather than true PQ, but they could provide some benefit. The 8-bit black clipping video is short and requires a lot of patience to adjust. Changes in target nits should produce small changes, while changes in gamma curves will produce large changes. The white clipping video is only useful up to 1,000 nits. Lower targets nits will clip early and higher target nits will clip late. Many values will likely clip the same, so you would still have to adjust by eye. It is unlikely to produce a perfect result with actual content and you might have trouble getting proper black clipping. The eye test is still necessary, and you really need the next build to get the full benefit.

HDR10 Test Patterns - Black & White Clipping

I would go to the DisplayCAL forums and inquire about using HDR -> SDR 3D LUTs in madVR. If you have a meter, that would probably be the best way to get a proper grayscale and brightness. 

This is the image I got on a plasma monitor with some black clipping (a sample from Red Sparrow): 

Image

Another display looks a little different, but the overall brightness looks accurate.
thank you very much for the reply. I will give this a look and see what adjustments I can make. I have already made a forum post over there and they aren't responding to me just yet.
I have already looked at different 3dluts with the hdr to sdr luts and my problem with it is that it's too dark. It's a lut over a lut for rec709 so the blacks are too dark and really loses detail in my opinion so I switched back to madvr shader math.
I'm facing stuttering when using madVR (latest) with DSPlayer. The decoder queue reaches 1-3/24 very quickly and the video starts stuttering. Audio does not stutter. 
This problem is not faced when using identical settings of madVR on MPC-HC or MPC-BE. Here is a screenshot from MPC-BE:
Image

When using DSPlayer:
Image

Here are my Kodi settings:
https://imgur.com/a/AP18oNg


Here is the debug log:
https://pastebin.com/nYqzG0ac


System:
i7 4790k with 16GB RAM
GTX 1080
Windows 10 Pro
You aren't using hardware decoding. Why is that? It is definitely a video decoding issue and nothing else. Try D3D11 Automatic or DXVA2 copy-back. DSPlayer may be using more of your CPU.
(2018-07-22, 17:08)Warner306 Wrote: [ -> ]You aren't using hardware decoding. Why is that? It is definitely a video decoding issue and nothing else. Try D3D11 Automatic or DXVA2 copy-back. DSPlayer may be using more of your CPU.
  

iirc none of the hardware decoding methods results in 10bit playback?
(2018-07-22, 17:58)xinseo Wrote: [ -> ]
(2018-07-22, 17:08)Warner306 Wrote: [ -> ]You aren't using hardware decoding. Why is that? It is definitely a video decoding issue and nothing else. Try D3D11 Automatic or DXVA2 copy-back. DSPlayer may be using more of your CPU.
  

iirc none of the hardware decoding methods results in 10bit playback?

Was able to fix it by 2 methods. Both worked fine but no. 2 is better.

1. Using x64 version instead of x86 fixed the stuttering but CPU usage was 80%

2. Using DXVA2 copy back as video decoder worked as well and CPU usage was under 10%. Perfect!

Thank you!
(2018-07-01, 19:25)Warner306 Wrote: [ -> ]
(2018-06-30, 18:21)entourage2111 Wrote: [ -> ]
(2018-06-29, 18:01)Warner306 Wrote: [ -> ] You need to change the folder options in Windows to see file extensions. You don't see them by default. I don't think nkv is a valid file extension. Try .flv instead.

If VideoPlayer is playing everything, DSPlayer is really not involved. So it shouldn't be an issue. The movie trailers could be a problem if Internet streams are set to be played by DSPlayer. You would have to try.

Some people have had trouble getting DSPlayer to recognize rules using filenames, so hopefully it works for you.  
Thanks Warner. Did as you recommended and have got it working but not a smooth experience overall in that department. I see a pause buffer screen between the MPAA and the movie itself which doesn't look quite smooth so rather not use it. Is there a way to show just a black screen whilst we move from Audio clips > MPAA > movie?    
 The playercorefactory rules might be slowing things down. There isn't anything you can do about the transition to DSPlayer. It just isn't meant to be used with that add-on. I tried it once a while ago and gave up. It is a good add-on and I've collected all of the required intro videos, but it's not worth dumping DSPlayer just to use it.

I am assuming the experience should be smooth, as well, but maybe the add-on just sucks. Who knows.   
 Hi,
 
This post is just a follow up to what I quoted above. I tried really hard to get cinema vision working perfectly in my setup as I really wanted access to hue automated light controls as well as Rating bumpers in my setup to get the complete cinema feel.
 
I did fail at the time because the process wasn’t smooth, but since I posted I no longer run DSPLAYER on a virtual machine in my server. I now have a dedicated HTPC and am happy to say that was the difference between having a smooth experience.
 
Cinemavission now works perfect with DSPlayer with no delays/crashes. I am very happy following "Warner306" advice by changing file naming conventions to get this all working. For those interested please look up the posts above for a proper explanation on how to setup cinema vision with DSPlayer.
 
Thanks
I have finally got Kodi and dsplayer working with a few minor glitches.

1. Sometimes when stopping a film the picture goes really small and to the top left of the screen.
2. Not a Kodi issue, but whenever I select a custom resolution in Windows to get less frame drops if I reboot or go back to the desktop Windows selects the native resolution. Very annoying. I am using the latest nvidia drivers.

I need smooth playback as frame drops really annoy me.
Just to note. I've replaced the XySubFilter with the AssFilterMod and it seems the video playback became smoother. I'm going to keep it.
(2018-07-29, 14:14)Garry74 Wrote: [ -> ]I have finally got Kodi and dsplayer working with a few minor glitches.

1. Sometimes when stopping a film the picture goes really small and to the top left of the screen.
2. Not a Kodi issue, but whenever I select a custom resolution in Windows to get less frame drops if I reboot or go back to the desktop Windows selects the native resolution. Very annoying. I am using the latest nvidia drivers.

I need smooth playback as frame drops really annoy me.
 I'm not exactly sure what causes the video to go into the corner of the screen. It is obviously a resolution changing issue.

Some troubleshooting:

- Did you determine if the custom resolution is causing this?
- Have you tried using refresh rate switching with Kodi and madVR but not both at the same time?
- Did you set Kodi to a fullscreen window rather than a true fullscreen?
- Did you try setting Kodi to another resolution like 1920 x 1080p?
- Did you try enabling and disabling fullscreen exclusive mode along with the option to disable fullscreen exclusive mode on stop in DSPlayer?

I don't think the custom resolution issue is that big of a problem. People having been using Windows media players for years without ever noticing the odd frame drop or repeat. It is sometimes in your head. The newest Nvidia driver should give you one frame drop or repeat every 12-14 minutes.

If you do use a custom resolution, you may have trouble switching into 12-bit and having that change stick. If you really want the custom resolution, I would just create it at 8-bits and use the dithering of madVR. You are unlikely to notice the difference. Also, try another optimized clock if the one you are using is giving you problems.
(2018-07-29, 17:04)arabesc Wrote: [ -> ]Just to note. I've replaced the XySubFilter with the AssFilterMod and it seems the video playback became smoother. I'm going to keep it.
It is the newest subtitle filter out there, so it should be decent. MPC-BE won't support it for some reason because of the way it is designed.
Turning off full screen window seems to have done the trick.

Thanks for the help.
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