Kodi Community Forum
Kodi DSPlayer – DirectShow Player for Windows - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59)
+---- Thread: Kodi DSPlayer – DirectShow Player for Windows (/showthread.php?tid=223175)

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


RE: Kodi DSPlayer – DirectShow Player for Windows - oldpoem - 2015-10-21

It's very strange indeed. It just works now. I didn't do anything. The log is different now.

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

Those 2 errors were gone.

NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: HEVC (High Efficiency Video Coding)
WARNING: CFGLoader::LoadFilterRules DVDPlayer failed to fetch streams details. Using DirectShow ones

Not sure why or how. But all seems good now.


RE: Kodi DSPlayer – DirectShow Player for Windows - aracnoz - 2015-10-21

yes i was trying to figure out why in your case it was failing to catch information from streamdetails...

anyway i just made a quickly test build with the new parameter "videocodec" also for rule definition

can you pls guys test if works also for you by setting the rule from kodi GUI

obviously it's needed to create two rules in this way, the first one with videocodec set with "hevc" and the other one without any string in videocodec

http://www.mediafire.com/download/24l8eyx8tjbs6u6/Kodi_videodec.rar

night Smile


RE: Kodi DSPlayer – DirectShow Player for Windows - oldpoem - 2015-10-21

It works.

result mediaconfig.xml

Code:
<rule filetypes="mkv" videocodec="hevc">
            <source filter="lavfsplitter" />
            <splitter filter="lavf_splitter" />
            <video filter="lentoid_hevc_decoder" />
            <audio filter="lavaudiodec" />
            <subs filter="xyvsfilter" />
            <extra>
                <extra filter="ffdshow_audio_processor" />
            </extra>
        </rule>
        <rule filetypes="mkv">
            <source filter="lavfsplitter" />
            <splitter filter="lavf_splitter" />
            <video filter="lavvideodec" />
            <audio filter="lavaudiodec" />
            <subs filter="xyvsfilter" />
            <extra>
                <extra filter="ffdshow_audio_processor" />
            </extra>
        </rule>

Also I have a suggestion. Since order is important in this case, could you implement something like moving rules up/down in GUI ?


RE: Kodi DSPlayer – DirectShow Player for Windows - ashlar - 2015-10-21

oldpoem, are you finding this Lentoid codec faster than LAV with hardware decoding (which should offload at least partially to the GPU, if I understand things correctly)? I have a GTX 660 in my HTPC and I was wondering what would be the fastest decoding option.


RE: Kodi DSPlayer – DirectShow Player for Windows - Talguy - 2015-10-21

Has anyone gotten SVP4 working with FFDShow Raw filters? I was able to get the latest version of SVP3 to work but not the new public-free release of SVP4


RE: Kodi DSPlayer – DirectShow Player for Windows - XTrojan - 2015-10-21

Does MadVR do 10bit 4:4:4 on 4k? I Bought a new TV but some professionells are saying that 4:4:4 10bit 4k is impossible since HDMI 2.0 can't handle it.

I'm unsure if my new TV does 4:4:4 on 24Hz as well, they only stated that it does 8bit 4:4:4 at 50/60Hz with PC mode on and UHD color on.

Should i thus decrease native bitdepth to -> 8bit, and disable DX11 10bit?

The Blurays i have are encoded in 4:2:0 and probably 8bit color, if i understood correctly, MadVR will upscale it to 4:4:4 RGB & 10bit?


RE: Kodi DSPlayer – DirectShow Player for Windows - Talguy - 2015-10-21

(2015-10-21, 16:20)XTrojan Wrote: Does MadVR do 10bit 4:4:4 on 4k? I Bought a new TV but some professionells are saying that 4:4:4 10bit 4k is impossible since HDMI 2.0 can't handle it.

I'm unsure if my new TV does 4:4:4 on 24Hz as well, they only stated that it does 8bit 4:4:4 at 50/60Hz with PC mode on and UHD color on.

