Kodi hangs randomly while on playback
#1
Hello,

Why Kodi (running from RPI3b) hangs randomly while playing back video contents using FTP on local servers? What I can see when this happen is the screen just become grey or multi-colours with often some pixels then, the playback stops. If I'm fast enough I could press stop using the wireless remote control but the most of the time I need to pull out the plug from the wall and re-plugin it back into the wall socket and waiting for the reboot complete.


I'm using the latest version of Kodi (18.4) and also I did the update to Debian Buster. What kind of logs will be required?


Please help me.

Guillaume
Reply
#2
See this Wiki page: https://kodi.wiki/view/Log_file and follow its instructions to:
  1. Use the ‘Easy’ method to enable logging while things are working.
  2. Restart Kodi (cleanly, don’t yank the power cord out at this stage). 
  3. Recreate the problem.
  4. Reboot the Pi if it’s totally unresponsive (interrupt the power if you have to). 
  5. Disable logging. 
  6. Use the Log File Uploader to upload the old log file. 
Reply
#3
Hello,

Theses are the links to the logs (it was too long to be able fit in a single shot.):

https://paste.kodi.tv/ulazaguwec.kodi
https://paste.kodi.tv/ilukevuleb.kodi

Thanks!
Reply
#4
Looks like you are running Xbian. Probably the best is to ask here:
http://forum.xbian.org/
Reply
#5
Code:
2019-11-19 00:40:16.845 T:2616836848 ERROR: ffmpeg[9BF9C2F0]: [aac] Number of bands (44) exceeds limit (41).
2019-11-19 00:40:16.845 T:2616836848 ERROR: ffmpeg[9BF9C2F0]: [aac] channel element 3.6 is not allocated
2019-11-19 00:40:16.845 T:2616836848DEBUG: ffmpeg[9BF9C2F0]: [aac] Multiple frames in a packet.
2019-11-19 00:40:16.845 T:2616836848 DEBUG: ffmpeg[9BF9C2F0]: [aac] Sample rate index in program config element does not match the sample rate index configured by the container.
2019-11-19 00:40:16.869 T:2633614064 DEBUG: CMMALPool::Configure pool:0x40b77e0 480x360 (480x368) pix:-1 size:128 fmt:OPQV
2019-11-19 00:40:16.872 T:2616836848 ERROR: ffmpeg[9BF9C2F0]: [aac] Inconsistent channel configuration.
2019-11-19 00:40:16.872 T:2616836848 ERROR: ffmpeg[9BF9C2F0]: [aac] get_buffer() failed
2019-11-19 00:40:16.872 T:2616836848 ERROR: ffmpeg[9BF9C2F0]: [aac] channel element 3.14 is not allocated
2019-11-19 00:40:16.873 T:2616836848 ERROR: ffmpeg[9BF9C2F0]: [aac] Prediction is not allowed in AAC-LC.
2019-11-19 00:40:16.873 T:2616836848 ERROR: ffmpeg[9BF9C2F0]: [aac] channel element 2.2 is not allocated
2019-11-19 00:40:16.873 T:2616836848 ERROR: ffmpeg[9BF9C2F0]: [aac] channel element 2.7 is not allocated
2019-11-19 00:40:16.873 T:2616836848 DEBUG: ffmpeg[9BF9C2F0]: [aac] Sample rate index in program config element does not match the sample rate index configured by the container.
2019-11-19 00:40:16.873 T:2616836848 DEBUG: ffmpeg[9BF9C2F0]: [aac] Too large remapped id is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.

ffmpeg doesn't like your file. I'm going to guess it's corrupted.
Possibly corrupted on disk, or something is corrupting it in FTP protocol (e.g. serving the file in text mode).

Can you copy a file and play it locally (e.g. on USB stick or sdcard). Does it play on a PC (served over FTP)?
Reply
#6
Hello,

I did some tests tonight.

From SD card, seem to have no issues. Played from another machine running Linux Mint with Kodi (Intel based) no issues as well.

This what happen on the screen when it get stuck:

The playback froze:

Image
Then I press "OK" key:
Image
Then I attempt to stop the playback:


Image
Kodi GUI froze but SSH logins to the machine still work, the machine seem not freezing, only Kodi GUI.

Thanks!

Guillaume
Reply
#7
Good morn!

Any idea why this happen?

Thanks!

Guillaume
Reply
#8
I still need help please.
Reply
#9
(2019-11-26, 08:00)guillaumesoucy Wrote: Played from another machine running Linux Mint with Kodi (Intel based) no issues as well.

Was that from local storage on your intel machine, or served up from the same FTP used by the problematic Pi?
Reply
#10
(2019-12-02, 00:46)Fergus Wrote:
(2019-11-26, 08:00)guillaumesoucy Wrote: Played from another machine running Linux Mint with Kodi (Intel based) no issues as well.

Was that from local storage on your intel machine, or served up from the same FTP used by the problematic Pi?  
Yes, the content was served to the Intel based machine by the same FTP server than I've use for the problematic Pi.
Reply
#11
(2019-12-02, 08:51)guillaumesoucy Wrote: Yes, the content was served to the Intel based machine by the same FTP server than I've use for the problematic Pi.

Perhaps the question is: why are you using FTP in the first place for accessing & playing video files on local network?
Both SMB and NFS protocols are much better suited for this task.
Reply
#12
Because what happen is, later in about few month, our new servers room will be done to be construct so it gonna to pass through the internet after that time.

SMB and/or NFS is not very suitable for internet use because most of ISP will block SMB protocol and NFS use IP address as authentication, it will constitute a true security issue in that case.
Reply
#13
FTP is even worse suited for internet! It transmits authentication in plain text!
Reply
#14
(2019-12-02, 21:54)ActionA Wrote: FTP is even worse suited for internet! It transmits authentication in plain text!
A secure FTP solution such as ftps will be use when we'll be there.

Concerning the playback issue than I still have with Kodi, is there something to do to be able to fixing it?

Thx!
Reply
#15
Any idea?
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi hangs randomly while on playback0