raspbianomxplayer

OMXPlayer freezes when playing video


I am using OMXPlayer to play some HD videos on my RaspberryPi 3 with latest Raspbian Jessie image. It run perfectly for some time (sometimes 20 minutes, sometimes 3 hours, sometimes 5 hours) but then it freezes. CPU and RAM values are normal. I am running OMXPlayer with this command:

/usr/bin/omxplayer --no-osd --loop myVideo.mp4

and after OMXPlayer freezes I get this message in console:

omxplayer.bin: OMXCore.cpp:785 OMX_ERRORTYPE COMXCoreCOmponent:FreeInputBuffers(): Assertion 'm_omx_input_buffers.size() == m_omx_input_available.size()' failed.

Googled and only advice that I found to solve this problem is to set GPU memory to 128 instead to default 64, I did it, but nothing changed.

Anybody here had similar experience with OMXPlayer ? Is there any way to fix this ?


Solution

  • It was because old raspberry pi firmware and old omxplayer version, so I recommend you to update firmware by:

    sudo rpi-update
    

    and to install and download OMXPlayer version 6c90c75 from this link to avoid freezing problems:

    http://omxplayer.sconde.net/