Freeze With too many videos on Raspi 3

Hello, sorry for my english but i’m french.
I have download OSMC and i have some probleme with some video (specially MKV)
every 30 sec 1min the video freeze but i have already sound.
I have some probleme with “codec” ?
I have check the debug log and i see this, somebody can help me ?

Blockquote
00:07:51.653 T:1925523968 DEBUG: -------------Keyboard keyevent----------------
00:07:51.653 T:1925523968 DEBUG: CLinuxInputDevice::KeyEvent: TranslateKey with event type 0x0001, code 0x0039, value 0x0000 returned XBMCKey = 0x0020
00:07:51.653 T:1925523968 DEBUG: CLinuxInputDevice::KeyEvent: keyMods 0x0000 kbMods 0x0000 keyMapTable 0x0000
00:07:51.654 T:1925523968 DEBUG: CLinuxInputDevice::GetKeymapEntry table 0x0000 code 0x0039 value returned by KeyboardReadValue 0x0020
00:07:51.654 T:1925523968 DEBUG: CLinuxInputDevice::GetKeymapEntry values after KeyboardGetSymbol ktyp=0x00 kval=0x20
00:07:51.654 T:1925523968 DEBUG: Keyboard: scancode: 0x39, sym: 0x0020, unicode: 0x0000, modifier: 0x0
00:07:54.032 T:1925523968 DEBUG: ------ Window Deinit (DialogSeekBar.xml) ------
00:07:58.468 T:1724904192 DEBUG: script.module.osmcsetting.updates : - blurp 898 - VideoFullScreen.xml
00:08:24.125 T:1457517312 ERROR: ffmpeg[56DFF300]: [matroska,webm] Invalid EBML number size tag 0x02 at pos 23487037 (0x166623d)
00:08:26.857 T:1457517312 ERROR: ffmpeg[56DFF300]: [matroska,webm] Read error at pos. 24869555 (0x17b7ab3)
00:08:45.209 T:1925523968 DEBUG: -------------Keyboard keyevent----------------
00:08:45.209 T:1925523968 DEBUG: CLinuxInputDevice::KeyEvent: TranslateKey with event type 0x0001, code 0x0039, value 0x0001 returned XBMCKey = 0x0020
00:08:45.209 T:1925523968 DEBUG: CLinuxInputDevice::KeyEvent: keyMods 0x0000 kbMods 0x0000 keyMapTable 0x0000
00:08:45.209 T:1925523968 DEBUG: CLinuxInputDevice::GetKeymapEntry table 0x0000 code 0x0039 value returned by KeyboardReadValue 0x0020
00:08:45.209 T:1925523968 DEBUG: CLinuxInputDevice::GetKeymapEntry values after KeyboardGetSymbol ktyp=0x00 kval=0x20
00:08:45.209 T:1925523968 DEBUG: Keyboard: scancode: 0x39, sym: 0x0020, unicode: 0x0000, modifier: 0x0
00:08:45.210 T:1925523968 DEBUG: OnKey: space (0xf020) pressed, action is Pause
00:08:45.211 T:1925523968 DEBUG: ------ Window Init (DialogSeekBar.xml) ------
00:08:45.220 T:1457517312 DEBUG: OMXClock::OMXSetSpeed(0.000) pause_resume:1
00:08:45.220 T:1457517312 DEBUG: OMXClock::OMXSetSpeed(0.000) pause_resume:0
00:08:45.220 T:1457517312 DEBUG: CVideoPlayer::HandleMessages CDVDMsg::PLAYER_SETSPEED speed : 0 (1000)
00:08:45.248 T:1925509888 DEBUG: GetMovieId (/home/osmc/Download/Dragon Ball Super 130 VOSTFR ''La Plus Grande Confrontation De L’Histoire ! l’Ultime Combat Pour La $
00:08:45.249 T:1925509888 DEBUG: GetEpisodeId (/home/osmc/Download/Dragon Ball Super 130 VOSTFR ''La Plus Grande Confrontation De L’Histoire ! l’Ultime Combat Pour L$
00:08:45.250 T:1925509888 DEBUG: GetMusicVideoId (/home/osmc/Download/Dragon Ball Super 130 VOSTFR ''La Plus Grande Confrontation De L’Histoire ! l’Ultime Combat Pou$
00:08:45.256 T:1925509888 DEBUG: CAnnouncementManager - Announcement: OnPause from xbmc
00:08:45.256 T:1925509888 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPause
00:08:45.459 T:1925523968 DEBUG: -------------Keyboard keyevent----------------
00:08:45.459 T:1925523968 DEBUG: CLinuxInputDevice::KeyEvent: TranslateKey with event type 0x0001, code 0x0039, value 0x0000 returned XBMCKey = 0x0020
00:08:45.459 T:1925523968 DEBUG: CLinuxInputDevice::KeyEvent: keyMods 0x0000 kbMods 0x0000 keyMapTable 0x0000
00:08:45.460 T:1925523968 DEBUG: CLinuxInputDevice::GetKeymapEntry table 0x0000 code 0x0039 value returned by KeyboardReadValue 0x0020
00:08:45.460 T:1925523968 DEBUG: CLinuxInputDevice::GetKeymapEntry values after KeyboardGetSymbol ktyp=0x00 kval=0x20
00:08:45.460 T:1925523968 DEBUG: Keyboard: scancode: 0x39, sym: 0x0020, unicode: 0x0000, modifier: 0x0
00:08:48.515 T:1724904192 DEBUG: script.module.osmcsetting.updates : - blurp 898 - VideoFullScreen.xml

Blockquote

Hi,

Please provide full logs, details below:

To get a better understanding of the problem you are experiencing we need more information from you. The best way to get this information is for you to upload logs that demonstrate your problem. You can learn more about how to submit a useful support request here.

So, in summary:

  • activate the logging
  • reboot the OSMC device
  • reproduce the issue
  • upload the log set either using the Log Uploader method within the My OSMC menu in the GUI or the ssh method invoking command grab-logs -A
  • publish the provided URL from the log set upload, here

Thanks for your understanding. We hope that we can help you get up and running again shortly.

Tom

https://paste.osmc.tv/irafixusay
is it ok ?

Something went wrong, that log file is empty other than one line.
Suggest to reboot twice, play the file and then try to upload again.

Also providing mediainfo for the file would be helpful.
It would be good if we could find out more about the file you are having issues playing. Please see the mediainfo section in How to submit a useful support request - General - OSMC.

You can also create the mediainfo-output of the affected media file on the OSMC device:

  1. login via SSH, user osmc, password osmc
  2. if not already installed: sudo apt-get update && sudo apt-get install mediainfo
  3. cdto the directory containing the video/audio material in question
  4. mediainfo -f "<media file>"|paste-log, where <media file> is your video/audio
  5. publish the returned URL here in this topic

Thx for your help.

Hello, i’ve try to do 3 times to upload log and everytime is empty :s
I you want i have the kodi.log
I can upload this ? Or your really need the log uploader ?
I succed to do that :
http://paste.osmc.io/ebarexoluv.vhdl ok for you ?
EDIT : I’ve made a mediainfo log and i have this url
https://paste.osmc.tv/ixozomuveg
EDIT2 : i don’t know why but when i’m playing a video my FPS fall down at 8FPS. This is not the problem ?

Hi,

Mediainfo link is blank, could you please try uploading again?

Thanks Tom.

Hi friend, everytime i have a blink log for media info, i can oper the log white nano and i copy in paste.osmc.io ? You know where is located ?
I do this command

[EDIT]Hummm it’s ok, i just need to perfom a rename of the file and now i have the log :wink:
https://paste.osmc.tv/akuzelawon
I hope you can help me, i can’t watch any 720 or 1080p :frowning:

Hi,

Try disabling MMAL hardware acceleration and enable omxplayer.

Thanks Tom.

Ok, i have switch for OMX acceleration and the problem still the same … for any 720p or 1080p the video crash very very often … :frowning: i can just play 480p with just little probleme for these files … :frowning:

Hi,

It could be issue with settings, resetting to defaults may help:

sudo systemctl stop mediacenter 
mv /home/osmc/.kodi /home/osmc/kodi.bak
sudo systemctl start mediacenter

If need you can restore:

sudo systemctl stop mediacenter
mv /home/osmc/kodi.bak /home/osmc/.kodi
sudo systemctl start mediacenter

Thanks Tom.

Hello, i do this and the problem is the same :’(

We still need a complete log grab-logs -A to see the whole picture.
That uploading logs gives problems is a sign of other issues

Here the grab-logs -A
https://paste.osmc.tv/jizamazimi
Thank you :slight_smile:

Hi,

If you stop transmission does the issue still occur?

Thanks Tom.

Hello, i have stop transmission and the problem still the same.
After I have try to install osmc alone in an other sd card, and the problem still the same.
I can’t play 720p and 1080p without probleme or freeze or desynchronised sound
PS : The first sd card is a SAMSUNG Class 10 and the second is a Transcend Class 10

Hi,

Does the usb drive have its own power supply?

Thanks Tom.

i don’t have any usb drive, all the system and media files are in the sd card
On the USB i only have a keyboard with mouse

Hi,

Apologies I miss read the log.

Ok what are the specs of your powersupply?

Should be 2 - 2.5 amps, not a charger?

Thanks Tom.

I’ts a 2,5A Amp, but i know maybe i have some problem of voltage but i never have any icon for low intensity

Hi,

It maybe worth trying another power supply just for testing.

Also one last thought the log provided shows a play attempt of dragon ball z, are all the videos you are having issues with anime? I ask because I’ve seen some strange encodes for anime.

Thanks Tom.