Some video stop playing after about 10min

  • Hello all,

    I have just updated my Kodi installation: the one I'm running now is a fresh install from LibreELEC-RPi2.arm-9.0.2.img.gz on a RPi 3+.

    I am experiencing some video problems with only some videos: the video starts playing for about 10 minutes, and after that, it stops and I need to resume it to keep watching.
    When I tail -f the log file (tail -f /storage/.kodi/temp/kodi.log), the following appears at the exact same moment the video stops:

    Any idea what it can be?

    Thanks!

    B.R.

  • Go to Best Answer
  • Search · got msgq_abort or msgo_is_error return true · GitHub

    Also a dead giveaway is: 2019-07-12 22:24:32.343 T:1504691056 NOTICE: VideoPlayer: eof
    The system reaches the end of the file


    Error is triggered by a number of reasons. and because it happens with only some videos it is most likely that the videos are damaged somehow and the Kodi player can't ignore the issue. This is a KODI issue at this point, unless there is some information pointing to Libreelec as the generator of this issue, you might find more help at KODI's forums.

  • Hi,

    I'm struggling to find the answer to this one. It only happens with one file, and I appreciate my version of Kodi is ancient, but that's because of the issues of not getting the sound to work on YouTube. (See here: YouTube history).

    Details:
    Raspberry Pi 4 - Linux Pi 5.10.110 #1 SMP Sat Jan 7 12:15:32 UTC 2023 aarch64 GNU/Linux
    Kodi (19.5 (19.5.0) Git:19.5-Matrix Media Center Kodi)

    The working video file generated this log:


    The failing/failed file generated this log:


    I was considering perhaps re-encoding the video file into a different format to see if that works, but it seems a clumsy fix.

    Would appreciate any advice.


    Thanks!


    p.s.

    I ran the same movie on my Mac using the Kodi app and it was fine:

    Edited once, last by cappsie (March 6, 2026 at 11:49 PM).

  • Sounds like the affected video file is slightly broken. The RPi4 uses hardware decoding, which is much stricter about h264 correctness than your mac (which uses software decoding). I'd recommend you to remux the problematic file.

  • Sounds like the affected video file is slightly broken. The RPi4 uses hardware decoding, which is much stricter about h264 correctness than your mac (which uses software decoding). I'd recommend you to remux the problematic file.

    Thanks, nosen. I'll give that a try.