Kodi 17 Dash support RPI
#16
Well, as far as i understand the path to video file is relative to mpd path. For example :
Path to my manifest http://www.example.com/manifest.mpd and if inside my manifest path to video is absolute like this : http://www.example.com/path/to/video addon will try to open http://www.example.com/http://www.exampl...h/to/video
Reply
#17
Hi,

I'm very sorry to insist but i don't understand something. Below is the manifest file :

Code:
<MPD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:xlink="http://www.w3.org/1999/xlink" profiles="urn:mpeg:dash:profile:isoff-main:2011" xsi:schemaLoca$
<Period start="PT0S" duration="PT1H54M58S">
<AdaptationSet contentType="video" segmentAlignment="true" bitstreamSwitching="false">
<Representation id="video" mimeType="video/mp4" codecs="avc1.42001f" bandwidth="0">
<BaseURL>https://example.com</BaseURL>
<SegmentTemplate timescale="1" duration="5" initialization="$RepresentationID$-0.m4s" media="$RepresentationID$-$Number$.m4s" startNumber="1"/>
</Representation>
</AdaptationSet>
<AdaptationSet contentType="audio" segmentAlignment="true" bitstreamSwitching="false">
<Representation id="audio" mimeType="audio/mp4" codecs="mp4a.40.2" bandwidth="128000" audioSamplingRate="44100">
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
<BaseURL>https://example.com</BaseURL>
<SegmentTemplate timescale="1" duration="5" initialization="$RepresentationID$-0.m4s" media="$RepresentationID$-$Number$.m4s" startNumber="1"/>
</Representation>
</AdaptationSet>
</Period>
</MPD>

Below is the log file i get :

Code:
18:25:13.574 T:1945563136  NOTICE: VideoPlayer: Opening: /home/pi/Videos/manifest.mpd
18:25:13.574 T:1945563136 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
18:25:13.575 T:1629483952  NOTICE: Creating InputStream
18:25:13.639 T:1629483952  NOTICE: Creating Demuxer
18:25:13.642 T:1629483952  NOTICE: Opening stream: 1 source: 256
18:25:13.899 T:1629483952   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 503
18:25:14.068 T:1629483952   ERROR: CCurlFile::Open failed with code 503 for https://example.com/$RepresentationID$-0.m4s|Connection=keep-alive&acceptencoding$
18:25:14.068 T:1629483952   ERROR: AddOnLog: InputStream Adaptive: Download https://example.com/$RepresentationID$-0.m4s doesn't provide any data: invalid
18:25:13.900 T:1629483952   ERROR: AddOnLog: InputStream Adaptive: Unable to select stream!
18:25:13.918 T:1629483952  NOTICE: Creating video thread
18:25:13.919 T:1629483952  NOTICE: Opening stream: 2 source: 256
18:25:14.068 T:1629483952   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 503
18:25:14.068 T:1629483952   ERROR: CCurlFile::Open failed with code 503 for https://example.com/$RepresentationID$-0.m4s|Connection=keep-alive&acceptencoding$
18:25:14.068 T:1629483952   ERROR: AddOnLog: InputStream Adaptive: Download https://example.com/$RepresentationID$-0.m4s doesn't provide any data: invalid
18:25:14.068 T:1629483952   ERROR: AddOnLog: InputStream Adaptive: Unable to select stream!
18:25:14.074 T:1629483952  NOTICE: Creating audio thread
18:25:14.075 T:1629483952  NOTICE: CVideoPlayer::OnExit()

The $RepresentationID shouldn't be replaced with the representation id wich is "video" in my manifest ?

Thanks
Reply
#18
Well, I am not an expert in this addon, I just compile and package it. And I just used it one or two times to check it was working... You will have to wait for someone with more knowledge than me about that. Or maybe open an issue in the github page.
Reply
#19
Ok rascas, anyway i appreciate you help. Thank you
Reply
#20
Ok, so by replacing $RepresentionID$ by representation ID, the file is playing, seeking is a little bit long but it's working. Thanks for the help provided !
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi 17 Dash support RPI0