No more video playback from own films and series

  • Hi,

    Recently I am no longer able to play any
    videos.

    Mostly they show the same playback as they were trying to playback a damaged contrainor (green screen with some colored bands. Sometimes partly sound (stuttering bits though).

    I've tried to playback some video's on a laptop and they work fine.

    Even films that worked before are now no longer working.

    A streaming service of our public TV seem to be working.

    I re-installed from scratch and with no avail.

    I'm working on a RPi4 and I'm connected to the NAS over wifi (ps: music seems to work fine). Version is 9.2.6

    Thanks in advance for the help.

  • I have the same symptoms.

    I can play low resolution videos, but get scrambled video for 1080p.

    The GUI still works during the scrambled playback, but clicking STOP freezes the display. I can still SSH to the Rpi4 and I have posted the debug log -

    http://ix.io/2PZi

    Hope someone can help

    JJ

  • Because you can stream music over NAS, and johnjark can play low-res videos, this could be a buffering / streaming speed issue.

    Create this /storage/.kodi/userdata/advancedsettings.xml :

    Code
    <advancedsettings version="1.0">
        <cache>
            <memorysize>200000000</memorysize> <!-- 200MB buffer size -->
            <buffermode>4</buffermode> <!-- buffer all network filesystems -->
            <readfactor>8.0</readfactor> <!-- doubles the default readfactor -->
        </cache>
    </advancedsettings>
  • I have similar symptoms either with video and flac files taken from a NAS connected via ethernet cable (I tried to report this problem in [Raspberry PI4] Can't watch anymore movies).

    I tried your hint with advancedsettings file but without solution: http://ix.io/2QWP here is the log trying to play a flac file.

    I saw many lines with this error:

    Code
    2021-02-26 16:46:27.563 T:2020668272   ERROR: ffmpeg[7870F370]: [flac] invalid coeff precision
    2021-02-26 16:46:27.563 T:2020668272   ERROR: ffmpeg[7870F370]: [flac] decode_frame() failed
    2021-02-26 16:46:27.573 T:2020668272   DEBUG: ffmpeg[7870F370]: [NULL] sample/frame number mismatch in adjacent frames
    2021-02-26 16:46:27.574 T:2020668272   DEBUG: ffmpeg[7870F370]: [NULL] crc check failed from offset 0 (frame 1967) to 3037 (frame 1967)
    2021-02-26 16:46:27.574 T:2020668272   ERROR: ffmpeg[7870F370]: [flac] invalid residual
    2021-02-26 16:46:27.574 T:2020668272   ERROR: ffmpeg[7870F370]: [flac] decode_frame() failed

    Mp3 files is working fine

  • Hi Flex,

    Normal playback seems to be working just fine with these settings. That's already nice, so we can watch our films and series again.

    However, if I scroll in the timelime the problem returns and if I then stop the playback, kodi seems to get stuck (also de HUD of de logging no longer changes. The SSH terminal does remain responsive though

    If I reboot thru SSH it accepts the command immidiatly in the terminal, but does nothing for a while and then after a while suddenly does reboot.

    I also tried enlarging the buffer to 600000000, with no avail.

  • Hi Flex,

    I've updated, but now there are also problems with low res movies (480 SD) in mp4

    Some HD can play partially, but some just stops with the remark that I have to check the log.

    I can honestly not make a lot of sense of it.

    Here is the new log: http://ix.io/2RjJ

  • Hi Flex,

    Tried ... and failed.

    There does seem to be a problem related to the codecs.

    All movies with h264 seem to work, however the one I had with H265 stopped before the playback even started and the others seem to showup as 'MPEG4' without a specific codec in the infos on the bottom of the interface. Those last ones play back a while, but quite broken, with only the keyframes showing up correctly and the changes showing as broken.