• Stars
    star
    454
  • Rank 96,373 (Top 2 %)
  • Language
    C++
  • License
    Other
  • Created about 8 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

kodi inputstream addon for several manifest types

License: GPL-2.0-or-later Build Status Build and run tests Build Status

InputStream Adaptive add-on for Kodi

This is a Kodi input stream add-on which acts as a demuxer for segmented, multi-bitrate internet streams. The most common streaming protocols such as MPEG-DASH, HLS and Microsoft Smooth Streaming are supported.

The add-on also has support for DRM protected streams, such as Google Widevine, Microsoft PlayReady and others, however some are only available on specific operating systems. To use the Google Widevine DRM on non-Android systems is required the installation of the Widevine CDM module library (not included with this add-on).

To enable InputStream playback via your video add-on, you must first configure the ListItem properties appropriately.

For test purposes, you can create STRM files with URLs and playback parameters to instruct Kodi to use this InputStream add-on.

Please refer to the Wiki pages for detailed instructions on how to integrate, build and test with your add-on.

WIP Features

Bandwidth and resolution:

When using inputstream.adaptive the first time, the selection of stream quality / stream resolution is done with a guess of 4MBit/s. This default value will be updated at the time you watch your first movie by measuring the download speed of the media streams. Always you start a new video, the average bandwidth of the previous media watched will be taken to calculate the initial stream representation from the set of existing qualities. If this leads to problems in your environment, you can override / adjust this value using Min. bandwidth in the inputstream.adaptive settings dialog. Setting Min. bandwidth e.g. to 10.000.000, the media selection will never be done with a bandwidth value below this value. Currently the complete media is played with the selection from this initial step, adaptive stream changes during a running video is still under development. There is a new Max. resolution select field in the inputstream.adaptive settings dialog. Auto will select the best resolution matching to your videoplayer display rect without any limits. If your display resolution is 720p, you will not be able to watch 1080p videos if there are video representations available closer to 720p.

TODO's:

  • Adaptive bitrate switching has been implemented in Kodi as of v20, but will continue to be developed over time.
  • Automatic / fixed video stream selection depending on max. visible display rect (some work has to be done at the inputstream interface).
  • There will be many MPEG-DASH, HSL or Smooth Stream manifest types currently not supported that must be extended.

Notes:

  • This addon uses threads to download segments. The memory consumption is the sum of single segment from each stream currently playing. Refering to known streams it is < 10MB for 720p videos.

Acknowledgements

InputStream Adaptive exists thanks to the help of many

  • Special thanks to the author / creator @peak3d
  • All the contributors
  • Bento4 for the great extensible library for mp4 streams

License

InputStream Adaptive is GPLv2 licensed. You may use, distribute and copy it under the license terms.

More Repositories

1

xbmc

Kodi is an award-winning free and open source home theater/media center software and entertainment hub for digital media. With its beautiful interface and powerful skinning engine, it's available for Android, BSD, Linux, macOS, iOS, tvOS and Windows.
C++
18,177
star
2

Kore

Kore is a simple and easy-to-use Kodi remote.
Java
648
star
3

repo-plugins

Official source repository for Kodi plugin add-ons
348
star
4

chorus2

Official Kodi Web Interface
JavaScript
341
star
5

android

OBSOLETE Android port. Now merged into mainline!
C
197
star
6

Official-Kodi-Remote-iOS

Full-featured remote control for XBMC Media Center. It features library browsing, now playing informations and a direct remote control.
Objective-C
193
star
7

repo-scripts

Official source repository for Kodi script add-ons
179
star
8

kodi-tv

the Gatsby code for the kodi.tv web site
TypeScript
126
star
9

libandroidjni

Android JNI bindings library
C++
84
star
10

atv2

atv2
C
84
star
11

generator-kodi-addon

Yeoman generator for the most common Kodi addon types.
JavaScript
74
star
12

xbmc-rbp

C
72
star
13

repo-skins

Official source repository for Kodi skin add-ons
67
star
14

inputstream.ffmpegdirect

Supports streams opened by FFmpeg's libavformat or Kodi's cURL such as plain TS, HLS and DASH (non-DRM) as well as many others. There is support for Archive/Catchup services where there is a replay window and can timeshift across that span. Also provides timeshift for live streams where rewind/pause and fast-forward would not have been available.
C++
58
star
15

repo-resources

Official source repository for Kodi resource add-ons
55
star
16

repo-scrapers

Official source repository for Kodi scraper add-ons
54
star
17

skin.confluence

52
star
18

addon-check

Automatic checks for new repository submissions
Python
52
star
19

metadata.themoviedb.org.python

HTML
46
star
20

XBMCbuntu

Shell
44
star
21

vfs.rar

RAR VFS addon for Kodi
C++
37
star
22

repo-binary-addons

Official repository for Kodi binary add-ons
36
star
23

visualization.shadertoy

Shadertoy visualizer for Kodi
C++
34
star
24

xbmc-antiquated

Antiquated repo that was a mirror of SVN. Use the new repo instead!
C
34
star
25

visualization.projectm

ProjectM visualizer for Kodi
CMake
31
star
26

kodi-addon-submitter

Script to automate Kodi repo submissions
Python
30
star
27

xbmc-packaging

Ubuntu Packaging
27
star
28

notrobro

Python
26
star
29

xbmc-live

XBMC Live Linux Distribution
Shell
24
star
30

vfs.sftp

SFTP VFS addon for Kodi
C++
21
star
31

elm-chorus

A web interface for Kodi/XBMC written in Elm
Elm
21
star
32

metadata.tvshows.themoviedb.org.python

