Posts by popcornmix

    I think I was a bit hasty saying the new RPi4 was faulty. I have configured the mains so I can switch on the TV first and view the full boot sequence. Running 11.0.3 on one TV I am using to test bootup the first display frequency is 1080p 60Hz next 1366x786 62Hz for most of the boot sequence then 720p 50Hz which is the resolution in system settings! On this TV during the 62Hz time the display is torn and unreadable. In normal use with this RPi4 if this TV is not taken out of Standby within 5 seconds the screen locks up! Another TV displays nothing if this RPi4 is connected.

    I'm not entirely understand the sequence of events here.

    For TV's that don't provide an EDID when powered off (many but not all do),

    you should power the TV on and select the correct AV input first.

    Assuming you have done this, then I'm not sure how this occurs:

    > In normal use with this RPi4 if this TV is not taken out of Standby within 5 seconds the screen locks up!

    So, does the TV behave as desired when it is powered on and switched to correct AV input before powering on the Pi?

    If yes, then then getedid create will make things much smoother in future (order of powering on won't matter).

    If no, then post a debug log.

    Looks like carsten888 has found the answer here.

    (It's always better to check for the official addon thread on the kodi forum).

    But for anyone else, the repo version of YouTube is broken and there is a fixed alpha version which you need to update from zip file.

    (which for some reason has been working fine for a couple of months but hasn't been pushed to stable).

    For that to work properly do I need to whitelist the modes the tv supports?

    It will work whatever you do. Enabling "adjust display refresh rate to match video" is recommended for smooth playback.

    You can use the whitelist, but if the display is 1080p, then it will use 1080p for gui and for video playback which is what you want anyway.

    The is no problem with 4k decode and downscale to 1080p.

    But you may hit a problem with HDR.

    HDR is pretty common in 4k hevc files.

    HDR is pretty rare on a 1080p display.

    With this combination the video will play, but the colours will be off (it looks a bit over exposed with muted colour).

    Haven't had a chance to try LE12 nightly, but glad to hear it doesn't seem to crash it.

    I think whether it crashes or not on a given platform is just luck - whether the invalid pointers accessed happen to point to previously allocated memory or not.

    kodi didn't crash for me on RPiOS bookworm (using ffmpeg 5.1.3) but did on Ubuntu 23.04 (using ffmpeg 5.1.2).

    But feel free to try LE12 and see if it is more reliable.

    I tested this file with mplayer on my x86 Ubuntu laptop.

    It played for a while then got very confused

    and crashed here:

    It may be best to report this to ffmpeg - it is not a Pi specific or kodi/libreelec specific issue.

    chewitt Do any of these logs help with figuring out the issue? I have not been able to pinpoint it myself yet. It only seems to do it for some video files, and at the same times on the files. So I am assuming my Pi is just having issues with certain video codecs? Maybe?

    I think it is more likely a network issue.

    Copy a problematic file to local storage (sdcard or usb stick) and play it.

    Does it also stop in the same way? If it does there is a video codec issue (and a sample file that exhibits the issue can be analysed).

    If it doesn't it suggests a network issue that would need a very different diagnosis.

    I am not sure if I would have to use an external SSD drive on the RPI4, and in doing so, would that not be a slower option to run LE, as oppose to the Micro SD drive, which appears to be insufficient in regards to capacity?

    An SSD will typically be faster than a micro SD card.

    sdcards can be up to 1TB, so it's not limited in capacity, but I wouldn't recommend an sdcard that large.

    An SSD is likely cheaper and faster at that capacity.

    RPi0/1/2/3 are 32-bit SoCs

    Not quite. See here for more details.

    32-bit: RPi Zero, RPi1, early model RPi2

    64-bit: RPi Zero 2, late model RPi2, RPi3, PRi4

    RPi2 was launched with a 32-bit Cortex-A7. RPi2 v1. 2 switched to using the 64-bit Cortex-A53 from the RPi3.

    Also note all 64-bit RPi processors also support 32-bit. And you can run a 64-bit kernel with a 32-bit userland.

    32-bit userland has historically been the choice of LibreELEC as widevine (needed for DRM playback of netflix/amazon prime etc)

    was only supported on 32-bit, but there is now a 64-bit solution that LE 12 can use.

    ghtester
    February 6, 2022 at 8:49 AM

    Do any other players play this file? Does kodi on windows/linux play it?

    This looks strange:

    Format : V_MS/VFW/FOURCC / HEVC

    Codec ID : V_MS/VFW/FOURCC / HEVC

    This would be the mediainfo output a normal hevc encode:

    Format : HEVC

    Format/Info : High Efficiency Video Coding

    Format profile : Main 10@L4@Main

    Codec ID : V_MPEGH/ISO/HEVC

    Can you upload a short sample file encoded that way?