Pi4 crashing while playing video

  • Lately my Pi4 running LibreElec has been having a problem. It will play video files for awhile, then it freezes, and then the video closes. I can resume from where it crashed and it usually shows a bunch of green pixels for a few seconds and then runs like normal until it does it again.

    Here is a crash log exported from LibreElec Settings:
    http://ix.io/4D2M

    I was watching Twisted Metal Episode 10 and it kept happening on that same episode. It has happened on a bunch of movies and shows over the last few weeks. I am not sure what is causing it.

    Do I need a new Power Supply or something?

    Thanks for any insight.

  • Hey, sorry about that.

    I just enabled debug logging in the System -> Logging settings, and am trying to recreate the issues.

    Once it occurs again, do I use the LibreElec Log export that gives me an ix.io link? Or is there a different way?

    Thanks for the help.

  • I rebooted and exported the logs again after recreating the issue.

    System Logs:

    http://ix.io/4Dby

    Crash Logs:

    http://ix.io/4Dbz

    Any insight would be a big help. It looks like something happens to terminate the video but I am not knowledgeable enough to understand.

  • 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?

  • 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.

  • Hey popcornmix !

    So I tried loading the video file onto my SDCard. The issue no longer presents. I also looked at the logs more, and I see when I run it over network, I get an audio sync error.

    I have not changed anything at all with my network, and all of my old files without issues do not present any issues currently.

    I am thinking that maybe my NAS does not have the bandwidth to support some newer video files for some reason, and that might be causing my issue?

    If the issue occurs again on another file, I will try the same thing. I may need to replace the NAS drive, or maybe switch to using a connected external HDD.

    Thanks for the suggestion.