themoviedb.org TV Show scraper in Python for Kodi 18 (Leia) or later.
20
star
33

kodi-platform

Kodi platform support library
CMake
20
star
34

translations

C++
18
star
35

repo-webinterfaces

Official source repository for Kodi webinterface add-ons
18
star
36

repository-generator

Tools for packaging/generating add-on repositories from source
Python
17
star
37

mDNSResponder

C
15
star
38

inputstream.rtmp

RTMP input stream add-on for Kodi
C++
15
star
39

libdvdcss

fork of git://git.videolan.org/libdvdcss.git http://www.videolan.org/developers/libdvdcss.html
C
13
star
40

screensaver.matrixtrails

Matrix trails screensaver for Kodi
C
12
star
41

audiodecoder.sacd

Super Audio CD ISO-Image decoder addon
C++
12
star
42

action-kodi-addon-submitter

A github action to automatically submit your addon to the official Kodi repository when tagging
Shell
12
star
43

python

C
12
star
44

vfs.libarchive

Libarchive VFS add-on for Kodi
CMake
12
star
45

vfs.sacd

SACD VFS support for Kodi
C
11
star
46

visualization.milkdrop

Milkdrop visualizer for Kodi
C++
11
star
47

kodi-deps

Build files for windows libs
CMake
11
star
48

screensaver.shadertoy

Screensaver with shaders from Shadertoy for Kodi on all OS
C++
10
star
49

imagedecoder.raw

RAW image decoder for Kodi
C++
9
star
50

visualization.goom

GOOM visualizer for Kodi
C
9
star
51

screensavers.rsxs

RSXS screensaver add-ons for Kodi
C
9
star
52

xbmc.wiki.bot

xbmc.addonbot
Python
8
star
53

imagedecoder.heif

HEIF image decoder add-on for Kodi
C++
8
star
54

metadata.tvdb.com.python

Provides tvshow information from tvdb to Kodi
Python
8
star
55

visualization.spectrum

Spectrum visualizer for Kodi
C++
8
star
56

libcdio

Fork of libcdio explicitly for Kodi on win64
C
8
star
57

visualization.waveform

Waveform visualizer for Kodi
C++
7
star
58

visualization.pictureit

PictureIt - Kodi Visualization
C
7
star
59

screensaver.biogenesis

BioGenesis screensaver for Kodi
C++
6
star
60

action-kodi-addon-checker

A Github action to run addon checker against your kodi addon codebase
Python
6
star
61

audiodecoder.sidplay

Sidplay decoder addon for Kodi
C++
5
star
62

visualization.matrix

C
5
star
63

visualization.starburst

StarBurst visualization for Kodi
C
5
star
64

audiodecoder.fluidsynth

Fluidsynth audio decoder for Kodi
C++
5
star
65

screensaver.asteroids

Asteroids screensaver for Kodi
C++
5
star
66

vfs.smb2

C++
5
star
67

visualization.fishbmc

Fische visualizer for Kodi
C++
5
star
68

audiodecoder.snesapu

SPC decoder addon for Kodi
C++
5
star
69

giflib

minor cmakelist stuff for original giflib
C
5
star
70

libssh

C
5
star
71

audiodecoder.modplug

Modplug decoder addon for Kodi
CMake
5
star
72

audiodecoder.stsound

YM decoder addon for Kodi
C++
4
star
73

pipeline-library

Groovy
4
star
74

screensaver.pyro

Pyro screensaver for Kodi
C++
4
star
75

libxslt

HTML
4
star
76

audiodecoder.organya

Organya audio decoder for Kodi
C++
4
star
77

skin.estouchy

A skin that is designed for touch screens
4
star
78

audiodecoder.timidity

Timidity decoder addon for Kodi
C
4
star
79

audiodecoder.2sf

2SF decoder addon for Kodi
C
4
star
80

screensaver.greynetic

Greynetic screensaver for Kodi
C++
4
star
81

audiodecoder.vgmstream

VGM decoder addon for Kodi
C
4
star
82

screensaver.stars

Starfield screensaver for Kodi
C++
4
star
83

libdvdnav

fork of git://git.videolan.org/libdvdnav.git
C
4
star
84

sync_addon_metadata_translations

With this tool you can sync a Kodi add-on's metadata (Summary, Description, and Disclaimer) translations between the addon.xml and related po files.
Python
4
star
85

screensaver.pingpong

Ping-pong screensaver for Kodi
C++
4
star
86

audiodecoder.dumb

DUMB audiodecoder for Kodi
C
3
star
87

libiconv

C
3
star
88

audiodecoder.openmpt

OpenMPT decoder addon
CMake
3
star
89

screensaver.asterwave

AsterWave screensaver for Kodi
C
3
star
90

audiodecoder.gme

GME audiodecoder for Kodi
C++
3
star
91

audiodecoder.nosefart

Nosefart decoder addon for Kodi
C
3
star
92

libdvdread

fork of git://git.videolan.org/libdvdread.git
C
3
star
93

libodb-sqlite

unofficial repo of libodb, cmake build for use in Kodi
Shell
3
star
94

libxml2

C
3
star
95

TinyXML

C++
3
star
96

audiodecoder.upse

UPSE (PSF) decoder addon for Kodi
C
3
star
97

imagedecoder.mpo

MPO image decoder for Kodi
C
3
star
98

screensaver.cpblobs

CpBlobs screensaver for Kodi
C
3
star
99

audiodecoder.usf

(Lazy)USF decoder addon for Kodi
C
3
star
100

script.module.tvdbsimple

Kodi port of tvdbsimple
Python
3
star