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 - mclingo - 2018-03-25

glad it works and if you are happy with your results thats all that matters.

If you do want to do some extra processing in MADVR in the future you will have to look at your setup as there is definitely wrong as my inferior RX 460 card will happily chew through full remuxed 4k HDR material no problem in copyback mode, i like to add a little sharpening using NGU sharp to my 108op remux rips which is why I dont use NATIVE.


RE: Kodi DSPlayer – DirectShow Player for Windows - asagala - 2018-03-25

(2018-03-25, 15:24)mclingo Wrote: glad it works and if you are happy with your results thats all that matters.

If you do want to do some extra processing in MADVR in the future you will have to look at your setup as there is definitely wrong as my inferior RX 460 card will happily chew through full remuxed 4k HDR material no problem in copyback mode, i like to add a little sharpening using NGU sharp to my 108op remux rips which is why I dont use NATIVE.

I might be mistaken but I think native/copy back madvr issues only apply to d3d9 and not d3d11. Pretty sure I read this in one of the madvr guides.

Edit: From Asmodian MadVR guide "-DXVA2 Native DX9 hardware decoding returns bad quality (blurred chroma) on Nvidia GPUs. The DX11 hardware decoding API (D3D11VA) that is used when LAV Video is set to D3D11 Automatic (so native decoding is used), and madVR is set to use Direct3D 11, avoids these problems. "
https://forum.doom9.org/showthread.php?t=171787


RE: Kodi DSPlayer – DirectShow Player for Windows - mkohman - 2018-03-25

Thanks.. I appreciate your help.. I think it may be because my motherboard is not PCI-E 3..is your motherboard pci express 3?


RE: Kodi DSPlayer – DirectShow Player for Windows - mclingo - 2018-03-25

mine is an ageing PCI-E 2.0 but these cards only have 8 lanes so its ok for mine, just not sure what putting it in a PCI 1.0 bus would do, ask on the MADVR forum.


RE: Kodi DSPlayer – DirectShow Player for Windows - mclingo - 2018-03-25

everything i read about PCI 1.0 suggest its backward compatible and that the bottleneck is minor, still think you have something set wrong somewhere in MADVR, are you sure you followed my guide to the letter, there could also be issues with DS setup but I cant think of any that would effect rendering times.

To rule out DS I'd go back to MPC-HC for now for testing until we can get to the bottom of whats going on, leave DS in native mode so you can at least use your HTPC in the meantime. If you post any more info or screen shots make sure they are from MPC-HC and that you are in DIRECT3D copyback mode like this:

https://www.dropbox.com/s/urjz9hhaf9dhai8/Screenshot%202018-03-25%2015.17.16.png?dl=0


RE: Kodi DSPlayer – DirectShow Player for Windows - mkohman - 2018-03-25

I have managed to sort the issue out (well) part of .. So The issue I was having was in the video decoder in Kodi DS Player and MadVR I have the "Hardware Decoder to Use" as D3D11 selected but had the "Device to Use" as the Radeon RX560.. However when I changed the "Device to Use" to Automatic (Native) the playback was smooth and rendering is around 16ms for 4K H265 movies.

This was with HDMI plugged straight from the card to my 4K Sony TV and HDR was automatically detected. However when I plug it into my Projector (JVC x5900) via my Anthem AVM60 the playback is again smooth but it isn't automatically switching the picture mode to HDR.. It's showing the picture setting at natural and the video is still 8bit rather than 10bit in the JVC info panel when I hit the info button.

Also sometimes when I stop playback sometime I just get "No Signal" displayed on my Anthem and no picture on the JVC.. I am not sure if this is an issue with the motherboard and GPU. My GPU is RX 560 4GB DDR5 PCI-E 3rd gen whilst my motherboard is a LGA1156 with an intel i3 PCI-E x16 slot but Gen1 so technically the card is running in a Gen 1 mode I guess. If this is the case I may need to buy a new motherboard, a new i3 or i5 or i7? and new DDR4 ram along with a new PSU as my current PSU is 300w...

OR it just may be a case that my PSU is not powerfull enough? I would really appreciate the help if you can please. Thank you ..

Edit: My CPU load is around 20-30% so nothing major at all when playing 4K movies.. Also Ram is around 55% .. I have 4GB DDR3 ram..


RE: Kodi DSPlayer – DirectShow Player for Windows - Warner306 - 2018-03-25

(2018-03-25, 16:28)mkohman Wrote: I have managed to sort the issue out (well) part of .. So The issue I was having was in the video decoder in Kodi DS Player and MadVR I have the "Hardware Decoder to Use" as D3D11 selected but had the "Device to Use" as the Radeon RX560.. However when I changed the "Device to Use" to Automatic (Native) the playback was smooth and rendering is around 16ms for 4K H265 movies.

