Posts by jd17

    Videos encoded at 10 Bit color depth show horrible (hard) banding (lines) in Krypton.
    Gradations look perfectly smooth in Jarvis and Windows, although the videos are only being displayed at 8 Bit color depth there as well.

    Assumption:
    Jarvis and Windows properly convert the color depth to 8 Bits.
    Krypton just truncates the color depth.

    I am aware that this has been known for a while, but I still thought it makes sense to have a proper bug report thread for this.
    Maybe this can be forwarded to AMLogic somehow?

    Device type:
    S905X
    Build:
    Any Krypton build up to at least 8.0.1k
    Device:
    Mini M8S II 2GB/16GB

    How to reproduce:
    Play 10 Bit video and look out for gradation that is supposed to be smooth.

    Sample:
    view?usp=sharing

    Specs from sample video:

    Support logs:
    I don't see how a log would help in this case.

    I took pictures instead:

    Jarvis:
    zezNFby.jpg

    Krypton:
    9mtE5iI.jpg

    (It only shows 4:47 on the Jarvis picture because of Unpause Jumpback, which I set to 4 seconds. It is not installed in Krypton yet.)

    Movie has been playing via NFS for 1h 12min now, not a single skip! :)
    Things are looking good!

    Quote


    I only changed late frame management. After my investigation I realized this procedure is trying skip frames already output from decoder. I relaxed criterion for late frames ( 0.98 -> 1.9). Too much relaxing this value can cause a/v out of sync. I also increased measurement window for VSyncOff (30 frames -> 120 frames) to attenuate value changed and eliminate frame skipping.

    You did apply those changes between j and k?
    So it makes sense that k performs better than j or is it just a coincidence?

    I tested your build and played the movie via NFS, as usual.
    It played for 28 minutes, in which 25 frameskips occurred.
    I switched to another HDMI in the beginning and eventually back, this might have triggered a few of those skips.
    However, the 25 skips are in the same ballpark as the regular 8.0.1k, so I think there is no significant improvement.
    It is not close to the 7 skips I had via USB.


    My next test will be afl1's latest build via USB.

    I know this is an old post, but I have recently been testing FLAC 16bit as an alternative to untouched DTS-HD MA tracks to save some space (it works great btw).

    FLAC audio (or the decoding to PCM) introduces an additional delay for me.
    The 175ms are perfect to me for bitstreaming DTS (HD) and Dolby Digital (+TrueHD) etc., but a FLAC track decoded to multichannel PCM apparently adds another 175ms (or at least something close to that).

    Is it possible to add another exception to the advancedsetings for a specific audio track type?

    Something like (pseudo:(

    <video>
    <latency>
    <delay>0</delay>
        <audio codec>
    <type>flac</type>
    <delay>175</delay>
    </refresh>
    </latency>
    </video>


    Can somebody help me with this?

    Also, the FLAC sometimes has weird distorted noise to it and a beep when it starts.
    Is there a fix for that?
    It's normally gone when I start a DD file and go back to the FLAC file...


    You can always switch off the option to set the display rate to the video option of course as most of us used before in KODI 16, but then you are losign a lot of the better and smoother potential display benefits brought in with KODI 17.

    What are you talking about?

    7.0.3.012j displays fractional framerates perfectly.


    Can you give this build a try? Here's the matching source code. That adds the missing chunksize patch and includes PR 12110, PR 12074 and partially LE PR 713.

    I will, but it is based on kszaq's build, right?
    So I would compare the performance to 8.0.1k over NFS (25 skips in 26 minutes)?

    Can you apply those patches to afl1's build as well?
    thread-2722.html

    His 8.0.1j-l already performed quite well over NFS (only 5 skips in 42 minutes).

    I just copied the movie to a USB3 flash drive to rule out LAN as a root cause.

    Again, I started the movie and played it for 28 minutes (8.0.1k).
    I had 7 skips in that time.

    This is clearly less than over LAN, so my conclusion would be that NFS has am impact too.
    [hr]


    I backported the chunksize patches to 'krypton' here, and I have a matching build as well. That should improve throughput a bit, but I haven't tried to do proper comparisons yet. If you think networking is the bottleneck for you, can you give the above a try?

    Can you apply this patch to afl1's build?
    I had significantly less skips in that build, so your patch might just be the edge it needs? :)

    I just tested 8.0.1k.
    I don't know if you tried to adress this in the build or not - I'm just trying to support.

    Anyhow, I had 25 skips within 26 minutes.
    [hr]


    I backported the chunksize patches to 'krypton' here, and I have a matching build as well. That should improve throughput a bit, but I haven't tried to do proper comparisons yet. If you think networking is the bottleneck for you, can you give the above a try?

    I don't know if it's a bottleneck or not.
    I did include a log in which a skip occurred, but I don't know what the root cause is.
    Can you see that in the log?


    Those with S905x boxes, have u had any problems vp9 4k videos? Just downloaded my first one and video was stuttering... Checked network usage and no probs there, then saw CPU usage was peaking near constant 100 percent.

    I just redownloaded a 1440p mp4 instead and perfect. Sorry if its already been mentioned but do we have support for vp9 files in these builds using a S905x box?

    I think barely anyone tested VP9, since it is so uncommon and unpopular.
    To me it feels like HEVC (H.265 / x265) already "won the race"...

    The only two samples in the Kodi wiki are VP9 Profile 2 (HDR), this is probably not supported at all:
    Samples - Official Kodi Wiki

    If there is support for VP9, there probably is nobody maintaining it because there is no demand.


    jd17 can you please try running the latest build from afl1 from this thread: thread-2722.html

    It's been playing since 18 minutes now, not a single "spontaneous" skip! :)
    (Played via LAN, NFS.)
    So kudos to afl1!
    I have two skips, but the second was triggered by pressing OK (overlay) and the first one either at the beginning or by pressing either OK for the first time or PlayDebug for the first time.

    ...Now 24 minutes in, no additional skips! :)
    [hr]
    Update:
    42 minutes in: 3 additional spontaneous skips. :cry:

    Well, I considered network as a possible error before.
    It is important to me that these files play perfectly over network, because they do so in Jarvis, which means it is not a hardware limitation.

    I thought the log would show if the skip is decoder or network related?
    Sorry I can't read code well enough...

    The file in question has a combined max. bitrate of maybe 45 mbit/s.
    If network limits, it is a software/overhead? issue, because that is not close to the bitrate where Jarvis would struggle.

    Quote


    jd17 can you please try running the latest build from afl1 from this thread: thread-2722.html

    You can safely update from one of my builds and then go back, no data wipe needed.

    I'll do that this afternoon.


    ...

    Thank you for answering these questions! :)
    It does look like our conditions are the same (if you noticed those changes on S905X as well).

    Quote


    I actually used the pattern v2 some days ago, and saw for the first time the "slightly darker" boxes in the clipping test area. It had bothered my before, as I could not see them properly in all the older versions of kodi on amlogic, even if I aggressively changed the settings of the projector. I did not compare the other areas explicitly.

    Do you mean you could see squares in the clipping fields, but not all four squares - only the lighter, left ones?

    Quote


    You might still be right that I am victim of some placebo effect or an unrelated change. I might try to take pictures of my screen, but I have no high quality camera. If I find some time during the week, I setup a non-nougat-kernel version and compare the patterns in more detail. (I use this process:
    Choosing a Color Space, 2nd Edition | Spears & Munsil)

    Well I did not intend to imply you are a victim to placebo.
    I am just as much trying to identify the difference on my side too.
    You have both described the change as quite significant so I am confused that I can't see it.
    If it were something subtle, I had just blamed my eyes. ;)

    I will try to compare the Spears&Munsil pattern on both versions again too.


    On a side note:
    Those clipping squares were never visible on any RPi build, but that still did not stop me from using the RPi2 every day.
    The reason is that I never saw any negative impact in movies.

    Generally speaking, the Pi's performance in this pattern is not good, but OK where it really counts in my opinion (upsampling and diagonals).
    So I would call the changes between RPi and S905X subtle, although they are clearly reproducible with the pattern.