Posts by ukmark62

    Running LibreELEC 9.0 on Android TV box - S905X with 2GB ram and 16GB internal memory, running LE from 32GB class10 SD card. This issue is not present with LibreELEC 8.2 or Kodi Leia on Windows 10 or Android.


    I’ve noticed that occasionally when resuming playback on a video, there is no audio for up to several seconds. I think there is a pattern to this on the testing I have done so far and it appears to be related to video keyframes (i.e. video resumes at previous keyframe whereas audio resumes at "actual" resume time). There was a change done in LibreELEC (version 8 - Kodi 17.6), where resumption of video playback was fixed to look for the previous keyframe as the resumption point (it used to look for the next keyframe). Here is the link from the libreelec forum, see post 1,244 concerning PR11713:- Fix for resuming playback in Kodi - link to PR11713


    For example up until this change, if you stopped playback at 5:00, where the previous keyframe in the video stream was at 4:55 and the next keyframe was at 5:05, then when resuming playback, the video would start at 5:05 (5 seconds too late). After this fix, the video resumed at 4:55. With the vast majority of video streams it appears that video keyframes are very close to each other, and the time difference between the previous video keyframe resume time and the "actual" resume time is negligible, so you won’t notice any audio problems. I’ve found that very occasionally, the gap between keyframes can be several seconds, and what appears to be happening here is that whilst the video resumes at the previous keyframe, the audio seems to resume at the "actual" time playback was stopped. So, using the above example, playback between 4:55 and 5:00 would mean no audio was heard, and once we reached 5:00, the audio resumed.


    I've posted a link to a small 15Mb sample.mkv showing the issue where the gap between keyframes is several seconds. If you stop playback at 40 seconds, then resume from there, you should notice that playback resumes from about 33-34 seconds, and there is no audio until you hit the 40 second mark. (You may need to add the following to your Kodi "advancedsettings.xml" file or the video won't be marked as in progress):-

    <advancedsettings>

    <video>

    <ignoresecondsatstart>30</ignoresecondsatstart>

    </video>

    </advancedsettings>


    It does appear that audio always resumes from the resume time regardless of where the previous video keyframe is. This issue is not present using LibreELEC v8.2.5 (Kodi 17.6). With that version the video resumes from 33 seconds and there is audio from that time also


    Link to sample Audio resume sample

    wrxtasy Thanks for your last releasing build for S912, LibreELEC-S912.arm-8.2.5-Chroma.422.10bit.img. I have tried to download that version, but the Mega link is not working now, such that I cannot download that version. It seems there's some problem to the Mega link. So could you please provide another download space/link for LibreELEC-S912.arm-8.2.5-Chroma.422.10bit.img? I suggest Google drive is a good choice! Thanks so much!

    Try this link - you can download all of wrxtasy's images from here.

    MEGA

    OK so I got mine to work on the first try. I downloaded from kszaq.libreelec.tv. I'm using LibreELEC-S905.arm-8.2-8.2.3.1.img with gxl_p212_2g.dtb.

    So I have a few general questions:

    (1) Once the system boots from the SD card, where does Kodi's userdata go? Is it to the Android box's internal storage, or does it get written back to the SD card? I don't seem to see anything new on the SD card so I'm assuming it goes to the Android box. Correct me if I'm wrong.

    (2) As long as everything seems to run OK and I then burn this to internal nand flash, will I be able in the future to replace with a different load by going through the same SD install process again?

    1 - As you've later discovered, the data is stored on the SD card, Android/NAND is untouched.

    2 - SSH and run "installtointernal" will be fine. You can repeat the process in the future (provided that "installtointernal" is supported). I think "official" LE does not support "installtointernal" - I think CoreELEC (CE) Leia (v9.x) and existing kszaq/wrxtasy/balbes150 builds for LE8 still support it but I'm not 100% sure on that. The only downside to installing to NAND is you lose Android (although I find Android a PITA - so I have also installed LE to NAND over a year ago and don't regret it).

    There is a hybrid approach where you can still run unofficial LE/CE builds from SD card, but save Kodi data to NAND. Android is untouched. I haven't tried this myself as I don't need Android. Link is here:- [HOWTO] Boot from SD card, use internal memory for data

    I mean which image. There's more than one for S905...

    LibreELEC-905.arm-8.2.4.2-C2

    LibreELEC-905.arm-8.2.4.2-S905Test-1529136339

    LibreELEC-905.arm-8.2.4.2-Test2-wetekdvb

    LibreELEC-905.arm-8.2.4.2-Chroma.422.10bit

    The C2 is for the Odroid box I believe, so not that one, but any of the other 3 should be fine. I currently use LibreELEC-905.arm-8.2.4.2-S905Test-1529136339 without any issues.

    All focus for LibreELEC is on Rockchip RK3328 now then RK3399 developer boards.

    So things won't work correctly at the moment or be fixed soon for RK3399 tv boxes.

    I have a RK3328 MX10 device with 4gb RAM/32gb NAND. Currently I can't install LE on SD card for this box - just get scrolling pages of text at bootup - not a problem as I have LE running on S905x boxes.

    Are there plans to enable LE for more RK3328 devices or is support to be limited to the current devices?

    Thanks.

    wrxtasy,

    I can't find the source code for the S905 8.2.4.2 latest build. I've looked on Github but can only find your 8.2.4.1 S912 source code.

    Is there any way you could provide the source code please?

    The reason I ask is that this build is the best (by far) of all the LE and CE builds for my S905 and S905x box. I use the 'sync playback to display' feature (with adjust refresh rate 'off') as I play everything directly from the box via HDMI to the TV. That way my TV stays at 1080p/50Hz and all video/audio is synced to 25p. I don't use audio passthrough. There are zero stutters with your build - other builds have always exhibited random, unpredictable (albeit infrequent) stutter.

    I would like to create a clone/fork of the 8.2.4.2 S905 source as I'm interested in having a go at creating my own LE builds. I did it with kszaq's builds - but there was always a slight (unpredictable) stutter with those original builds with 'sync playback to display' turned on, and I could never figure out what caused the stutter.

    Cheers.

    Hello gang, just got a sample of this box, I think is S905X wondering if I can install libreelec dual boot external SD card on this one, what information you need me to obtain from the hardware to know if it can be done? Thanks in advance AZ

    If installing to SD card, then it doesn't matter if it works or not, as Android will be untouched.

    I'd say just go for it with a spare SD card - there's nothing to lose. The S905x dtbs begin with "gxl-p212"

    Managed to get a LibreELEC version installed from Kwiboo's github:-

    Releases · Kwiboo/LibreELEC.tv · GitHub - the latest alpha5 release from 4 Oct 2017.

    Still get scrolling text at the beginning, but it only lasts a few seconds. No Wifi, but playback looks fairly good based on my initial testing.

    Methinks, in the future, there's a good chance of a fully functioning version for RK3328. Here's hoping.

    Hi,

    I have a RK3328 box, model MX10 with 4GB RAM and 32GB flash. It's running the latest Android Oreo 8.1.

    I've tried installing a few of the images from this thread to a 32GB micro SD, and each time I get pages of rolling numbers and text.

    I have used the Etcher program to format the SD card.

    I also tried a nightly from LibreELEC (here:- Index of /), but get the same thing.

    Any ideas or is it just too early in the development cycle?

    TIA

    Yep, still there. I guess this issue is unresolvable. We have to live with it.

    It might be related to TV. Only some users report this strange behaviour. I'm using old Panasonic's plasma TV. Maybe this stutter doesn't occur on new TVs. I don't know.

    I got used to it.

    I've never noticed it. I have S905, S905x and S905w boxes. I have a Panny plasma TX-P42X50B model. I've never noticed it on any of these boxes with all releases I've used up to and including the excellent wrxtasy latest release.

    I'm very sensitive to video stutter, motion judder etc, so I would think I would notice it if it was occurring for me.

    Does it happen on a fresh install without any extra addons or advanced settings? Just wondering.............

    Should work - I have several S905, S905x and S905w boxes and can swap the SD card around just by replacing the dtb.img file on the root of the SD card.