Should i thus decrease native bitdepth to -> 8bit, and disable DX11 10bit?

The Blurays i have are encoded in 4:2:0 and probably 8bit color, if i understood correctly, MadVR will upscale it to 4:4:4 RGB & 10bit?

Doesn't
4:2:0 = 8 Bits
4:2:2 = 10 Bits
4:4:4 = 12 Bits?


RE: Kodi DSPlayer – DirectShow Player for Windows - aracnoz - 2015-10-21

(2015-10-21, 01:21)oldpoem Wrote: It works.

Also I have a suggestion. Since order is important in this case, could you implement something like moving rules up/down in GUI ?

i already made something different with the same final purpose, i cannot add some button to move up/down the rules because i have to use the dialog that come with official kodi, create a custom dialog it's impossible because i should add the new "template" for each skin


RE: Kodi DSPlayer – DirectShow Player for Windows - XTrojan - 2015-10-21

(2015-10-21, 19:12)Talguy Wrote:
(2015-10-21, 16:20)XTrojan Wrote: Does MadVR do 10bit 4:4:4 on 4k? I Bought a new TV but some professionells are saying that 4:4:4 10bit 4k is impossible since HDMI 2.0 can't handle it.

I'm unsure if my new TV does 4:4:4 on 24Hz as well, they only stated that it does 8bit 4:4:4 at 50/60Hz with PC mode on and UHD color on.

Should i thus decrease native bitdepth to -> 8bit, and disable DX11 10bit?

The Blurays i have are encoded in 4:2:0 and probably 8bit color, if i understood correctly, MadVR will upscale it to 4:4:4 RGB & 10bit?

Doesn't
4:2:0 = 8 Bits
4:2:2 = 10 Bits
4:4:4 = 12 Bits?

I just checked wiki, if i understood correctly, MadVR will upscale everything? Rec 2020 is stated to be everything (Bitdepth, colorspace, chroma subsampling). Which is -> 10bit, RGB32, 4:4:4. (Standard Blu-Ray being 8bit bpc, YUV, 4:2:0)

Quote: HDMI 2.0 supports the Rec. 2020 color space.[16] HDMI 2.0 can transmit 12-bit per sample RGB at a resolution of 2160p and a frame rate of 24/25/30 fps or it can transmit 12-bits per sample 4:2:2/4:2:0 YCbCr at a resolution of 2160p and a frame rate of 50/60 fps

I'm not sure if MadVR is touching bitdepth and colorspace. But chroma does get scaled to 4:4:4. I'm not sure what 10bit dithering is...

This brings a new issue to my mind, My nvidia control panel has only 8/12bpc and not 10, but MadVR can only select 8/9/10bpc?

HDR without the "HDR" trademark is rec 2020 with same settings but bpc set to 10 (not 12) + ignoring Dolby Perceptual Quantizer.


RE: Kodi DSPlayer – DirectShow Player for Windows - oldpoem - 2015-10-21

(2015-10-21, 12:57)ashlar Wrote: oldpoem, are you finding this Lentoid codec faster than LAV with hardware decoding (which should offload at least partially to the GPU, if I understand things correctly)? I have a GTX 660 in my HTPC and I was wondering what would be the fastest decoding option.

Observed from pressing "O" during playback, Lentoid is quite faster than LAV on h265. On my i3 system / Nvidia GT630 sometimes it can reduce CPU load up to 20% difference on the same test file.


RE: Kodi DSPlayer – DirectShow Player for Windows - oldpoem - 2015-10-21

(2015-10-21, 14:47)Talguy Wrote: Has anyone gotten SVP4 working with FFDShow Raw filters? I was able to get the latest version of SVP3 to work but not the new public-free release of SVP4

I believe they went alternative way and doesn't use FFDShow RAW / AVISynth anymore. So unless they added DSPlayer to their supported player, it won't work for now.


RE: Kodi DSPlayer – DirectShow Player for Windows - Warner306 - 2015-10-22

