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
If I understand your broken english correctly, yes.

The steps is like these.
1. Download and install filter x86 vesion.
2. Under Dsplayer - Filters Management - change to media & filters rules configuration.
3. Adding filter , select lentoid from system filter list. declared it as video decoder filter. Enter other required information if needed.
4. Under media rules create new rule. Add necessary rules.

DSplayer would automatically create filtersconfig.xml / mediaconfig.xml in userdata folder.
No need to create or edit any xml manually.
Are you sure that the filename thing is necessary? If the video is in the db, we should be able to use videocodec value, shouldn't we?
(2015-10-20, 14:53)ashlar Wrote: [ -> ]Are you sure that the filename thing is necessary? If the video is in the db, we should be able to use videocodec value, shouldn't we?

Have you tried? Because as far as I tried to use defined rule as codec h265 or hevc it didn't work.
(2015-10-20, 14:59)oldpoem Wrote: [ -> ]
(2015-10-20, 14:53)ashlar Wrote: [ -> ]Are you sure that the filename thing is necessary? If the video is in the db, we should be able to use videocodec value, shouldn't we?

Have you tried? Because as far as I tried to use defined rule as codec h265 or hevc it didn't work.
No, I haven't. If it doesn't work it should be notified to devs, as there's no reason for it not working if older codecs do work.
(2015-10-20, 14:31)oldpoem Wrote: [ -> ]If I understand your broken english correctly, yes.

The steps is like these.
1. Download and install filter x86 vesion.
2. Under Dsplayer - Filters Management - change to media & filters rules configuration.
3. Adding filter , select lentoid from system filter list. declared it as video decoder filter. Enter other required information if needed.
4. Under media rules create new rule. Add necessary rules.

DSplayer would automatically create filtersconfig.xml / mediaconfig.xml in userdata folder.
No need to create or edit any xml manually.


Exemplary explanation, now it's up to me to put in practice this is the first time that I add filters through the GUI DSPlayer, I read you the passage in the guide Warner, but never put into practice.
Thanks again.
(2015-10-20, 15:05)ashlar Wrote: [ -> ]No, I haven't. If it doesn't work it should be notified to devs, as there's no reason for it not working if older codecs do work.

Maybe aracnoz can look into this h265 / hevc string issue and can tell what exact rule to be defined. But for now filename rule is working solution.
To install the filter Lentoid HEVC / H.265 decoder, which version is recommended for DSPlayer - Double click on reg.bat and / or reg64.bat, my system is 64Bit
Moved to correct thread
Anyone else experiencing issues with the rendering of 'forced' subtitles. Successful display seems particularly random. I have several files which work correctly and others which don't - there is no pattern to it at all. I am presently using 'internal filters' and have attached a log from a file that I know has a 'forced' subtitle header, but which point blank refuses to render. This is a fairly recent addition, so I'm not sure if the others in my collection are working because they have been played previously with a working version - sure I read somewhere that playback states were retained.

Using the Isengard 15.2 DX11 build from the 1st post.

I have also added the media info from the actual file showing the header confirmation

http://pastebin.com/Xv5tGtAd

Code:
General
Unique ID                                : 288888596867825366422622437821868317666 (0xD955EB8087E8756F47FC4F0F7BD29BE2)
Complete name                            : Z:\Videos\Movies\Angels and Demons (2009)\Angels & Demons (2009).mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 36.0 GiB
Duration                                 : 2h 18mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 37.2 Mbps
Movie name                               : Angels & Demons (2009)
Encoded date                             : UTC 2015-10-17 15:06:09
Writing application                      : MakeMKV v1.9.6 win(x86-release)
Writing library                          : libmakemkv v1.9.6 (1.3.0/1.4.1) win(x86-release)

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : [email protected]
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 2 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 2h 18mn
Bit rate mode                            : Variable
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Language                                 : English
Default                                  : No
Forced                                   : No

