2025-01-09, 22:12
Hi,
The issue occurs both on an Android 12 SmartTV with 1GB RAM (220MB free as reported from Kodi 21) and an Android 12 smartphone with 6GB RAM (3GB free as reported from AIDA64). Thus not insufficient RAM related as could be thought initially.
The issue resolves once the separate audio files get deleted and video is started with the inbuilt audio tracks.
So when the video is started, the spinning wheels animation keeps ongoing virtually endlessly. From the log it is visible I waited for four minutes before canceling the playback. And the last entries before canceling playback show the three threads got autodeleted. I assume those threads were related to the separate audio tracks since there were in total three separate audio files related to the video.
Due to curiosity, I checked that the same issue occurs in VLC and is resolved in the same way. Though VLC got unfrozen on a smartphone in 2 minutes I believe. Yet, if you try to jump to a different time spot, the playback gets frozen again. Made me wonder if Kodi is based on VLC code, partly may be.
I also checked if the bandwidth is sufficient since read somewhere on forum SMB has poor performance over WiFi. My PC connects to the router at 433Mbps, smartphone at 866Mbps, 5GHz band, all in the same room. Pulled the files from a Windows 10 SMB1 server to a smartphone via File Manager. And for a comparison, pulled the same files from a HTTP server set up from a PC folder to the smartphone via Chrome. Tested in the evening and at night. In my case, the SMB delivered quite sufficient performance. Practically, got the half the bandwidth of the slowest link in the chain (in Mbps):
| SMB1 | HTTP|
Evening | 149 | 189 |
Night | 160 | 200 |
Could this be fixed in the future or is this considered not an issue? And does anyone have idea what could be the reason for the issue? Also, did I understand correctly from the log that Kodi allocates 20MB of RAM cache for video stream, then 20MB for each of the three separate audio streams? For a total of 80MB of RAM to play a video?
Thanks.
The log: waqubulade.kodi (paste)
The issue occurs both on an Android 12 SmartTV with 1GB RAM (220MB free as reported from Kodi 21) and an Android 12 smartphone with 6GB RAM (3GB free as reported from AIDA64). Thus not insufficient RAM related as could be thought initially.
The issue resolves once the separate audio files get deleted and video is started with the inbuilt audio tracks.
So when the video is started, the spinning wheels animation keeps ongoing virtually endlessly. From the log it is visible I waited for four minutes before canceling the playback. And the last entries before canceling playback show the three threads got autodeleted. I assume those threads were related to the separate audio tracks since there were in total three separate audio files related to the video.
Due to curiosity, I checked that the same issue occurs in VLC and is resolved in the same way. Though VLC got unfrozen on a smartphone in 2 minutes I believe. Yet, if you try to jump to a different time spot, the playback gets frozen again. Made me wonder if Kodi is based on VLC code, partly may be.
I also checked if the bandwidth is sufficient since read somewhere on forum SMB has poor performance over WiFi. My PC connects to the router at 433Mbps, smartphone at 866Mbps, 5GHz band, all in the same room. Pulled the files from a Windows 10 SMB1 server to a smartphone via File Manager. And for a comparison, pulled the same files from a HTTP server set up from a PC folder to the smartphone via Chrome. Tested in the evening and at night. In my case, the SMB delivered quite sufficient performance. Practically, got the half the bandwidth of the slowest link in the chain (in Mbps):
| SMB1 | HTTP|
Evening | 149 | 189 |
Night | 160 | 200 |
Could this be fixed in the future or is this considered not an issue? And does anyone have idea what could be the reason for the issue? Also, did I understand correctly from the log that Kodi allocates 20MB of RAM cache for video stream, then 20MB for each of the three separate audio streams? For a total of 80MB of RAM to play a video?
Thanks.
The log: waqubulade.kodi (paste)