xbmc / xbmc/inputstream.ffmpegdirect

Error creating demuxer when playing .ism stream

Open
#90 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
101
Forks
56
PR merge metrics
No merged PRs in 30d

Description

Hi,

I maintain the Eurosport addon for Kodi.

The addon has been able to play .ism streams using inputstream.ffmpegdirect for a while now, but recently it has started to raise an error.

I suspect Eurosport have changed something and I need to provide additional settings to allow the stream to play.

In the addon I set the following:

item.setProperty('inputstreamclass','inputstream.ffmpegdirect')
item.setProperty('inputstream.ffmpegdirect.manifest_type','ism')
item.setProperty('inputstream.ffmpegdirect.is_realtime_stream','true')
item.setMimeType('text/xml')

The log is now displaying the following error:

2021-03-15 12:09:00.292 T:281471503795376   DEBUG: CFileCache::Open - opening <secondary/3/4ee27fdf05844bd5a09677a77e6e75a5/start/1615807783/index.ism/Manifest> using cache
2021-03-15 12:09:00.293 T:281471503795376   DEBUG: CurlFile::Open(0xffff104ab3a0) https://eurosport-dlvr-ott.akamaized.net/secondary/3/4ee27fdf05844bd5a09677a77e6e75a5/start/1615807783/index.ism/Manifest?aws.manifestfilter=video_bitrate:900000-5500000&hdnts=ip=92.22.35.160~exp=1615864139~acl=/secondary/3/4ee27fdf05844bd5a09677a77e6e75a5/start/1615807783/index.ism/Manifest%3Faws.manifestfilter%3Dvideo_bitrate%3A900000-5500000*~hmac=420d16f7fd8f2fe07043dd1f7fd1647db4204c01033f3aa9814be076181f5e1d
2021-03-15 12:09:00.322 T:281471394755760   DEBUG: Thread FileCache start, auto delete: false
2021-03-15 12:09:00.322 T:281471503795376  NOTICE: Creating Demuxer
2021-03-15 12:09:00.323 T:281471394755760    INFO: CFileCache::Process - Source read didn't return any data! Hit eof(?)
2021-03-15 12:09:00.358 T:281471503795376   ERROR: Open - error probing input format, https://eurosport-dlvr-ott.akamaized.net/secondary/3/4ee27fdf05844bd5a09677a77e6e75a5/start/1615807783/index.ism/Manifest?aws.manifestfilter=video_bitrate:900000-5500000&hdnts=ip=92.22.35.160~exp=1615864139~acl=/secondary/3/4ee27fdf05844bd5a09677a77e6e75a5/start/1615807783/index.ism/Manifest%3Faws.manifestfilter%3Dvideo_bitrate%3A900000-5500000*~hmac=420d16f7fd8f2fe07043dd1f7fd1647db4204c01033f3aa9814be076181f5e1d
2021-03-15 12:09:00.359 T:281471503795376   ERROR: OpenDemuxStream - Error creating demuxer
2021-03-15 12:09:00.359 T:281471503795376  NOTICE: CVideoPlayer::OnExit()

I've copied and pasted the URL into VLC, and it plays correctly in there.

I've tested and can re-create the error on Kodi 18.8.

Any thoughts?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin with the logged Manifest URL and the OpenDemuxStream/error-probing path; compare the .ism stream behavior with VLC and the existing inputstream.ffmpegdirect settings. Done means identifying the compatibility change or required setting and confirming playback on the reported Kodi version.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.