OSMC struggling to play HD videos on RPi3

I am not sure what has happened because it used to play them fine. But somewhere along the way an update has happened and now it struggles to play 1080p H264 videos. This one for example stutters. But the CPU load is not excessive nor is the Memory exhausted so what happened?

Was there some update to OSMC recently that might have affected. Or was it the switch to Kodi 17 that is causing issues now?

Thanks.

  1. Did you try to play them from the SD card to exclude network or USB as the issue
  2. Provide debug enabled logs if you need help
  3. Provide mediainfo for the file. Please see the mediainfo section in How to submit a useful support request - General - OSMC

Did you try to play them from the SD card to exclude network or USB as the issue

Yes, First via the Emby server. Then by a direct URL, finally by downloading it and trying to play it as a file. All exhibit the same stutter where the audio will continue but the video will freeze and then suddenly catch up or just remain frozen.

Provide debug enabled logs if you need help

A snippet of the log is here this is playing the file locally off a USB drive.

Provide mediainfo for the file. Please see the mediainfo section in How to submit a useful support request - General - OSMC

Like this?

ffprobe version 3.2.4 Copyright (c) 2007-2017 the FFmpeg developers
built with gcc 6.3.0 (Debian 6.3.0-8) 20170221
configuration: --cc=‘ccache cc’ --disable-decoder=amrnb --disable-decoder=libopenjpeg --disable-mips32r2 --disable-mips32r6 --disable-mips64r6 --disable-mipsdsp --disable-mipsdspr2 --disable-mipsfpu --disable-msa --disable-libopencv --disable-podpages --disable-stripping --enable-avfilter --enable-avresample --enable-gcrypt --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libilbc --enable-libkvazaar --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx265 --enable-libxvid --enable-libzvbi --enable-nonfree --enable-opengl --enable-openssl --enable-postproc --enable-pthreads --enable-shared --enable-version3 --incdir=/usr/include/x86_64-linux-gnu --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --toolchain=hardened --enable-frei0r --enable-chromaprint --enable-libx264 --enable-libiec61883 --enable-libdc1394 --enable-vaapi --disable-opencl --enable-libmfx --disable-altivec --shlibdir=/usr/lib/x86_64-linux-gnu
libavutil 55. 34.101 / 55. 34.101
libavcodec 57. 64.101 / 57. 64.101
libavformat 57. 56.101 / 57. 56.101
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libavresample 3. 1. 0 / 3. 1. 0
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ‘ThreatWire–2017-04-04.mp4’:
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp42mp41
creation_time : 2017-04-04T18:30:08.000000Z
Duration: 00:07:03.81, start: 0.000000, bitrate: 12208 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 11881 kb/s, 59.94 fps, 59.94 tbr, 60k tbn, 119.88 tbc (default)
Metadata:
creation_time : 2017-04-04T18:30:08.000000Z
handler_name : Alias Data Handler
encoder : AVC Coding
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 317 kb/s (default)
Metadata:
creation_time : 2017-04-04T18:30:08.000000Z
handler_name : Alias Data Handler

Any help?

Please read the link. It provides detailed instructions. Also, snippets are not sufficient, we need complete debug enabled logs.

Also, snippets are not sufficient, we need complete debug enabled logs.

Well then you better allow multi megabyte uploads to your pastebin server then. Because it is connected to a Emby server with a couple of terrabytes of media on it which will fill the logs with lots of stuff that is irrelevant to this query.

The log posted was from when I enabled debug logging and navigated back to the saved file to play it.

Are there any plans to allow uploading of files to http://paste.osmc.io?

You can upload up to 10M to the Pastebin. I suspect you don’t need more than 10M to produce a simple log which presents the problem.