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
Didn't notice any lipsync fault in build 3.
I'm going to test build 4 right now.
(2015-05-12, 02:12)aracnoz Wrote: [ -> ]@djoole

You were using madVR 0.88.* during these tests?

anyway today i made some improvements for madVR

http://www.mediafire.com/download/0ngdkk...ngard4.rar

pls report full debug

Good news, everything seems just fine with this build!
Lipsync issue usually varies with each hw/system mostly with external audio decoder device. I'd suggest you should test with direct connect to tv regarding this issue. For external amp you may need to adjust latency for your system yourself. Since it's mostly different from system to system. And even sometimes version to version.

Blackscreen issue like Djoole encountered when playback stop still happens to me. I can successfully quit with remote power button then ok. It was there for some times not just recently.
(2015-05-12, 21:43)Warner306 Wrote: [ -> ]I think the lip-sync is slightly off in this build compared to the last stable build. I noticed that in the last test build, as well.

that's strange, I did not change anything about it, i just optimized madvr playstart and stop, even if kodi team changes something it can not have effect with our direct show filter

(2015-05-12, 22:21)djoole Wrote: [ -> ]Good news, everything seems just fine with this build!

great Smile

(2015-05-12, 22:22)oldpoem Wrote: [ -> ]Blackscreen issue like Djoole encountered when playback stop still happens to me. I can successfully quit with remote power button then ok. It was there for some times not just recently.

are you using isengard dsplayer with the latest test build posted? if yes, can you post a debug log and try to catch a madvr freeze report?

you have to put Kodi.exe and related Kodi.pdb in the same folder where kodi it's installed and press and hold for a few secs CTRL+ALT+SHIFT+BREAK/PAUSE when the black screen occurs

have you noticed if this happens with or without fullscreen exclusive mode?
It is not locked up or not responding. It just not return to gui when playback finish/stop. So I don't see madvr crash report when this happens.

I'll try to put pdb and create log file but I won't have access to my windows htpc for few days. Also in my system playback would not be smooth with fullscreen non-exclusive mode since madvr intregration so I didn't bother change it from exclusive mode.
For those wanting some help with the new madVR processing features, I have included some information in the MPC set-up guide. When DSPlayer is updated, I will copy the information into the DSPlayer guide.

For the record, I don't like any of the shaders; I find the extra sharpening creates artifacts.

I included passages on:
  • 10-bit Display Output
  • Image Enhancements
  • Upscaling Refinement
These features are described in two sections:

madVR Set-up

Hardware Suggestions, madVR Profiles & Advanced Settings
Regarding my post earlier, it's not the framerate jumping from 23.5 to 24.5, it's just reported like that when i press the O button in kodi.

As i said i use "Sync playback to display" and not the reverse, this seems to solve the judder/random hackyness appearing back and forth.

I wasn't able to find this function in MadVR, smooth motion created loads of motion blur at 60Hz.

I could test again, but i can't really be bothered tinkering for hours again.
(2015-05-12, 23:25)aracnoz Wrote: [ -> ]
(2015-05-12, 22:21)djoole Wrote: [ -> ]Good news, everything seems just fine with this build!

great Smile

OK I've spoken too fast.

I still have the problem of black screen after a video has stopped by itself.
Kodi is still responding (you know it thanks to the gui sounds when you use keyboard navigation).
In order to get the gui back, you have to CTRL-ALT-DEL then ALT TAB to Kodi.

If you try and launch a video, go a few seconds before the end, and let it finish, the bug is not occuring.
But i think it might be systematic if you let the video run for a long time like all the duration of it, and let it end by itself (occured 2 times to me, the only 2 times i followed this scenario actually)

Here are the Kodi debug logs (video ended at 23:51:29) : http://pastebin.com/RC1ikruB
I see nothing special compared to logs of a video end without the black screen issue..
(2015-05-14, 00:14)djoole Wrote: [ -> ]OK I've spoken too fast.

I still have the problem of black screen after a video has stopped by itself.
Kodi is still responding (you know it thanks to the gui sounds when you use keyboard navigation).
In order to get the gui back, you have to CTRL-ALT-DEL then ALT TAB to Kodi.

If you try and launch a video, go a few seconds before the end, and let it finish, the bug is not occuring.
But i think it might be systematic if you let the video run for a long time like all the duration of it, and let it end by itself (occured 2 times to me, the only 2 times i followed this scenario actually)

Here are the Kodi debug logs (video ended at 23:51:29) : http://pastebin.com/RC1ikruB
I see nothing special compared to logs of a video end without the black screen issue..


you have to know that from the very first release of dsplayer + madVR i never had all these problem with start and stop... so solve all of them without an error i had to debug in my head to find out what it could be wrong during playstart and stop

i pushed a new commit with a fix, and your debug log confirms the problem that i just fixed Smile

https://github.com/aracnoz/xbmc/commit/8...37a7f705ee

that's the problem

23:51:29 T:2952 DEBUG: CDSGraph::HandleGraphEvent EC_COMPLETE

DSPlayer perform a stop with another thread on movie complete

i made some other important changes that i have to test yet... i will post another test build tomorrow
Great Smile
I'll test it.
But how come i can't reproduce the issue systematically?
because in this wrong situation there are two thread

the first one it's the kodi main thread
the second it's a thread created in dsplayer that performs the stop and restores the textures from madvr to kodi

sometime the thread that come from dsplayer performs the stop before that the main thread try to access to the textures, and everythings goes without error
other times dsplayer it's too slow and kodi tries to access to the textures while DSPlayer is still restoring

normally the stop it's called by the main thread and there is only one thread at work
Hell, I'm happy I don't have all those problems u guys have
@djoole, @oldpoem

this should fix the black screen on stop

http://www.mediafire.com/download/phq5w6...ngard5.rar
I installed it and will report back after a few tries.
Thanks for the bug explanation.

@vicmanpergard, I don't know why you never have the problem, maybe because most of the time you stop manually the videos.
First of all, thanks for this!!! I've wanted native madvr in Kodi/XBMC for what seems like forever.

It's working with the isengard build, but there's frequent stuttering when using this build with either Kodi/Madvr/reclock or Kodi/external player.

However, if I just launch the file directly (1080p/lossless audio mkv) with mpc-be/madvr/reclock, or use Helix stable with external player, playback is butter smooth. Quality settings are maxxed (as I understand them).

CPU/mem are low, but per GPU-z, GPU load is about double with this build. It's like Madvr is running twice somehow (once for UI, once for movie).

I'm using AMD R9 270 with a recent i5 CPU. Not sure if the AMD is causing the issue somehow.

Also, just fyi for those who might run into this, I had a black screen that required task manager to exit, when I enabled "windowed overlay" in the madvr rendering settings.
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