This was with HDMI plugged straight from the card to my 4K Sony TV and HDR was automatically detected. However when I plug it into my Projector (JVC x5900) via my Anthem AVM60 the playback is again smooth but it isn't automatically switching the picture mode to HDR.. It's showing the picture setting at natural and the video is still 8bit rather than 10bit in the JVC info panel when I hit the info button.

Also sometimes when I stop playback sometime I just get "No Signal" displayed on my Anthem and no picture on the JVC.. I am not sure if this is an issue with the motherboard and GPU. My GPU is RX 560 4GB DDR5 PCI-E 3rd gen whilst my motherboard is a LGA1156 with an intel i3 PCI-E x16 slot but Gen1 so technically the card is running in a Gen 1 mode I guess. If this is the case I may need to buy a new motherboard, a new i3 or i5 or i7? and new DDR4 ram along with a new PSU as my current PSU is 300w...

OR it just may be a case that my PSU is not powerfull enough? I would really appreciate the help if you can please. Thank you ..

Edit: My CPU load is around 20-30% so nothing major at all when playing 4K movies.. Also Ram is around 55% .. I have 4GB DDR3 ram..
Copy-back failing may mean your system doesn't have enough RAM (not VRAM, but system RAM), as that's how copy-back works. This decoder is new, so this could be a bug. With that said, just use native mode. There is no downside to doing this. This has nothing to do with madVR. This is a problem with LAV Video. I don't understand why your decoder queue was full, but that's where it was failing. Again, video decoding has nothing to do with madVR processing. You are not missing anything in madVR. This is all about LAV Video. LAV Video decodes the video BEFORE it gets to madVR. Regular copy-back may work for you, but you may run into same problem. Use D3D11 native. Problem solved.

You should leave chroma upscaling at NGU low or medium, as your rendering times were still under 41ms. The quality will be higher. Start with low and work up to medium. You could even use debanding at low if you have extra resources.

Lastly, the issue you are having with your receiver would have nothing to do with your CPU or motherboard. You have already proved this works by hooking it up directly to your television. The Anthem AVM60 or the projector is not calibrated correctly to pass 10-bit HDR signals. Does it even support this kind of passthrough? That could be the bigger problem. If you have two HDMI outputs, one can go to your projector for the video and the other to the receiver for the audio. You need to find out if your receiver supports HDR passthrough and if your projector is set up correctly. I don't think this is an issue with your PC.

I hope this helps clear things up.


RE: Kodi DSPlayer – DirectShow Player for Windows - Warner306 - 2018-03-25

(2018-03-25, 14:33)MaxMan23 Wrote: Hello to all,

is there anyone who can compile the DSPlayer version? I added a Video search filter (age rating) and would like to compile it. (Unfortunately, the sdk are 6gb in size). Could anyone who compile Kodi with a new file (GUIDialogMediaFilter.cpp)?

329727 (thread)
 Only aracnoz can do this. And he likely won't be around until there is a stable release of Kodi v18. So you may have to return in several months (most likely).


RE: Kodi DSPlayer – DirectShow Player for Windows - mclingo - 2018-03-25

I was wrong about that then, I was told that if native was deployed MADVR processing was bypassed, after reading further its only bypassed on the CPU which doesnt effect quality. However doesnt CHROMA get blurred using NATIVE?


RE: Kodi DSPlayer – DirectShow Player for Windows - Warner306 - 2018-03-25

I think you are confusing this with DXVA2 image upscaling, which bypasses madVR processing.

The issues with native decoding surrounded DXVA2 Native, not D3D11, which is brand new. The recommendation for years was to use copy-back because of the issues with DXVA2 Native and CUVID. D3D11 has added a second decoding option. The problem was the video was not be decoded properly in all circumstances. D3D11 should be the default setting for hardware acceleration for any new hardware.


RE: Kodi DSPlayer – DirectShow Player for Windows - mkohman - 2018-03-25

(2018-03-25, 17:43)Warner306 Wrote:
(2018-03-25, 16:28)mkohman Wrote: I have managed to sort the issue out (well) part of .. So The issue I was having was in the video decoder in Kodi DS Player and MadVR I have the "Hardware Decoder to Use" as D3D11 selected but had the "Device to Use" as the Radeon RX560.. However when I changed the "Device to Use" to Automatic (Native) the playback was smooth and rendering is around 16ms for 4K H265 movies.

