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 523 524
HDR to SDR: Mapping BT.709 and BT.2020 

If you are sharing a single SDR source input for both HDR and SDR content by selecting tone map HDR using pixel shaders under hdr, SDR and HDR will share the same display mode, which means a color conversion is required for one of these sources. SDR and HDR content use different color spaces: SDR is graded to BT.709 and HDR is graded to BT.2020 (DCI-P3).

Basic Rules

Display calibrated to BT.709: Choose BT.709 (BT.2020 is converted to BT.709);

Display calibrated to BT.2020: Choose BT.2020 or DCI-P3 (BT.709 is converted to BT.2020 or DCI-P3).

Notes:
  • When BT.709 is converted to BT.2020 or DCI-P3, it is simply placed in a larger container for the display, which shouldn’t lead to any oversaturation of BT.709 content. So it is safe to choose BT.2020 or DCI-P3 for both SDR and HDR content if your display color profile matches this setting;
  • Output in DCI-P3 may require report BT.2020 to display (Nvidia only) is checked under calibration due to the fact most displays will be expecting a BT.2020 input despite only covering all or part of the DCI-P3 color space.

HDR to SDR 3D LUTs

3D LUTs used with tone map HDR using pixel shaders selected should be created with an SDR 2.20 pure power gamma. madVR tone maps HDR content to 2.20 when a 3D LUT is available. Acceptable results have been achieved with a 2.40 gamma 3D LUT, but it is recommended to match the input gamma provided to the 3D LUT by madVR to retain the same input and output luminances. PQ HDR uses absolute luminance values, so lowering displayed luminance with a 2.40 3D LUT (2.20 input from madVR to 2.40 display 3D LUT) runs the risk of reducing the source brightness too much.

3D LUTs created in a wide color gamut are best profiled in DCI-P3 rather than BT.2020. 3D LUTs do not like undersaturated gamuts and no current displays make use of the larger BT.2020 color space. When using DCI-P3 3D LUTs with JVC projectors, it is advised to check report BT.2020 to display (Nvidia only) to ensure the projector selects the correct color profile to match the 3D LUT. Not doing so may result in oversaturation if the projector misinterprets the DCI-P3 color space.

Sending BT.709 & BT.2020 Without Color Space Conversions

Some displays have a setting to automatically switch to the correct color profile based on the input signal (usually labelled as Automatic or Auto). In this case, it may make the most sense to simply send the correct color gamut based on the content without any conversions. There are also some tools available to force a projector into the desired color profile (e.g. HDfury Vertex or HTPC Control mentioned at the end of this post). The display must automatically switch to match the input color gamut or either SDR or HDR content will end up over or undersaturated. If this is not the case, the display likely has a fixed color gamut and it is better to choose any of BT.709, BT.2020 or DCI-P3 to match the calibrated color space.

To avoid a color space conversion, create two profiles in madVR under calibration:

calibration -> this display is already calibrated

Click
on the active device and select create profile group.

Check calibration and click OK.

Name the new profile group calibration.

Select add profile to create a second profile folder under calibration.

Name the first profile: BT.709 and set primaries / gamut to BT.709.

Name the second profile: BT.2020 and set primaries / gamut to BT.2020.

Click on calibration and copy and paste the following profile rules into the blank textbox:

If (HDR) "BT.2020"
else "BT.709"

green check mark should appear above the box to indicate the profiles are correctly named and no code conflicts exist.

The first calibration profile should be selected when SDR BT.709 content is played, and the second calibration profile is selected when HDR BT.2020 content is played.
this is a side question for dsplayer with madvr. Is there a way to move my 3d lut inside madvr whenever madvr updates?

Say if I did the calibration using displaycal and I installed the 3dlut to madvr. How would I change the 3d lut over to the new version of madvr?
Hi, 

I have a question regarding python within Kodi. I'm trying to use MadVR within DSPlayer to auto switch user modes on the projector depending on whether I'm viewing HDR or SDR content. 

I got advice from the post below which works great when running the script from command prompt

https://www.avsforum.com/forum/24-digita...st55519234

Only problem is, I can't get the batch script to run (when profile is selected within MadVR) because the batch script relies on python and apparently kodi has it's own python variables which makes everything very complicated. 

Someone posted a fix for this highlighted here: 

https://www.avsforum.com/forum/24-digita...st55526094

I can't seem to figure out what this actually means in terms of batch scripts. Is the code something I have to add to the existing batch script because there seems to be generic words in there. 

I'm really desperate to get this working but would appreciate any advice. I've also asked on the thread but no-one seems to know how to do it....
(2018-07-15, 02:57)toki5 Wrote: [ -> ]this is a side question for dsplayer with madvr. Is there a way to move my 3d lut inside madvr whenever madvr updates?

Say if I did the calibration using displaycal and I installed the 3dlut to madvr. How would I change the 3d lut over to the new version of madvr?
You select the 3D LUT from calibration and it becomes a part of your settings.bin. It should remember which file you chose from the 3D LUT tab.
(2018-07-15, 17:06)entourage2111 Wrote: [ -> ]Hi, 

I have a question regarding python within Kodi. I'm trying to use MadVR within DSPlayer to auto switch user modes on the projector depending on whether I'm viewing HDR or SDR content. 

I got advice from the post below which works great when running the script from command prompt

https://www.avsforum.com/forum/24-digita...st55519234

Only problem is, I can't get the batch script to run (when profile is selected within MadVR) because the batch script relies on python and apparently kodi has it's own python variables which makes everything very complicated. 

Someone posted a fix for this highlighted here: 

https://www.avsforum.com/forum/24-digita...st55526094

I can't seem to figure out what this actually means in terms of batch scripts. Is the code something I have to add to the existing batch script because there seems to be generic words in there. 

I'm really desperate to get this working but would appreciate any advice. I've also asked on the thread but no-one seems to know how to do it....
 I don't know anything about batch scripts or JVC projectors. You might have to contact JAVS at AVSForums, who uses DSPlayer.
I did look again. You should be able to create one DCI-P3 3D LUT and be able to map both BT.709 and BT.2020 content without upconverting BT.709 or using separate 3D LUTs. That is what I've been told. 

What else does the batch file do that would be useful?
(2018-07-15, 17:38)Warner306 Wrote: [ -> ]I did look again. You should be able to create one DCI-P3 3D LUT and be able to map both BT.709 and BT.2020 content without upconverting BT.709 or using separate 3D LUTs. That is what I've been told. Also, you can create profile rules in madVR and use different SDR 3D LUTs for different sources (e.g. 2160p, BT.2020, etc.).

What else does the batch file do that would be useful?
 Thanks Warner, I have quoted in that thread but haven't heard back.

Not sure if you're speaking to me or the other post on 3dluts but from my side all I'd like to is have the batch script change source on the projector when hdr is detected in madvr. Like I said above, it does work fine outside Kodi but inside dsplayer, the script has trouble running python files. Someone has posted a fix but not sure what to do with it as they haven't made it clear if I need to copy and paste what they've posted or perhaps make modifications. 

Shame really, would be so useful to get this working
(2018-07-15, 18:29)entourage2111 Wrote: [ -> ]
(2018-07-15, 17:38)Warner306 Wrote: [ -> ]I did look again. You should be able to create one DCI-P3 3D LUT and be able to map both BT.709 and BT.2020 content without upconverting BT.709 or using separate 3D LUTs. That is what I've been told. Also, you can create profile rules in madVR and use different SDR 3D LUTs for different sources (e.g. 2160p, BT.2020, etc.).

What else does the batch file do that would be useful?
 Thanks Warner, I have quoted in that thread but haven't heard back.

Not sure if you're speaking to me or the other post on 3dluts but from my side all I'd like to is have the batch script change source on the projector when hdr is detected in madvr. Like I said above, it does work fine outside Kodi but inside dsplayer, the script has trouble running python files. Someone has posted a fix but not sure what to do with it as they haven't made it clear if I need to copy and paste what they've posted or perhaps make modifications. 

Shame really, would be so useful to get this working 
 Try sending JAVS a PM with the link to the fix you found.
(2018-07-15, 18:42)Warner306 Wrote: [ -> ]
(2018-07-15, 18:29)entourage2111 Wrote: [ -> ]
(2018-07-15, 17:38)Warner306 Wrote: [ -> ]I did look again. You should be able to create one DCI-P3 3D LUT and be able to map both BT.709 and BT.2020 content without upconverting BT.709 or using separate 3D LUTs. That is what I've been told. Also, you can create profile rules in madVR and use different SDR 3D LUTs for different sources (e.g. 2160p, BT.2020, etc.).

What else does the batch file do that would be useful?
 Thanks Warner, I have quoted in that thread but haven't heard back.

Not sure if you're speaking to me or the other post on 3dluts but from my side all I'd like to is have the batch script change source on the projector when hdr is detected in madvr. Like I said above, it does work fine outside Kodi but inside dsplayer, the script has trouble running python files. Someone has posted a fix but not sure what to do with it as they haven't made it clear if I need to copy and paste what they've posted or perhaps make modifications. 

Shame really, would be so useful to get this working  
 Try sending JAVS a PM with the link to the fix you found. 
 Thanks Warner, just done that. Hopefully I hear back Smile
anyone know whats going on with DOOM9 forums?, been down for days now, no access to MADVR and LAV forums.
Nope, someone must have forgot to pay the electricity bill. Hopefully, it is some type of upgrade, but it could just be to the server.

Edit: I was able to ping the site just now from Command Prompt, so that is strange. The "Is it down..." website disagrees.
weird one.
still down this isnt looking good is it.
(2018-07-18, 11:09)mclingo Wrote: [ -> ]still down this isnt looking good is it.
 Yep, I'm getting withdrawal symptoms!
Did some side by side comparisons with Powerdvd 18 and DVDFab 5.0.1.5 (latest last night). I can say that blind eye testing DVDFab won the comparison easily. This was watching a .mkv of Batman begins in 4k. Earlier it was mentioned that Dvdfab was not auto swtitching to HDR. I am not seeing this with .mkv's in the latest version. Would love to post some comparison shots but not sure the best way to do that.

I would love to get more input from others using this and get their opinion. IMO the picture is better than with DSPlayer and Madvr, but maybe I don't have all the Madvr settings just right.
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