Audio
ID                                       : 2
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Format profile                           : MA / Core
Mode                                     : 16
Format settings, Endianness              : Big
Codec ID                                 : A_DTS
Duration                                 : 2h 18mn
Bit rate mode                            : Variable
Bit rate                                 : Unknown / 1 509 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 24 bits
Compression mode                         : Lossless / Lossy
Title                                    : Surround 5.1
Language                                 : English
Default                                  : Yes
Forced                                   : No

Text #1
ID                                       : 3
Format                                   : PGS
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : The same subtitle format used on BDs/HD-DVDs
Language                                 : English
Default                                  : No
Forced                                   : No

Text #2
ID                                       : 5
Format                                   : PGS
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : The same subtitle format used on BDs/HD-DVDs
Language                                 : English
Default                                  : No
Forced                                   : No

Text #3
ID                                       : 6
Format                                   : PGS
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : The same subtitle format used on BDs/HD-DVDs
Language                                 : English
Default                                  : No
Forced                                   : Yes

Menu
00:00:00.000                             : en:Chapter 01
00:09:30.570                             : en:Chapter 02
00:17:32.718                             : en:Chapter 03
00:25:41.122                             : en:Chapter 04
00:32:22.190                             : en:Chapter 05
00:43:36.530                             : en:Chapter 06
00:51:52.526                             : en:Chapter 07
01:01:11.542                             : en:Chapter 08
01:10:47.534                             : en:Chapter 09
01:17:13.920                             : en:Chapter 10
01:26:21.467                             : en:Chapter 11
01:37:39.436                             : en:Chapter 12
01:47:41.079                             : en:Chapter 13
01:58:02.158                             : en:Chapter 14
02:03:03.084                             : en:Chapter 15
02:07:28.057                             : en:Chapter 16
I have experienced the issue where streaming sources do not buffer correctly. Is it possible to make the player pause and indicate it is buffering rather than have the video stutter without any notification of what is going on?

The lack of a buffer pause and message seems more like a problem with DSPlayer than LAV Filters.
(2015-10-20, 16:51)gotham_x Wrote: [ -> ]To install the filter Lentoid HEVC / H.265 decoder, which version is recommended for DSPlayer - Double click on reg.bat and / or reg64.bat, my system is 64Bit

Go with the 32-bit version because Kodi is a 32-bit application.
(2015-10-20, 15:16)oldpoem Wrote: [ -> ]
(2015-10-20, 15:05)ashlar Wrote: [ -> ]No, I haven't. If it doesn't work it should be notified to devs, as there's no reason for it not working if older codecs do work.

Maybe aracnoz can look into this h265 / hevc string issue and can tell what exact rule to be defined. But for now filename rule is working solution.

the rule should be defined in this way

Code:
<mediasconfig>
  <rules>
    <rule filetypes="mkv">
      <source filter="lavsource_internal" />
      <splitter filter="lavsplitter_internal" />
      <video>
        <video videocodec="hevc" filter="lentoid_hevc_decoder" />
        <video filter="lavvideo_internal" />
      </video>
      <audio filter="lavaudio_internal" />
      <subs filter="xysubfilter_internal" />
    </rule>
  </rules>
</mediasconfig>

at moment there is not a way to set this rule by Kodi GUI, i will add with next build the "videocodec" parameter also for <rule> and it will be possible to set also by the GUI

the important thing it's always that the rule with more parameters and so restrictions should be placed at first place because it's always selected the rule with the first match

so to be more clear in this way it il will be always loaded lavvideo_internal instead of lenoid...

Code:
<video>
  <video filter="lavvideo_internal" />
  <video videocodec="hevc" filter="lentoid_hevc_decoder" />
</video>

and it will be the same with new <rule> videocodec parameters

