Skip to content

[Bug] Cannot play a TS stream (TS sample reader not created) #2026

@matthuisman

Description

@matthuisman

Describe the problem

Tried in Kodi 21 and Kodi 22 with same issue

#EXT-X-STREAM-INF:BANDWIDTH=9077281,AVERAGE-BANDWIDTH=8614650,CODECS="avc1.640034,mp4a.40.2",RESOLUTION=1920x1080,FRAME-RATE=23.976,CLOSED-CAPTIONS=NONE
https://imdb-video.media-imdb.com/mc/vi1390398233/hls/vi1390398233_8000k.m3u8

IA will fail to play the above manifest
FFMPEG plays it without issues

The above should work anywhere in the world

Possible fix

No response

Steps to reproduce

No response

Debug log

2026-05-12 20:32:41.030 T:20156   debug <general>: script.module.slyguy - RESPONSE IN: https://imdb-video.media-imdb.com/mc/vi1390398233/hls/vi1390398233_8000k_00011.ts (200)
2026-05-12 20:32:41.030 T:20156   debug <general>: script.module.slyguy - RESPONSE OUT: https://imdb-video.media-imdb.com/mc/vi1390398233/hls/vi1390398233_8000k_00011.ts (200)
2026-05-12 20:32:41.278 T:20152   debug <general>: AddOnLog: inputstream.adaptive: [AS-0] Download finished: http://127.0.0.1:8095/https://imdb-video.media-imdb.com/mc/vi1390398233/hls/vi1390398233_8000k_00011.ts (downloaded 12752980 byte, speed 47585746.00 byte/s)
2026-05-12 20:32:41.279 T:20152   debug <general>: CurlFile::XFILE::CCurlFile::Open - <http://127.0.0.1:8095/https://imdb-video.media-imdb.com/mc/vi1390398233/hls/vi1390398233_8000k_00012.ts>
2026-05-12 20:32:41.280 T:7428    debug <general>: script.module.slyguy - REQUEST IN: https://imdb-video.media-imdb.com/mc/vi1390398233/hls/vi1390398233_8000k_00012.ts (GET)
2026-05-12 20:32:41.280 T:7428    debug <general>: script.module.slyguy - REQUEST OUT: https://imdb-video.media-imdb.com/mc/vi1390398233/hls/vi1390398233_8000k_00012.ts (GET)
2026-05-12 20:32:41.299 T:7428    debug <general>: script.module.slyguy - REQUEST TIME: 0.01802968978881836
2026-05-12 20:32:41.299 T:7428    debug <general>: script.module.slyguy - RESPONSE IN: https://imdb-video.media-imdb.com/mc/vi1390398233/hls/vi1390398233_8000k_00012.ts (200)
2026-05-12 20:32:41.299 T:7428    debug <general>: script.module.slyguy - RESPONSE OUT: https://imdb-video.media-imdb.com/mc/vi1390398233/hls/vi1390398233_8000k_00012.ts (200)
2026-05-12 20:32:41.411 T:20152   debug <general>: AddOnLog: inputstream.adaptive: [AS-0] Download finished: http://127.0.0.1:8095/https://imdb-video.media-imdb.com/mc/vi1390398233/hls/vi1390398233_8000k_00012.ts (downloaded 5738512 byte, speed 43473575.00 byte/s)
2026-05-12 20:32:41.412 T:11788 warning <general>: AddOnLog: inputstream.adaptive: SESSION::CSession::OnSegmentChanged: Cannot get the stream sample reader
2026-05-12 20:32:41.439 T:11788    info <general>: Skipped 2 duplicate messages..
2026-05-12 20:32:41.439 T:11788   debug <general>: AddOnLog: inputstream.adaptive: adaptive::AdaptiveStream::ensureSegment: [AS-0] End of segments
2026-05-12 20:32:41.440 T:11788   debug <general>: AddOnLog: inputstream.adaptive: GetStream(1001)
2026-05-12 20:32:41.440 T:11788   error <general>: CVideoPlayerVideo::OpenStream: Codec id 27 require extradata.
2026-05-12 20:32:41.440 T:11788 warning <general>: CVideoPlayer::OpenStream - Unsupported stream 1001. Stream disabled.
2026-05-12 20:32:41.440 T:11788    info <general>: Opening stream: 1002 source: 256
2026-05-12 20:32:41.440 T:11788   debug <general>: AddOnLog: inputstream.adaptive: OpenStream(1002)
2026-05-12 20:32:41.440 T:11788   debug <general>: AddOnLog: inputstream.adaptive: GetStream(1002)
2026-05-12 20:32:41.440 T:11788    info <general>: Finding audio codec for: 86018
2026-05-12 20:32:41.440 T:11788    info <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2026-05-12 20:32:41.440 T:11788    info <general>: CVideoPlayerAudio::OpenStream: Allowing max Out-Of-Sync Value of 50 ms
2026-05-12 20:32:41.440 T:11788    info <general>: Creating audio thread
2026-05-12 20:32:41.441 T:15196   debug <general>: Thread VideoPlayerAudio start, auto delete: false
2026-05-12 20:32:41.441 T:15196    info <general>: running thread: CVideoPlayerAudio::Process()
2026-05-12 20:32:41.441 T:11788   debug <general>: CVideoPlayer::SetCaching - caching state 2
2026-05-12 20:32:41.441 T:11788   debug <general>: CDVDClock::SetSpeedAdjust - adjusted:0.000000
2026-05-12 20:32:41.441 T:11788    info <general>: CVideoPlayer::Process - eof reading from demuxer
2026-05-12 20:32:41.441 T:17640   debug <general>: CApplicationPlayerCallback::OnAVChange: CApplication::OnAVChange
2026-05-12 20:32:41.441 T:11788    info <general>: CVideoPlayer::OnExit()
2026-05-12 20:32:41.441 T:11788    info <general>: VideoPlayer: eof, waiting for queues to empty
2026-05-12 20:32:41.441 T:11788    info <general>: Closing stream player 1
2026-05-12 20:32:41.441 T:11788   debug <general>: AddOnLog: inputstream.adaptive: EnableStream(1002: false)
2026-05-12 20:32:41.441 T:11788    info <general>: Waiting for audio thread to exit
2026-05-12 20:32:41.452 T:15196    info <general>: thread end: CVideoPlayerAudio::OnExit()
2026-05-12 20:32:41.452 T:15196   debug <general>: Thread VideoPlayerAudio 15196 terminating
2026-05-12 20:32:41.452 T:11788    info <general>: Closing audio device
2026-05-12 20:32:41.452 T:11788    info <general>: Deleting audio codec

Stream manifest file(s)

No response

Additional info

No response

Operating system(s)

Windows

Operating system version(s)

No response

InputStream Adaptive version(s)

21 and 22

Kodi version(s)

21 and 22

Metadata

Metadata

Assignees

No one assigned

    Labels

    Triage: Confirmedissue has been reproduced by a team member

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions