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
Hi guys,

I'm hoping somebody has come across this issue before and has a solution for it - I'm using a PC (Intel Core i3-7100, 8GB RAM, 256GB SSD, Nvidia GTX 1050Ti 4GB, Windows 10 x64) as my main media player with Kodi DSPlayer & MadVR on it. The issue I have is stuttering video playback, it is mainly only when there is a panning camera view in the video files, it effects all of the movies I have and from what reading I've done so far it seems to be related to the refresh rate and 24p mode. I have tried everything, from settings in MadVR to settings in Nvidia control panel and still it remains, it is very slight but noticeable. In order to make sure it was nothing to do with my Panasonic 65" 4K TV or Denon A/V receiver I have tested a little AMlogic S912 box running the latest Libreelec and hey presto absolutely perfect - every movie I play on this little box, be it 1080p or 4K HDR, plays without a glitch and really really smooth playback. Return to my PC and the same files start stuttering and so on. This is on a clean install of Windows 10 Pro x64 with the latest Nvidia drivers and latest MadVR, this PC is only used for Kodi so has nothing else running on it, I'm at my wits end at the moment and don't really want to use the AMlogic box as my main media player, I just find the PC boots and responds a lot better, I would really appreciate if someone could give me a helping hand .

Thanks guys.
kalebroc, post a debug log. Instructions in my signature.
and now I have nad to reinstall my OS and now I can't get audio out of kodi when I play videos. I don't know what I've done to make this happen. I'm getting audio out of everything else. I save all of my settings from appdata and put them back when I reinstall programs so it should just be what it was before reinstall. I don't know wht the problem is.
(2018-08-10, 11:27)kalebroc Wrote: [ -> ]Hi guys,

I'm hoping somebody has come across this issue before and has a solution for it - I'm using a PC (Intel Core i3-7100, 8GB RAM, 256GB SSD, Nvidia GTX 1050Ti 4GB, Windows 10 x64) as my main media player with Kodi DSPlayer & MadVR on it. The issue I have is stuttering video playback, it is mainly only when there is a panning camera view in the video files, it effects all of the movies I have and from what reading I've done so far it seems to be related to the refresh rate and 24p mode. I have tried everything, from settings in MadVR to settings in Nvidia control panel and still it remains, it is very slight but noticeable. In order to make sure it was nothing to do with my Panasonic 65" 4K TV or Denon A/V receiver I have tested a little AMlogic S912 box running the latest Libreelec and hey presto absolutely perfect - every movie I play on this little box, be it 1080p or 4K HDR, plays without a glitch and really really smooth playback. Return to my PC and the same files start stuttering and so on. This is on a clean install of Windows 10 Pro x64 with the latest Nvidia drivers and latest MadVR, this PC is only used for Kodi so has nothing else running on it, I'm at my wits end at the moment and don't really want to use the AMlogic box as my main media player, I just find the PC boots and responds a lot better, I would really appreciate if someone could give me a helping hand .