(2015-10-20, 21:28)steelman1991 Wrote: [ -> ]Anyone else experiencing issues with the rendering of 'forced' subtitles. Successful display seems particularly random. I have several files which work correctly and others which don't - there is no pattern to it at all. I am presently using 'internal filters' and have attached a log from a file that I know has a 'forced' subtitle header, but which point blank refuses to render. This is a fairly recent addition, so I'm not sure if the others in my collection are working because they have been played previously with a working version - sure I read somewhere that playback states were retained.

Using the Isengard 15.2 DX11 build from the 1st post.

I have also added the media info from the actual file showing the header confirmation

http://pastebin.com/Xv5tGtAd

i made some quickly test with forced subtitles and seems works for me, maybe can you provide a sample of one of this problematics file
@aracnoz - thanks for the response. Will provide a short sample, but will probably be tomorrow now.
(2015-10-20, 23:56)aracnoz Wrote: [ -> ]the rule should be defined in this way

Code:
<mediasconfig>
  <rules>
    <rule filetypes="mkv">
      <source filter="lavsource_internal" />
      <splitter filter="lavsplitter_internal" />
      <video>
        <video videocodec="hevc" filter="lentoid_hevc_decoder" />
        <video filter="lavvideo_internal" />
      </video>
      <audio filter="lavaudio_internal" />
      <subs filter="xysubfilter_internal" />
    </rule>
  </rules>
</mediasconfig>

Tried it and it still load LAVFlters. Log file as follow. Tried it with hevc,HEVC string , same result.

Code:
05:17:42 T:16632  NOTICE: CDSPlayer::OpenFile - DSPlayer: Opening: D:\TearsOfSteel_720p-h265.mkv
05:17:42 T:16632  NOTICE: CDSPlayer::OpenFileInternal - DSPlayer: Opening: D:\TearsOfSteel_720p-h265.mkv
05:17:42 T:14408  NOTICE: Thread CDSPlayer thread start, auto delete: false
05:17:42 T:14408  NOTICE: CDSPlayer::Process - Creating DS Graph
05:17:42 T:9160  NOTICE: Thread CDSGraphThread thread start, auto delete: false
05:17:42 T:9160  NOTICE: Loading filter core factory settings from special://profile/dsplayer/filtersconfig.xml (filters configuration).
05:17:42 T:9160  NOTICE: Loading filter core factory settings from special://xbmc/system/players/dsplayer/filtersconfig.xml (filters configuration).
05:17:42 T:9160  NOTICE: Loading filter core factory settings from special://profile/dsplayer/mediasconfig.xml (medias configuration).
05:17:42 T:9160  NOTICE: Loading filter core factory settings from special://xbmc/system/players/dsplayer/mediasconfig.xml (medias configuration).
05:17:42 T:9160  NOTICE: Successfully loaded rules
05:17:42 T:9160  NOTICE: CFGLoader::InsertAudioRenderer Successfully added "" - DiplayName:  to the graph
05:17:42 T:9160  NOTICE: CFGLoader::InsertFilter Successfully added "LAV Splitter Source" to the graph
05:17:59 T:17488  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: HEVC (High Efficiency Video Coding)
05:17:59 T:9160  NOTICE: CFGLoader::InsertSourceFilter Successfully loaded file in the splitter/source
05:17:59 T:9160  NOTICE: CFGLoader::InsertFilter Successfully added "XyVSFilter Auto" to the graph
05:17:59 T:9160  NOTICE: CStreamsManager::LoadIAMStreamSelectStreamsInternal Audio stream found : A: aac lc, 48000 Hz, 5.1 [default] - index: 1
05:17:59 T:9160  NOTICE: CSubtitleManager::Initialize disabled libsubs.dll
05:17:59 T:9160 WARNING: CFGLoader::LoadFilterRules DVDPlayer failed to fetch streams details. Using DirectShow ones
05:17:59 T:9160  NOTICE: CFGLoader::InsertFilter Successfully added "FFDShow Audio Processor" to the graph
05:17:59 T:9160  NOTICE: CFGLoader::InsertFilter Successfully added "LAV Video Decoder" to the graph
05:17:59 T:9160  NOTICE: CFGLoader::InsertFilter Successfully added "LAV Audio Decoder" to the graph
05:18:00 T:9160  NOTICE: Display resolution for madVR ADJUST : 1920x1080@ 24.00 - Full Screen (96) (weight: 0.000)
05:18:01 T:14408  NOTICE: CDSPlayer::Process - Successfully creating DS Graph
05:18:01 T:16416  NOTICE: Thread CGraphManagementThread thread start, auto delete: false

