Kodi 17 Dash support RPI
#1
Hello folks,

I recently updated my Kodi to kodi 17 on my raspberry pi 3. I heard talking about dash mpeg support then i tried to play an mpd stream with no luck, i have created an .strm file like this :
Code:
#KODIPROP:inputstreamaddon=inputstream.mpd
http://download.tsi.telecom-paristech.fr/gpac/DASH_CONFORMANCE/TelecomParisTech/mp4-live/mp4-live-mpd-AV-BS.mpd

I have tried with several differents URL nothing is played. Can someone explain to me how it works?
Thanks in advance
Reply
#2
What distribution of kodi are you using?
inputstream is an external binary add-on. Do you have that?
Reply
#3
Hi popcornmix,
I have the latest version of Kodi available via pipplware repository. I thought inputstream wars integrated to Kodi. So i have to install this addon ? Where can i get it?
Reply
#4
In Linux, Kodi binary addons are generally packaged separately from Kodi program.
Also inputstream.mpd (and also inputstream.smoothstream) were superseeded by inputstream.adaptive.

You can install it by running the following in a terminal:
Code:
sudo apt-get install kodi-inputstream-adaptive
Than you may need to enable it in "My addons".

To search for additional available binary addons do:
Code:
apt-cache search kodi

And install what you want.

And don't forget to change your .strm files to inputstream.adaptive like this:
Code:
#KODIPROP:inputstreamaddon=inputstream.adaptive
Reply
#5
Many thanks for that quick and complete response. I will try this evening
Reply
#6
Ok so did what you say, i installed the addon, i did the activation then i modified my file but i still have this message : Can't find a next item to play ....

I am under Kodi 17.0 Git: 20170202-523ece1-dirty if it can help and the latest raspbian jessie

And here is the log when i try to play .mpd file :

