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
https://www.videohelp.com/software/madVR/old-versions

These all expire, afaik. Just download the latest if you have any issues.
Just to fix every compiling issue correctly i have a good amount of work ahead of me.They changed kodi quite a lot since the last dsplayer update. I will probably skip redoing the evr since everyone will be using madvr i suppose i will save some time on that. I didnt test madvr is it still only using direct3d 9?
(2024-03-19, 19:13)tiben20 Wrote: [ -> ]Just to fix every compiling issue correctly i have a good amount of work ahead of me.They changed kodi quite a lot since the last dsplayer update. I will probably skip redoing the evr since everyone will be using madvr i suppose i will save some time on that. I didnt test madvr is it still only using direct3d 9?
For sure, madVR should take priority over the internal renderer in this case.  madVR has had the option to use direct3d 11 for a while now.

For reference, the latest beta build (which includes the improvements for tone mapping) can be found here: http://madshi.net/madVRhdrMeasure205.zip (expires August).
(2024-03-19, 19:13)tiben20 Wrote: [ -> ]Just to fix every compiling issue correctly i have a good amount of work ahead of me.They changed kodi quite a lot since the last dsplayer update. I will probably skip redoing the evr since everyone will be using madvr i suppose i will save some time on that. I didnt test madvr is it still only using direct3d 9?
No, madVR now can and does use Direct3D 11.
(2024-03-19, 19:13)tiben20 Wrote: [ -> ]Just to fix every compiling issue correctly i have a good amount of work ahead of me.They changed kodi quite a lot since the last dsplayer update. I will probably skip redoing the evr since everyone will be using madvr i suppose i will save some time on that. I didnt test madvr is it still only using direct3d 9?
EVR would be absolutely time wasted. 
This might be interesting for future developments:

https://github.com/Aleksoid1978/VideoRenderer

As it’s still unclear what madVR’s future on PC it’s gonna be.
(2024-03-19, 21:58)ashlar Wrote: [ -> ]
(2024-03-19, 19:13)tiben20 Wrote: [ -> ]Just to fix every compiling issue correctly i have a good amount of work ahead of me.They changed kodi quite a lot since the last dsplayer update. I will probably skip redoing the evr since everyone will be using madvr i suppose i will save some time on that. I didnt test madvr is it still only using direct3d 9?
EVR would be absolutely time wasted. 
This might be interesting for future developments:

https://github.com/Aleksoid1978/VideoRenderer

As it’s still unclear what madVR’s future on PC it’s gonna be.
I already worked with those guys from mpc-hc black edition.
Im the one who added the subtitles rendering in direct3d 11.
I also posted a patch for d3d12 rendering for the renderer and a patch for lavfilters for d3d12 decoding and also a patch for mpcvideodec d3d12 decoding.
They didn't want to take it since they dont know anything about direct3d 12. And also its really hard to speak with them they are 3 russian developers.
Quote:Things i have to fix before being done
Smartptr classes that dont compile
Every use of instance of settings,pvr, application, player sysinfo need to be converted to the new kodi system we use them a lot its around 1k lines to modify and verify that im doing the same thing as before
Remove the use of direct3d9 not sure about this one i will need to verify that madvr does not require a d3d9 device for the shaders
Fix the pvr code so far i just commented it so i can do it way after everything work
audio and subtitle stream need to be looked at
the source filter will need to be looked at they modified the core of reading file in kodi
remaking the main application to fit the new kodi system
remaking the new rendering system so we dont have infinite lock
If you guys want to see updates im making to the code

https://github.com/tiben20/xbmc/tree/dsplayer_march2024

Im trying to rush it before summer come up here in east canada. I have a lot of renovation on my house i want to do this summer.

i already did a lot so far.

I will need later 1 tester to compile the application to see if i didn't forget added code in the new git branch. And later i will need of course testers for the final product
Update from 3500 error on compiling i'm down to 200
(2024-03-27, 15:35)tiben20 Wrote: [ -> ]Update from 3500 error on compiling i'm down to 200
Go you! Smile
finally i can start the nightmare of debugging PS: Good news on first test kodi start and nothings burn
Quote:28>kodi-test.vcxproj -> H:\KodiDSPlayer\Debug\kodi-test.exe
28>Done building project "kodi-test.vcxproj".
31>------ Skipped Build: Project: check, Configuration: Debug x64 ------
31>Project not selected to build for this solution configuration
========== Build: 26 succeeded, 0 failed, 6 up-to-date, 5 skipped ==========
========== Build completed at 09:58 and took 55,066 seconds ==========
Got the ds filters into the filtergraph, creation of audio and video renderer.
Got the evr to loop through samples without crashingImageImage
Image
(2024-03-30, 15:43)tiben20 Wrote: [ -> ]Got the ds filters into the filtergraph, creation of audio and video renderer.
Got the evr to loop through samples without crashingImageImage
Image
The speed of your progress has been amazing. As you can tell, we're all excited!
DSPlayer settings are now shown in the kodi menu
PS: Quick question the evr renderer was not used anymore i only see d3d9 in the class i took from aracnoz
(2024-03-30, 23:58)tiben20 Wrote: [ -> ]Quick question the evr renderer was not used anymore i only see d3d9 in the class i took from aracnoz
Yeah, EVR was abandoned, if I recall correctly.

I also think that madVR settings ought to be left outside Kodi. Their often changing nature meant extra workload for aracnoz. He sustained it hoping that DSPlayer could be merged in mainline Kodi. But since that isn't in the cards, I don't think it would be worth it.
(2024-04-01, 19:33)ashlar Wrote: [ -> ]
(2024-03-30, 23:58)tiben20 Wrote: [ -> ]Quick question the evr renderer was not used anymore i only see d3d9 in the class i took from aracnoz
Yeah, EVR was abandoned, if I recall correctly.

I also think that madVR settings ought to be left outside Kodi. Their often changing nature meant extra workload for aracnoz. He sustained it hoping that DSPlayer could be marged in mainline Kodi. But since that isn't in the cards, I don't think it would be worth it.
Yeah i wont touch the evr if i do an internal renderer it will be without vmr9 or evr its going to be something like mpc-be did im more familiar with it anyway
On a more familiar note. Madvr is actually rendering
Image
Didn't get a lot of time this weekend to work on it but madvr is currently not just rendering its also working with the kodi gui overlay.
TODO
-I will need to see if someone can compile directly from the source from github the instructions are the same as the normal kodi you follow the instructions build the solution with cmake and compile like in the latest documentation in the kodi wiki (this part is really important with the addition of over 100k lines of codes i might have forgotten some files if other want to compile it them self)
-Fix the action with the player example seeking and others which are not handled correctly right now
-fix stream
-fix pvr
-look into subtitles
-After that will test for stability
Image

Update 1: pause unpause fixed and thread messaging
Update 2: fixed time showed on osd and seeking
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