(2015-10-21, 16:20)XTrojan Wrote: Does MadVR do 10bit 4:4:4 on 4k? I Bought a new TV but some professionells are saying that 4:4:4 10bit 4k is impossible since HDMI 2.0 can't handle it.

I'm unsure if my new TV does 4:4:4 on 24Hz as well, they only stated that it does 8bit 4:4:4 at 50/60Hz with PC mode on and UHD color on.

Should i thus decrease native bitdepth to -> 8bit, and disable DX11 10bit?

The Blurays i have are encoded in 4:2:0 and probably 8bit color, if i understood correctly, MadVR will upscale it to 4:4:4 RGB & 10bit?

4:4:4 is a description of chroma subsampling using the Y'CbCr color space. madVR will output as RGB, which is 4:4:4 (or equivalent). Some TVs will want to convert the RGB output back to Y'CbCr. This could mean down-converting to 4:2:2 or 4:4:4. This would remain true regardless of the bit depth (8 or 10-bit).

In either case, this should not make much of a difference. There is a 4:4:4 test image in the Image Scaling section of the set-up guide if you are curious what your TV does to the signal. But 10-bit RGB is, of course, possible with any TV.

(2015-10-21, 19:12)Talguy Wrote:
(2015-10-21, 16:20)XTrojan Wrote: Does MadVR do 10bit 4:4:4 on 4k? I Bought a new TV but some professionells are saying that 4:4:4 10bit 4k is impossible since HDMI 2.0 can't handle it.

I'm unsure if my new TV does 4:4:4 on 24Hz as well, they only stated that it does 8bit 4:4:4 at 50/60Hz with PC mode on and UHD color on.

Should i thus decrease native bitdepth to -> 8bit, and disable DX11 10bit?

The Blurays i have are encoded in 4:2:0 and probably 8bit color, if i understood correctly, MadVR will upscale it to 4:4:4 RGB & 10bit?

Doesn't
4:2:0 = 8 Bits
4:2:2 = 10 Bits
4:4:4 = 12 Bits?

RGB is measured in bits per channel: 8-bits per channel or 10-bits per channel.

So, RGB 4:4:4 at 10 bits would be equal to 30 bits. RGB 4:2:2 would be 20 bits.


RE: Kodi DSPlayer – DirectShow Player for Windows - Uoppi - 2015-10-22

(2015-10-20, 10:38)aracnoz Wrote:
(2015-10-20, 09:31)Uoppi Wrote: I think I'll report to madshi the issue of aspect ratio not switching properly between 4:3/16:9 in http(s) stream even when using Kodi Normal view. In the meantime, if any of you have such a stream available and could check what happens with the latest madVR + DSPlayer (does 4:3 get stretched? What does madVR OSD say? etc.), I think it could be helpful.

It looks like a madVR scaling/black bar detection issue (just an uneducated guess) that started happening after one of the recent updates. I initially thought it could be DSPlayer because I must have updated both at the same time and the DSPlayer changelog mentioned something about updated zoom functionality.

i think that you should try with this madVR build madVR08821.zip that it's before any zoom control options was added

I finally had a little time to test and this indeed seems to be a DSPlayer bug that got introduced with the Oct 4th release.