Code:
19:03:05.279 T:1945681920  NOTICE: VideoPlayer: Opening: http://download.tsi.telecom-paristech.fr/gpac/DASH_CONFORMANCE/TelecomParisTech/mp4-live/mp4-live-mpd-AV-BS.mpd
19:03:05.279 T:1945681920 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
19:03:05.381 T:1613493168  NOTICE: Creating InputStream
19:03:05.437 T:1613493168   ERROR: AddOnLog: InputStream Adaptive: Invalid / not given inputstream.adaptive.manifest_type
19:03:05.437 T:1613493168   ERROR: CVideoPlayer::OpenInputStream - error opening [http://download.tsi.telecom-paristech.fr/gpac/DASH_CONFORMANCE/TelecomParisTech/mp4-live/mp4-live-mpd-AV-BS.mpd]
19:03:05.437 T:1613493168  NOTICE: CVideoPlayer::OnExit()
19:03:05.438 T:1945681920   ERROR: Playlist Player: skipping unplayable item: 0, path [http://download.tsi.telecom-paristech.fr/gpac/DASH_CONFORMANCE/TelecomParisTech/mp4-live/mp4-live-mpd-AV-BS.mpd]
19:03:05.442 T:1945681920  NOTICE: CVideoPlayer::CloseFile()
19:03:05.442 T:1945681920  NOTICE: VideoPlayer: waiting for threads to exit
19:03:05.442 T:1945681920  NOTICE: VideoPlayer: finished waiting
19:03:05.442 T:1945681920  NOTICE: CVideoPlayer::CloseFile()
19:03:05.442 T:1945681920  NOTICE: VideoPlayer: waiting for threads to exit
19:03:05.442 T:1945681920  NOTICE: VideoPlayer: finished waiting
Reply
#7
You also need to add this to the .strm file:
Code:
#KODIPROP:inputstream.adaptive.manifest_type=mpd

More info here:
https://github.com/peak3d/inputstream.adaptive
Reply
#8
Ok, so i have been able to make this file to work with you help : http://download.tsi.telecom-paristech.fr...-AV-BS.mpd

But i have other mpd's files with different manifest that doesn't work, i have a curl error 400. Is that related to inputstream.adaptive / smoothstream ?

Thanks
Reply
#9
No, error 400 is an invalid address.
Reply
#10
Weird because, here is the log file :

Code:
12:39:15.592 T:1945554944  NOTICE: VideoPlayer: Opening: https://*********.com/t/PZVPOKSZPHK7W35/fre1/none/aac/full.mpd
12:39:15.592 T:1945554944 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
12:39:15.891 T:1647571888  NOTICE: Creating InputStream
12:39:16.211 T:1647571888  NOTICE: Creating Demuxer
12:39:16.211 T:1647571888  NOTICE: Opening stream: 1 source: 256
12:39:16.363 T:1647571888   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 400
12:39:16.363 T:1647571888   ERROR: CCurlFile::Open failed with code 400 for https://*********.com/t/PZVPOKSZPHK7W35/fre1/none/aac/https://*********.com/t/PZVPOKSZPHK7W35/fre1/none$
12:39:16.363 T:1647571888   ERROR: AddOnLog: InputStream Adaptive: Download https://*********.com/t/PZVPOKSZPHK7W35/fre1/none/aac/https://*********.com/t/PZVPOKSZPHK7W35/fre1/none$
12:39:16.363 T:1647571888   ERROR: AddOnLog: InputStream Adaptive: Unable to select stream!
12:39:16.364 T:1647571888  NOTICE: Creating video codec with codec id: 28
12:39:16.364 T:1647571888  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
12:39:16.366 T:1647571888  NOTICE: Creating video thread
12:39:16.367 T:1556321200  NOTICE: running thread: video_thread
12:39:16.367 T:1647571888  NOTICE: Opening stream: 2 source: 256
12:39:16.517 T:1647571888   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 400
12:39:16.518 T:1647571888   ERROR: CCurlFile::Open failed with code 400 for https://*********.com/t/PZVPOKSZPHK7W35/fre1/none/aac/https://*********.com/t/PZVPOKSZPHK7W35/fre1/none$
12:39:16.518 T:1647571888   ERROR: AddOnLog: InputStream Adaptive: Download https://*********.com/t/PZVPOKSZPHK7W35/fre1/none/aac/https://*********.com/t/PZVPOKSZPHK7W35/fre1/none$
12:39:16.518 T:1647571888   ERROR: AddOnLog: InputStream Adaptive: Unable to select stream!
12:39:16.518 T:1647571888  NOTICE: Finding audio codec for: 86018
12:39:16.524 T:1647571888  NOTICE: Creating audio thread
12:39:16.524 T:1547383728  NOTICE: running thread: CVideoPlayerAudio::Process()
12:39:16.524 T:1647571888  NOTICE: CVideoPlayer::OnExit()
12:39:16.524 T:1647571888  NOTICE: VideoPlayer: eof, waiting for queues to empty
12:39:16.525 T:1647571888  NOTICE: Closing stream player 1
12:39:16.525 T:1647571888  NOTICE: Waiting for audio thread to exit
12:39:16.535 T:1547383728  NOTICE: thread end: CVideoPlayerAudio::OnExit()
12:39:16.538 T:1647571888  NOTICE: Closing audio device
12:39:16.538 T:1647571888  NOTICE: Deleting audio codec
12:39:16.538 T:1647571888  NOTICE: Closing stream player 2
12:39:16.538 T:1647571888  NOTICE: waiting for video thread to exit
12:39:16.538 T:1556321200   ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
12:39:16.538 T:1556321200  NOTICE: thread end: video_thread
12:39:16.539 T:1647571888  NOTICE: deleting video codec
12:39:16.567 T:1945554944  NOTICE: CVideoPlayer::CloseFile()
Reply
#11
Yup, that's it, malformed / invalid address. It has to end with .mpd or .ism.
Reply
#12
But i dont understand what is malformed, because it work if i play it with this player http://dashif.org/reference/players/java...ce-player/
there is no problem, my file end with .mpd :https://***********/t/PZVPOKSZPHK7W35/fre1/none/aac/full.mpd
Reply
#13
From my understanding it's a matter of absolute and relative path of the stream correct? By default it will use the path of the mpd file to get the path of the stream ? I have this in my log : https://*********.com/t/PZVPOKSZPHK7W35/.../fre1/none
And of course this file return error 400 because it doesn't exist, is there a way to change this ?
Reply
#14
Hey guys, i have found the line i wanted to change usine inputstream source from github but i don't know how i can compile the source and then reinstall the addon does any of you know how to do that? Thanks
Reply
#15
What exactly do you want to change, and why ?

You can follow this for compile instructions:
https://github.com/xbmc/xbmc/blob/master...linux#L127

Open a new topic if you have questions about it.
Reply

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