Thanks guys.
 Can you run the 24p judder tests (folder #7) from this link and report back if your display passess? 

https://drive.google.com/drive/folders/1...8_5nLcRwHA

Does the file play smoother at 60 Hz?

Your madVR settings could be too aggressive, causing some spikes at certain points throughout the movie. It could also be an issue with Windows media players, in general.

A debug log might show some errors during playback, but I don't know. Might be unlikely.

You need to make sure both 23p and 24p are listed under display modes (especially 23p). A custom resolution could also be helpful if the 23.976 refresh rate is way off, but I don't think that would cause consistent judder.

Another thought is that you should avoid using the TV's PC mode if you are using it.
(2018-08-11, 02:39)toki5 Wrote: [ -> ]and now I have nad to reinstall my OS and now I can't get audio out of kodi when I play videos. I don't know what I've done to make this happen. I'm getting audio out of everything else. I save all of my settings from appdata and put them back when I reinstall programs so it should just be what it was before reinstall. I don't know wht the problem is.
 You probably have to reselect your audio device in both Kodi and DSPlayer. If that doesn't work, try selecting a different audio device, play something and then switch back. You also have to rerun the Windows sound configuration wizard after a driver reinstall.

For your audio issue related to 2.1 output, did you only select the formats your display supports in LAV Audio? If you already tried that, you could experiment with the "Enable Mixing" feature in LAV Audio under the "Mixing" tab and set the output to stereo.

There should be an update to HDR -> SDR shortly. It will improve the overall color accuracy, but issues with compression and a dark image with some displays will remain. I now understand this is related to the current tone mapping curve (BT.2390). Improvements with tone curves probably won't come for a couple of months.
ashlar
Warner306

Hi guys, thanks for the responses, sorry I didn't get back to you sooner, was away from home last night. So, after thinking about it for a while I got up early this morning to try a couple of things - first I replaced the Nvidia card with a simple AMD R5 230 just to test - worked perfectly, smooth full 1080p 24p playback. So, after cleaning up the video card drivers I put back in the Nvidia card, new driver install and back to stutter video playback again, I made sure that MadVR had the display modes setup and Kodi DSPlayer was definitely switching the TV into the right refresh rate etc. So, I reverted the Nvidia drivers back to an older version, no joy. Re-Installed the latest version and then went into the Nvidia control panel and changed the following setting - Vertical Sync from "Use The 3D application settings" to the following "Fast" - hey presto, I now have proper 24p smooth video playback. Hopefully this might help somebody else, and thanks again for the responses and help, as usual this forum has come to the rescue. On a side note, I have an AMD RX560 4GB Video card coming during the week, I've been thinking about going to AMD for awhile now and the last few days have confirmed my reasoning, hopefully then once the Libreelec version for Kodi has got 4K HDR support it should smooth the transition from Windows, fingers crossed that will happen soon, nothing against Windows and so on, the Linux Libreelec setup seems to be more robust and a bit quicker. Thanks again to everybody, I'm off to wipe my PC and perform a clean install of Windows 10 and everything else so I can get back to watching some movies for the weekend.
thanks for the reply. It was setting the sound again in kodi. It was shown as internal and I had to switch it to sanear again.
(2018-08-11, 11:29)kalebroc Wrote: [ -> ]hopefully then once the Libreelec version for Kodi has got 4K HDR support it should smooth the transition from Windows, fingers crossed that will happen soon, nothing against Windows and so on, the Linux Libreelec setup seems to be more robust and a bit quicker. Thanks again to everybody, I'm off to wipe my PC and perform a clean install of Windows 10 and everything else so I can get back to watching some movies for the weekend.
Someone smart might figure out how to get Linux to pass HDR metadata sometime in the next year. HDR is very restrictive, so it might not be easy. I would expect LibreELEC to get support before Windows, if it is possible.
(2017-02-16, 17:18)ryu87 Wrote: [ -> ]Hi. First of all, thank you for this great build, that solved a huge problem I had with the regular Kodi player.

A lot is different and though I figured most of the changes out, I can't get around this one. I do the audio passthrough via SPDIF so there is no problem with DTSHD since it only passes through the DTS core. So, if I check all settings in the DSPlayer audio filters to bitstream, I have no audio when playing Dolby TrueHD sound and I understand that. But if I uncheck bitstreaming for TrueHD, the audio I receive on my sound system is Stereo instead of AC3 5.1.
In the regular Kodi build under system - audio - settings I just checked the passthrough option "convert to AC3" so TrueHD only was downconverted while everything else was passed through as intended. In this build this option doesn't seem to do anything since it must be controled by the audio filters of the DSPlayer.

Is there a way I could get back again my downconversion from TrueHD only to AC3 5.1?
 Hey guys, I'm having the exact same problem as ryu87 did.

My HTPC is connected to my LG TV and then that's connected via HDMI ARC to my Pioneer receiver.
Previously, when playing TrueHD files, the receiver just played the audio track in 5.1 Dolby Digital (as it does not support TrueHD). Kodi is set to use 'best match' and 'allow bitstreaming' under audio settings, however I'm sure that doesn't matter now since I'm using DSplayer. In DSplayer settings, I've got everything set to bitstream, except for TrueHD and DTS-HD, as my receiver doesn't support either. When selecting both of those, files with either of those formats are only played in stereo.

I've tried downloading AC3filter and setting it as an external filter in DSplayer. In the AC3filter config, I've ticked 'use SPDIF' in both the 'main' and 'SPDIF' tabs and made sure that 'TrueHD' is selected in the 'Use AC3 filter for:' section in the 'system' tab, however I cannot get this to work. In fact, it's worse when I choose AC3filter because now ALL audio tracks are just output as stereo.

Can somebody tell me how I can get TrueHD audio tracks to output via bitstream to my receiver so they can be played in Dolby Digital?
(2018-08-12, 15:55)djcorvus Wrote: [ -> ]
(2017-02-16, 17:18)ryu87 Wrote: [ -> ] 
 Hey guys, I'm having the exact same problem as ryu87 did.

My HTPC is connected to my LG TV and then that's connected via HDMI ARC to my Pioneer receiver.
Previously, when playing TrueHD files, the receiver just played the audio track in 5.1 Dolby Digital (as it does not support TrueHD). Kodi is set to use 'best match' and 'allow bitstreaming' under audio settings, however I'm sure that doesn't matter now since I'm using DSplayer. In DSplayer settings, I've got everything set to bitstream, except for TrueHD and DTS-HD, as my receiver doesn't support either. When selecting both of those, files with either of those formats are only played in stereo.

I've tried downloading AC3filter and setting it as an external filter in DSplayer. In the AC3filter config, I've ticked 'use SPDIF' in both the 'main' and 'SPDIF' tabs and made sure that 'TrueHD' is selected in the 'Use AC3 filter for:' section in the 'system' tab, however I cannot get this to work. In fact, it's worse when I choose AC3filter because now ALL audio tracks are just output as stereo.

Can somebody tell me how I can get TrueHD audio tracks to output via bitstream to my receiver so they can be played in Dolby Digital? 
You need a filter to convert TrueHD to Dolby Digital. There is no DD core in TrueHD. If you uncheck the bitstream option, it is sent a multichannel PCM. I would think that AC3Filter might do the job, but it might not. Did you add it as an extra filter in DSPlayer and assign it as an audio filter? LAV Filters has mixing options for PCM sources that could be worth trying. It would make more sense to preserve the Dolby Digital track with the rip and select it.
(2018-08-12, 16:47)Warner306 Wrote: [ -> ]
(2018-08-12, 15:55)djcorvus Wrote: [ -> ]
(2017-02-16, 17:18)ryu87 Wrote: [ -> ] 
You need a filter to convert TrueHD to Dolby Digital. There is no DD core in TrueHD. If you uncheck the bitstream option, it is sent a multichannel PCM. I would think that AC3Filter might do the job, but it might not. Did you add it as an extra filter in DSPlayer and assign it as an audio filter? LAV Filters has mixing options for PCM sources that could be worth trying. It would make more sense to preserve the Dolby Digital track with the rip and select it.   
I don't think I need a filter to convert anything. Like I said, previously under regular Kodi, I just enabled bitstreaming everything, and kodi (which was set to 'best match' in the audio settings) sent everything to my receiver, which then recognized it as either Dolby Digital or DTS depending on the file. No additional configuration necessary.

Yes, I added AC3filter as an extra filter in DSPlayer and assigned it. Didn't do anything. In fact it made things worse because now it sends EVERYTHING as PCM and therefore my receiver plays it as stereo.

I don't rip my own files, so I don't have the luxury of preserving anything. If I play something that only has a TrueHD audio track, then I'm doomed to listen to it in stereo.

Surely it can't be that hard to get it to downmix TrueHD to DD and have it bitstreamed to my receiver? Regular Kodi was doing this flawlessly over bitstream, so I know it's at least possible.
It has to be converted to Dolby Digital. TrueHD is a completely different compression codec/wrapper. It would have to be converted to multichannel PCM and then converted into DD. Some compression is involved. DTS-HD has a DTS core for backwards compatibility, but TrueHD does not.

I’ll do a search tomorrow for a filter that could do the job. Sanear doesn’t have this capability. FFDShow could do it, but it is old.

Did you check to see if Kodi is simply selecting an alternate DD track when TrueHD is encountered?
(2018-08-13, 05:55)Warner306 Wrote: [ -> ]It has to be converted to Dolby Digital. TrueHD is a completely different compression codec/wrapper. It would have to be converted to multichannel PCM and then converted into DD. Some compression is involved. DTS-HD has a DTS core for backwards compatibility, but TrueHD does not.

I’ll do a search tomorrow for a filter that could do the job. Sanear doesn’t have this capability. FFDShow could do it, but it is old.

Did you check to see if Kodi is simply selecting an alternate DD track when TrueHD is encountered?
 I don't think it was selecting an alternate track, simply because the files I was playing *ONLY* contained TrueHD audio - all I know is that it still somehow sent it via bitstream to my receiver because my receiver displayed 'Dolby Digital' and it played back in 5.1.
I don't care how, I just want the same thing to happen. Stereo sucks.
I found two images that could be relevant:

LAV Audio:
https://www.google.ca/imgres?imgurl=http...mrc&uact=8

Disable TrueHD bitstreaming in LAV Audio and enable mixing. Matrix encoding might convert to DD. Otherwise, it won't do anything.

ffdshow:
https://www.google.ca/search?q=ffdshow+a...FINKYacZM:

Download ffdshow (there is an x64 version out there if the linked installer doesn't include it), add as an extra filter in DSPlayer and set as an audio filter.

Edit: ReClock can also do this, but it is only 32-bit. You would have to install the 32-bit version of DSPlayer.

I would also attempt to stop collecting rips that don't have the original DD track on it. You are losing audio quality by having to do this conversion. Connecting directly to the AVR would also help matters and give you even better sound.
(2018-08-13, 17:23)Warner306 Wrote: [ -> ]I found two images that could be relevant:

LAV Audio:https://www.google.ca/imgres?imgurl=http...mrc&uact=8

Disable TrueHD bitstreaming in LAV Audio and enable mixing. Matrix encoding might convert to DD. Otherwise, it won't do anything.

ffdshow:https://www.google.ca/search?q=ffdshow+a...FINKYacZM:

Download ffdshow (there is an x64 version out there if the linked installer doesn't include it), add as an extra filter in DSPlayer and set as an audio filter.

Edit: ReClock can also do this, but it is only 32-bit. You would have to install the 32-bit version of DSPlayer.

I would also attempt to stop collecting rips that don't have the original DD track on it. You are losing audio quality by having to do this conversion. Connecting directly to the AVR would also help matters and give you even better sound.
 Hey thanks for the suggestion.

Re: LAV audio mixing - AFAIK, Pro Logic will not give me 'true' 5.1 channels. This is unacceptable, so I'm not even going to bother with this route.

Re: ffdshow - Won't this option make it decode ALL audio, even DD tracks? If so, this is also unacceptable.

This is getting completely ridiculous. Why was Kodi able to bitstream everything to my receiver and downmix TrueHD to it as DD? It worked so flawlessly before. Why can't it work now?
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