1) Latest DX11 Kodi test build (from the Kodi site) + DVDPlayer = Normal view mode doesn't force stretch 4:3 into 16:9
2) Latest "regular" Kodi build + DVDPlayer = Normal view mode doesn't force stretch 4:3 into 16:9
3) DSPlayer of any build before Oct 4th + any madVR version = Normal view mode doesn't force stretch 4:3 into 16:9
4) Both DSPlayer builds from October + madVR (any version, incl. the one aracnoz helpfully linked) = Normal view mode force stretches 4:3 into 16:9 (or rather retains the picture in 16:9 ratio and doesn't switch to 4:3 ratio even for a second anymore, at least not in the very latest DSPlayer build - the behavior is as if no aspect ratio change happened).

The changelog for the Oct 4th release says something about "Fixed Kodi Zoom options", which I assume is somehow related to this zooming bug?

BTW, I can't launch the stream using DVDPlayer from the DSPlayer Kodi build, it always starts in DSPlayer - seems like another bug? I don't think mediasconfig needs altering to be able to manually launch DVDPlayer from within Kodi (?).


RE: Kodi DSPlayer – DirectShow Player for Windows - aracnoz - 2015-10-22

@Uoppi
this "Fixed Kodi Zoom options" it's needed to have in real time the changes made to the rect with kodi's zoom options also when using DSPlayer, there is no way that this it's the cause of the problem

somewhere dsplayer receives the command to set that aspect ratio, with the previous release DSPlayer was ignoring the message to change aspect ratio while playback so why you was not experiencing this problem, but it's not the solution

without a way to reproduce i cannot do anything because i have to see when and from where the message with new rect arrives to dsplayer, maybe it's something related specifically to the addons that you are using because i cannot reproduce this issue with my sources

p.s.

maybe something with your rules force to use always dsplayer with streaming contents anyway if you want to check dvdplayer behavior with dsplayer version you can uncheck system - video - dsplayer - "use as default video player"
but i think that dvdplayer will have the same behavior that with the official version


RE: Kodi DSPlayer – DirectShow Player for Windows - XTrojan - 2015-10-22

(2015-10-22, 08:20)Warner306 Wrote:
(2015-10-21, 16:20)XTrojan Wrote: Does MadVR do 10bit 4:4:4 on 4k? I Bought a new TV but some professionells are saying that 4:4:4 10bit 4k is impossible since HDMI 2.0 can't handle it.

I'm unsure if my new TV does 4:4:4 on 24Hz as well, they only stated that it does 8bit 4:4:4 at 50/60Hz with PC mode on and UHD color on.

Should i thus decrease native bitdepth to -> 8bit, and disable DX11 10bit?

The Blurays i have are encoded in 4:2:0 and probably 8bit color, if i understood correctly, MadVR will upscale it to 4:4:4 RGB & 10bit?

4:4:4 is a description of chroma subsampling using the Y'CbCr color space. madVR will output as RGB, which is 4:4:4 (or equivalent). Some TVs will want to convert the RGB output back to Y'CbCr. This could mean down-converting to 4:2:2 or 4:4:4. This would remain true regardless of the bit depth (8 or 10-bit).

In either case, this should not make much of a difference. There is a 4:4:4 test image in the Image Scaling section of the set-up guide if you are curious what your TV does to the signal. But 10-bit RGB is, of course, possible with any TV.

(2015-10-21, 19:12)Talguy Wrote:
(2015-10-21, 16:20)XTrojan Wrote: Does MadVR do 10bit 4:4:4 on 4k? I Bought a new TV but some professionells are saying that 4:4:4 10bit 4k is impossible since HDMI 2.0 can't handle it.

I'm unsure if my new TV does 4:4:4 on 24Hz as well, they only stated that it does 8bit 4:4:4 at 50/60Hz with PC mode on and UHD color on.

Should i thus decrease native bitdepth to -> 8bit, and disable DX11 10bit?

The Blurays i have are encoded in 4:2:0 and probably 8bit color, if i understood correctly, MadVR will upscale it to 4:4:4 RGB & 10bit?

Doesn't
4:2:0 = 8 Bits
4:2:2 = 10 Bits
4:4:4 = 12 Bits?

RGB is measured in bits per channel: 8-bits per channel or 10-bits per channel.

So, RGB 4:4:4 at 10 bits would be equal to 30 bits. RGB 4:2:2 would be 20 bits.

So MadVR actually does output in HDR format without the dolby program?

What happens if the TV doesn't support 4:4:4, will the TV or the GPU be left to downgrade it to 4:2:2 or will MadVR detect it (If Nvidia control panel is set to RGB). Cause RGB is dynamic from what i understood? It doesn't need switching from 444 to 422 etc in control panel?