This is when using filename rule

Code:
05:33:16 T:14360  NOTICE: CDSPlayer::OpenFile - DSPlayer: Opening: D:\TearsOfSteel_720p-h265.mkv
05:33:16 T:14360  NOTICE: CDSPlayer::OpenFileInternal - DSPlayer: Opening: D:\TearsOfSteel_720p-h265.mkv
05:33:16 T:2892  NOTICE: Thread CDSPlayer thread start, auto delete: false
05:33:16 T:2892  NOTICE: CDSPlayer::Process - Creating DS Graph
05:33:16 T:17516  NOTICE: Thread CDSGraphThread thread start, auto delete: false
05:33:16 T:17516  NOTICE: Loading filter core factory settings from special://profile/dsplayer/filtersconfig.xml (filters configuration).
05:33:16 T:17516  NOTICE: Loading filter core factory settings from special://xbmc/system/players/dsplayer/filtersconfig.xml (filters configuration).
05:33:16 T:17516  NOTICE: Loading filter core factory settings from special://profile/dsplayer/mediasconfig.xml (medias configuration).
05:33:16 T:17516  NOTICE: Loading filter core factory settings from special://xbmc/system/players/dsplayer/mediasconfig.xml (medias configuration).
05:33:16 T:17516  NOTICE: Successfully loaded rules
05:33:16 T:17516  NOTICE: CFGLoader::InsertAudioRenderer Successfully added "" - DiplayName:  to the graph
05:33:16 T:17516  NOTICE: CFGLoader::InsertFilter Successfully added "LAV Splitter Source" to the graph
05:33:16 T:7588  NOTICE: metahandler: No SQLite rows requiring update
05:33:16 T:17516  NOTICE: CFGLoader::InsertSourceFilter Successfully loaded file in the splitter/source
05:33:17 T:17516  NOTICE: CFGLoader::InsertFilter Successfully added "XyVSFilter Auto" to the graph
05:33:17 T:17516  NOTICE: CStreamsManager::LoadIAMStreamSelectStreamsInternal Audio stream found : A: aac lc, 48000 Hz, 5.1 [default] - index: 1
05:33:17 T:17516  NOTICE: CSubtitleManager::Initialize disabled libsubs.dll
05:33:17 T:17516  NOTICE: CFGLoader::InsertFilter Successfully added "FFDShow Audio Processor" to the graph
05:33:17 T:17516  NOTICE: CFGLoader::InsertFilter Successfully added "Lentoid HEVC Decoder" to the graph
05:33:17 T:17516  NOTICE: CFGLoader::InsertFilter Successfully added "LAV Audio Decoder" to the graph
05:33:17 T:7588  NOTICE: metahandler: No SQLite rows requiring update
05:33:17 T:17516  NOTICE: Display resolution for madVR ADJUST : 1920x1080@ 24.00 - Full Screen (96) (weight: 0.000)
05:33:17 T:7588  NOTICE: metahandler: No SQLite rows requiring update
05:33:18 T:2892  NOTICE: Previous line repeats 8 times.
05:33:18 T:2892  NOTICE: CDSPlayer::Process - Successfully creating DS Graph
05:33:18 T:8384  NOTICE: Thread CGraphManagementThread thread start, auto delete: false
@oldpoem

mmm it's very strange

are you sure that's the first defined rule in your mediaconfig, can you also try to set only the rule posted by me just for test
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