Giter Site home page Giter Site logo

MPEG-DASH support about send-to-kodi HOT 5 CLOSED

ostanislaw avatar ostanislaw commented on July 19, 2024
MPEG-DASH support

from send-to-kodi.

Comments (5)

allejok96 avatar allejok96 commented on July 19, 2024

The short answer: probably not at the moment

I've been reading and googling and reading, and I don't quite understand what I've read, but just for reference...

from send-to-kodi.

ostanislaw avatar ostanislaw commented on July 19, 2024

Thank you for the research. I've quickly read all these links and I have no idea too if it's possible. For me the "workaround" is to just ssh to kodi box (osmc@rpi3), youtube-dl the video and then play it by kodi GUI. Probably a step forward but still local at kodi might be a script that youtube-dl best quality(it would merge 2 files) followed by jsonrpc of downloaded file, simple. Anyway I usually get some youtube videos to play for children and your script is helpful with that.

OK, if it is really not supported by json-rpc, and there is no other remote possibility then it might be possible to ssh to kodi prepare strm file with both links from youtube-dl and play it somehow with InputStream.Adaptive. I don't feel like trying to do that ;)
I don't expect the feature to be supported by kodi in near future (1-5 years). It's not the rocket science but I feel kodi have other priorities.

from send-to-kodi.

allejok96 avatar allejok96 commented on July 19, 2024

Good suggestions, well, hacks. I've got one too:

Instead of using ssh one could have a companion addon for Kodi that takes some path like addon://sendtokodi/play?url=some_url and starts mpeg dash playback (or perhaps even uses youtube-dl on the Kodi machine to lookup the address). Wouldn't be surprised if it already exists. Anyhow I have no intention to develop such an addon, as the point of this script is that it's very simple and requires nothing but standard stuff (and I have no idea how dash works).

Here's another suggestion:

This script should already be able to stream a local media file to Kodi using netcat. I don't know if this actually works, maybe you can test it out? Then one could let youtube-dl download the file, and then stream it to Kodi... It will take longer, but it works...

from send-to-kodi.

ostanislaw avatar ostanislaw commented on July 19, 2024

I've tried once to play local video (downloaded from first mp4 link at https://www.learningcontainer.com/mp4-sample-video-files-download/). There was a typical success json-rpc confirmation but video doesn't start to play, no visual reaction at kodi.
We could close this issue anyway.

from send-to-kodi.

allejok96 avatar allejok96 commented on July 19, 2024

Oh wow, what a mess. But I wanted to get that local file sharing going again (Kodi is evil)...
Good thing is it was easy adding DASH support after that. The new version can download stuff for you too.

from send-to-kodi.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.