xbmc
xbmc copied to clipboard
Selecting Arabic subtitles causes the player to stop functioning
Bug report
Describe the bug
Here is a clear and concise description of what the problem is:
The movie plays smoothly with English subtitles; however, switching to Arabic subtitles causes the player to halt and exit after a few seconds.
Expected Behavior
Here is a clear and concise description of what was expected to happen:
Actual Behavior
Possible Fix
Selecting Arabic subtitles causes the player to halt and exit after a few seconds.
To Reproduce
Steps to reproduce the behavior:
Debuglog
The debuglog can be found here:
Screenshots
Here are some links or screenshots to help explain the problem:
Additional context or screenshots (if appropriate)
Here is some additional context or explanation that might help:
Your Environment
Used Operating system:
-
[x] Android
-
[ ] iOS
-
[ ] tvOS
-
[ ] Linux
-
[ ] macOS
-
[ ] Windows
-
[ ] Windows UWP
-
Operating system version/name:
-
Kodi version:
note: Once the issue is made we require you to update it with new information or Kodi versions should that be required. Team Kodi will consider your problem report however, we will not make any promises the problem will be solved.
Thank you for using Kodi and our issue tracker. This is your friendly Kodi GitHub bot :wink:
It seems that you have not followed the template we provide and require for all bug reports (or have opened a roadmap item by accident). Please understand that following the template is mandatory and required for the team to be able handle the volume of open issues efficiently.
Please edit your issue message to follow our template and make sure to fill in all fields appropriately. The issue will be closed after one week has passed without satisfactory follow-up from your side.
This is an automatically generated message. If you believe it was sent in error, please say so and a team member will remove the "Ignored rules" label.
please fullfill all template parts, as it is it is not enough to investigate since to me arabic subtitle works most important also provide a way to reproduce the problem, so a sample video or another way
This error occurs on Kodi 21.0 “Omega” RC1 running on a Sony TV (Android TV). I’ve attached a sample video and subtitles . When you choose any external subtitle, initially I thought it was happening only with Arabic/Farsi subtitles. However, I noticed that it occurs even when I choose English subtitles. Interestingly, when I embedded the SRT file using mkvtoolnix into the MKV file, Kodi plays the file correctly. The link to file is:
https://drive.google.com/file/d/10c8CYsu7m9ij6M0DAeLHRKRGOrvlGGWR/view?usp=drive_link
Also no issues here on regular Linux with the provided example:
i also tried on Android 64 and Windows and works as expected since you havent provide the debug log there is nothing more to do
Here is the log file for your reference. kodi_subtitile_exit_palyer_error.log
Here is the log file for your reference.
Here is the log file for your reference. kodi_subtitile_exit_palyer_error.log
at least from here the problem seem not related to subtitles
2024-04-27 23:34:48.171 T:7893 error <general>: Read - Error( -1, 32, Broken pipe )
2024-04-27 23:34:48.171 T:7893 warning <general>: underflow: Error reading file - assuming eof
2024-04-27 23:34:48.171 T:7893 warning <general>: CFileCache::Process - <smb://RT-AX86S-6878/My_Passport/Movies/Tar 2022/tar.2022.2160p.uhd.bluray.x265-b0mbardiers.mkv> source read returned 0! Will retry
2024-04-27 23:34:48.172 T:23679 info <general>: CAESinkAUDIOTRACK::Initializing with: m_sampleRate: 192000 format: AE_FMT_S16LE (AE) method: IEC (PT) stream-type: STREAM_TYPE_TRUEHD min_buffer_size: 393472 m_frames: 6148 m_frameSize: 16 channels: 8
2024-04-27 23:34:50.172 T:7893 error <general>: Read - Error( -1, 32, Broken pipe )
2024-04-27 23:34:50.172 T:7893 warning <general>: underflow: Error reading file - assuming eof
2024-04-27 23:34:50.172 T:7893 warning <general>: CFileCache::Process - <smb://RT-AX86S-6878/My_Passport/Movies/Tar 2022/tar.2022.2160p.uhd.bluray.x265-b0mbardiers.mkv> source read returned 0! Will retry
2024-04-27 23:34:52.173 T:7893 error <general>: Read - Error( -1, 32, Broken pipe )
2024-04-27 23:34:52.173 T:7893 warning <general>: underflow: Error reading file - assuming eof
2024-04-27 23:34:52.173 T:7893 warning <general>: CFileCache::Process - <smb://RT-AX86S-6878/My_Passport/Movies/Tar 2022/tar.2022.2160p.uhd.bluray.x265-b0mbardiers.mkv> source read returned 0! Will retry
2024-04-27 23:34:54.174 T:7893 error <general>: Read - Error( -1, 32, Broken pipe )
2024-04-27 23:34:54.174 T:7893 warning <general>: underflow: Error reading file - assuming eof
2024-04-27 23:34:54.174 T:7893 error <general>: CFileCache::Process - <smb://RT-AX86S-6878/My_Passport/Movies/Tar 2022/tar.2022.2160p.uhd.bluray.x265-b0mbardiers.mkv> source read didn't return any data before eof!
2024-04-27 23:34:54.220 T:7890 error <general>: ffmpeg[0xd09c7c30]: [matroska,webm] File ended prematurely
2024-04-27 23:35:00.187 T:7899 info <general>: CVideoPlayerAudio::Process - stream stalled
2024-04-27 23:35:00.231 T:7890 info <general>: Process - eof reading from demuxer
if it is not a corrupted video file, imo could be related to samba cache but im not expert on this on kodi 21 Settings->Services->SMB try change the Chunk size to some higher number
Have seen reports like this and seems SMB related in that client is using SMBv1 with chunk size 128 when v1 only supports up to 64. Best fix is to migrate to SMBv3 but changing chunk size to 64 kb in settings has been reported to work.
Thank you for your response and the information provided. However, these errors do not cause the player to exit. Instead, Kodi exits when I select the .srt file. I am able to play the video from the SMB without any issues when not using external subtitles. The error related to this issue is below, and it seems to be associated with ‘CMediaCodec’.”:
2024-04-27 17:32:31.080 T:23652 error
This has been fixed by #25128.