Banana Pi BPI-M5 can't play H.265 videos

  • Describe the bug

    Some videos can't be played for example H.265

    How to reproduce

    Steps to reproduce the behavior:

    1. Copy a video to videos folder
    2. Play the video
    3. tail -f kodi.log
    4. See error

    Information

    • LibreELEC Version: 12.2.0
    • Hardware Platform: Banana Pi BPI-M5
    • Forum Thread: [URL]

    Log file

    Context

    Thanks for your help

  • You'll need to share a full debug log for anyone to comment, log snippets are pointless.

    Once we see the full log it'll probably reveal that you're trying to play a 4K 10-bit HEVC file and that will fail because there is no HEVC hardware decoding support on S905X3 (SM1) devices and the CPU is too weak for software decoding.

  • As chewitt stated above, 4k hevc is not working with LE, but it works just fine with CoreELEC, even with bitrates at 100Mb/s and sizes up to 100GB.

    Played this a moment ago:

    Fullständigt namn : E:\4k Film\All of Us Strangers (2023)(UHDBD)(x265 10bit HDR DV) 2160p\All of Us Strangers (2023).mkv
    Format : Matroska
    Formatversion : Version 4 / Version 2
    Filstorlek : 71,5 GiB
    Varaktighet : 1 h 45 min
    Sammanlagt dataflöde : 96,9 Mb/s
    Bildfrekvens : 23,976 FPS
    Ttitel : All of Us Strangers (2023)
    Kodningsdatum : 2024-08-29 14:12:43 UTC
    Skrivande program : mkvmerge 85.0 ('Shame For You') 64-bit
    Skrivande bibliotek : libebml v1.4.5 + libmatroska v1.7.1

    Video
    ID : 1
    Format : HEVC
    Format/Info : High Efficiency Video Coding
    Formatprofil : Main [email protected]@High
    HDR format : Dolby Vision, Version 1.0, Profile 7.6, dvhe.07.06, BL+EL+RPU, no metadata compression, Blu-ray compatible / SMPTE ST 2086, Version HDR10, HDR10 compatible
    Kodek-ID : V_MPEGH/ISO/HEVC
    Varaktighet : 1 h 45 min
    Dataflöde : 93,1 Mb/s
    Bredd : 3 840 pixlar
    Höjd : 2 160 pixlar
    Skärmbildförhållande : 16:9
    Bildfrekvensläge : Konstant
    Bildfrekvens : 23,976 (24000/1001) FPS
    Färgrymd : YUV
    Kroma-delsampling : 4:2:0 (Type 2)
    Bitdjup : 10 bit
    Bitar/(Pixlar*bildruta) : 0.468
    Strömstorlek : 68,7 GiB (96%)
    Default : Ja
    Forced : Nej
    Färgskala : Limited
    Primärfärger : BT.2020
    Överföringsegenskaper : PQ
    Matriskoefficienter : BT.2020 non-constant
    Mastering display color primaries : Display P3
    Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2


    No problems what so ever.

  • The log isn't a debug log and the catchup plugin you are using hides all the useful ffmpeg information on the media. Then I noticed banned add-ons installed, and found something else to do.

  • I dont think i have any 4k h264 to try.

    Edit: Found a file with

    H264
    51,2 Mb/s
    29,970 FPS
    3840 x 2160
    YUV 4:2:0 8bit

    Played without any problems.

    Edited once, last by MatteN (August 19, 2025 at 10:03 AM).

  • Here's mediainfo about the video cannot be played :


    General
    Unique ID : 240382367755553984638217641083869598113 (0xB4D7F5C3A10A503686EF676347CC11A1)
    Complete name : video.mkv
    Format : Matroska
    Format version : Version 2
    File size : 599 MiB
    Duration : 49 min 51 s
    Overall bit rate : 1 679 kb/s
    Frame rate : 25.000 FPS
    Title : video
    Encoded date : 2017-12-26 18:00:38 UTC
    Writing application : DVDFab 10.0.7.4
    Writing library : libebml v1.3.4 + libmatroska v1.4.5

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L3
    Format settings : CABAC / 1 Ref Frames
    Format settings, CABAC : Yes
    Format settings, Reference frames : 1 frame
    Format settings, GOP : M=1, N=25
    Codec ID : V_MPEG4/ISO/AVC
    Duration : 49 min 51 s
    Bit rate mode : Constant
    Bit rate : 1 297 kb/s
    Width : 720 pixels
    Height : 540 pixels
    Display aspect ratio : 4:3
    Frame rate mode : Constant
    Frame rate : 25.000 FPS
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.133
    Stream size : 461 MiB (77%)
    Default : Yes
    Forced : No
    Color range : Limited
    Color primaries : BT.709
    Transfer characteristics : BT.709
    Matrix coefficients : BT.709