Posts by miguel.yarza

    Hi Da Flex, thank you for your guidance!

    With DRM Prime enabled I have played the original file "Amelie.mkv", it has 4 streams:

    • Stream 0 video
    • Stream 1 spanish audio
    • Stream 2 french audio
    • Stream 3 subtitles

    It crashes on play, this is the crash log from original file: https://paste.libreelec.tv/needed-mutt.log

    Then I have created "Amelie_no_subs.mkv" file with the following command:

    mkvmerge -o Amelie_no_subs.mkv --no-subtitles Amelie.mkv

    This file only has 3 streams:

    • Stream 0 video
    • Stream 1 spanish audio
    • Stream 2 french audio

    No subtitles.

    This file plays fine, this is the play log: https://paste.libreelec.tv/welcome-viper.log

    The video played fine for 5 minutes and then I stopped it, you can see the log playing between OpenFile and CloseFile:

    Code
    2024-09-19 22:45:22.067 T:1081     info <general>: VideoPlayer::OpenFile: /storage/videos/Amelie_no_subs.mkv
    2024-09-19 22:50:19.200 T:1081     info <general>: CVideoPlayer::CloseFile()

    I have tried to compare both logs looking for the crash reason but I'm afraid it is beyond my knowledge, can you take a look at it?

    Hi Init5,

    same case here cubox-i 4x4 with last week's nightly (tried with 12 and 13), my crashlog is identical, SIGSEGV in libavcodec:

    Code
    Program terminated with signal SIGSEGV, Segmentation fault.
    #0  0xb581a974 in ?? () from /usr/lib/libavcodec.so.60

    and subtitle library initializing in log's last lines:

    Code
    2023-12-21 18:10:17.860 T:1013     info <general>: CDVDSubtitlesLibass: Using libass version 1701000
    2023-12-21 18:10:17.860 T:1013     info <general>: CDVDSubtitlesLibass: Creating ASS library structure
    2023-12-21 18:10:17.860 T:1013     info <general>: CDVDSubtitlesLibass: Initializing ASS Renderer
    2023-12-21 18:10:17.867 T:1013     info <general>: CDVDSubtitlesLibass: Initializing ASS library font settings

    I have narrowed down to file integrated subtitles in the .mkv file with hardware acceleration enabled.

    • If I play the .mkv file with integrated subtitles and DRM PRIME disabled => video plays fine
    • If I play the .mkv file with integratedsubtitles and DRM PRIME enabled => SIGSEGV crash.
    • If I remove subtitles from the .mkv file with mkvmerge -o output.mkv --no-subtitles input.mkv and DRM PRIME enabled => video plays fine.

    I'm a little bit lost about next steps for fixing the problem.

    Kind regards,

    Miguel