This was with HDMI plugged straight from the card to my 4K Sony TV and HDR was automatically detected. However when I plug it into my Projector (JVC x5900) via my Anthem AVM60 the playback is again smooth but it isn't automatically switching the picture mode to HDR.. It's showing the picture setting at natural and the video is still 8bit rather than 10bit in the JVC info panel when I hit the info button.

Also sometimes when I stop playback sometime I just get "No Signal" displayed on my Anthem and no picture on the JVC.. I am not sure if this is an issue with the motherboard and GPU. My GPU is RX 560 4GB DDR5 PCI-E 3rd gen whilst my motherboard is a LGA1156 with an intel i3 PCI-E x16 slot but Gen1 so technically the card is running in a Gen 1 mode I guess. If this is the case I may need to buy a new motherboard, a new i3 or i5 or i7? and new DDR4 ram along with a new PSU as my current PSU is 300w...

OR it just may be a case that my PSU is not powerfull enough? I would really appreciate the help if you can please. Thank you ..

Edit: My CPU load is around 20-30% so nothing major at all when playing 4K movies.. Also Ram is around 55% .. I have 4GB DDR3 ram..
Copy-back failing may mean your system doesn't have enough RAM (not VRAM, but system RAM), as that's how copy-back works. This decoder is new, so this could be a bug. With that said, just use native mode. There is no downside to doing this. This has nothing to do with madVR. This is a problem with LAV Video. I don't understand why your decoder queue was full, but that's where it was failing. Again, video decoding has nothing to do with madVR processing. You are not missing anything in madVR. This is all about LAV Video. LAV Video decodes the video BEFORE it gets to madVR. Regular copy-back may work for you, but you may run into same problem. Use D3D11 native. Problem solved.

You should leave chroma upscaling at NGU low or medium, as your rendering times were still under 41ms. The quality will be higher. Start with low and work up to medium. You could even use debanding at low if you have extra resources.

Lastly, the issue you are having with your receiver would have nothing to do with your CPU or motherboard. You have already proved this works by hooking it up directly to your television. The Anthem AVM60 or the projector is not calibrated correctly to pass 10-bit HDR signals. Does it even support this kind of passthrough? That could be the bigger problem. If you have two HDMI outputs, one can go to your projector for the video and the other to the receiver for the audio. You need to find out if your receiver supports HDR passthrough and if your projector is set up correctly. I don't think this is an issue with your PC.

I hope this helps clear things up.  
Thank you so much .. this does clear things up and helps.. I have 4GB DDR3 RAM which I thought was enough, however as you say it may be a bug for the H265 codec...

I have MadVR and Kodi DS Player downloaded and installed, do I need to install LAV Filters as a standalone as well or is the filters in Kodi DSPlayer sufficient?

I will change my Chroma Upscaling to NGU low as you say and leave the rest as "Let MadVR decide".. What shall I be looking to target my rendering for? I mean what is the cut off line? currently with NGU low its around 28-33ms...

The Anthem AVM60 does support 4K HDR pass through but I need to see what the issue is.. Do you think it may be my GPU being underpowered by the PSU ? I have 300w PSU but in my computer I am only powering my motherboard 1 x 120gb SSD and the GPU as all my movies are being streamed through a gigabit lan server .. The server is based in another room with all the movies on. Do you think if I get a 600w PSU this may solve some issues or would it not make any difference? Thanks

Edit: Not sure if this will make any difference but I am using Windows 10 64BIT but the DSPlayer I am using is 32bit version.. Thanks


RE: Kodi DSPlayer – DirectShow Player for Windows - mclingo - 2018-03-25

brilliant, thanks for that, it can be hard to put all this together sometimes, often too many cooks.


RE: Kodi DSPlayer – DirectShow Player for Windows - mclingo - 2018-03-25

be careful with NGU with RX cards, the cost to me using NGU low for CHROMA is was 22ms alone, although now in native mode I can get NGU sharp medium for both CHROMA and UPSCALE for about 33ms in total, not bad for £100 card.


RE: Kodi DSPlayer – DirectShow Player for Windows - Warner306 - 2018-03-25

(2018-03-25, 19:54)mkohman Wrote:
(2018-03-25, 17:43)Warner306 Wrote:
(2018-03-25, 16:28)mkohman Wrote: I have managed to sort the issue out (well) part of .. So The issue I was having was in the video decoder in Kodi DS Player and MadVR I have the "Hardware Decoder to Use" as D3D11 selected but had the "Device to Use" as the Radeon RX560.. However when I changed the "Device to Use" to Automatic (Native) the playback was smooth and rendering is around 16ms for 4K H265 movies.

