Posts by popcornmix

    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?

    This doesn't look like a typical hevc file:

    Code
    2023-07-31 22:33:58.744 T:1118     info <general>: ffmpeg[0x417b128]: [matroska,webm] Unknown/unsupported AVCodecID V_MS/VFW/FOURCC.
    2023-07-31 22:33:58.753 T:1118    debug <general>: ffmpeg[0x417b128]: [matroska,webm] Could not find codec parameters for stream 0 (Video: none (HEVC / 0x43564548), none, 1280x540): unknown codec
    2023-07-31 22:33:58.753 T:1118     info <general>: ffmpeg[0x417b128]:   Stream #0:0: Video: none (HEVC / 0x43564548), none, 1280x540, SAR 1:1 DAR 64:27, 30 fps, 30 tbr, 1k tbn, 1k tbc (default)

    Note that it probes "Video: none (HEVC / 0x43564548), none"

    When I play a hevc file I see:

    Code
    Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, bt709),

    Can you confirm if you can play a typical hevc file? e.g. this?

    Can you post output of mediainfo for your file?

    Seems to be a problem with the EDID reported by the AVR.

    I'd suggest you connect it to directly to the TV (with working full hd),

    and then run getedid create.

    Then when you reconnect the AVR it will use the working EDID.

    The reason for the faulty EDID may be the AVR itself, or it may be the extra HDMI cable used when going through the AVR.

    It might be worth trying with that replaced.