This was with HDMI plugged straight from the card to my 4K Sony TV and HDR was automatically detected. However when I plug it into my Projector (JVC x5900) via my Anthem AVM60 the playback is again smooth but it isn't automatically switching the picture mode to HDR.. It's showing the picture setting at natural and the video is still 8bit rather than 10bit in the JVC info panel when I hit the info button.

Also sometimes when I stop playback sometime I just get "No Signal" displayed on my Anthem and no picture on the JVC.. I am not sure if this is an issue with the motherboard and GPU. My GPU is RX 560 4GB DDR5 PCI-E 3rd gen whilst my motherboard is a LGA1156 with an intel i3 PCI-E x16 slot but Gen1 so technically the card is running in a Gen 1 mode I guess. If this is the case I may need to buy a new motherboard, a new i3 or i5 or i7? and new DDR4 ram along with a new PSU as my current PSU is 300w...

OR it just may be a case that my PSU is not powerfull enough? I would really appreciate the help if you can please. Thank you ..

Edit: My CPU load is around 20-30% so nothing major at all when playing 4K movies.. Also Ram is around 55% .. I have 4GB DDR3 ram..
Copy-back failing may mean your system doesn't have enough RAM (not VRAM, but system RAM), as that's how copy-back works. This decoder is new, so this could be a bug. With that said, just use native mode. There is no downside to doing this. This has nothing to do with madVR. This is a problem with LAV Video. I don't understand why your decoder queue was full, but that's where it was failing. Again, video decoding has nothing to do with madVR processing. You are not missing anything in madVR. This is all about LAV Video. LAV Video decodes the video BEFORE it gets to madVR. Regular copy-back may work for you, but you may run into same problem. Use D3D11 native. Problem solved.

You should leave chroma upscaling at NGU low or medium, as your rendering times were still under 41ms. The quality will be higher. Start with low and work up to medium. You could even use debanding at low if you have extra resources.

Lastly, the issue you are having with your receiver would have nothing to do with your CPU or motherboard. You have already proved this works by hooking it up directly to your television. The Anthem AVM60 or the projector is not calibrated correctly to pass 10-bit HDR signals. Does it even support this kind of passthrough? That could be the bigger problem. If you have two HDMI outputs, one can go to your projector for the video and the other to the receiver for the audio. You need to find out if your receiver supports HDR passthrough and if your projector is set up correctly. I don't think this is an issue with your PC.

I hope this helps clear things up.   
Thank you so much .. this does clear things up and helps.. I have 4GB DDR3 RAM which I thought was enough, however as you say it may be a bug for the H265 codec...

I have MadVR and Kodi DS Player downloaded and installed, do I need to install LAV Filters as a standalone as well or is the filters in Kodi DSPlayer sufficient?

I will change my Chroma Upscaling to NGU low as you say and leave the rest as "Let MadVR decide".. What shall I be looking to target my rendering for? I mean what is the cut off line? currently with NGU low its around 28-33ms...

The Anthem AVM60 does support 4K HDR pass through but I need to see what the issue is.. Do you think it may be my GPU being underpowered by the PSU ? I have 300w PSU but in my computer I am only powering my motherboard 1 x 120gb SSD and the GPU as all my movies are being streamed through a gigabit lan server .. The server is based in another room with all the movies on. Do you think if I get a 600w PSU this may solve some issues or would it not make any difference? Thanks

Edit: Not sure if this will make any difference but I am using Windows 10 64BIT but the DSPlayer I am using is 32bit version.. Thanks 
You are already using LAV Filters as they come installed with DSPlayer.

Leave chroma upscaling at NGU low. You are approaching the limits of your card. Consider making some profiles for scaling. There are some in my set up guide.

I have no idea why you would blame your GPU. Based on your madVR settings, it is performing as I would expect.

Try connecting directly to your projector to see if it engages HDR mode. Do you have any other UHD Blu-ray player to test the HDR mode of your projector? If that works, go back to receiver and start searching through its manual and its menus. It is likely your projector or your receiver that is at fault.

I assume your files are making it to Kodi from your server (they are playing smoothly without issue)?

And using 32-bit Kodi with 64-bit Windows is no problem.


RE: Kodi DSPlayer – DirectShow Player for Windows - asagala - 2018-03-25

@Warner306 read your guide How to setup madVR for Kodi DSPlayer. It helped alot for all the settings. Everything running smoothly.

One question I have that it didnt cover is if windows + kodi should be running in 1080p with refresh rate matching or do you recommend running everything 4k all the time? Right now I am running Kodi + win 1080p and display switches to 4k when it needs to.

Any thoughts?