Comments (2)
This is nothing that should or can be handled by the add-on. The add-on just delivers the stream data to Kodi, without modifying it nor can it control the Kodi video player.
from pvr.hts.
Are you sure? When looking at the docs it seems that PVR addons can specify some stream properties (PVRStreamProperties/InputstreamInfo) like video dimensions, fps, codec name etc. which seem to correspond directly to properties inside Kodi's VideoPlayer. (And CDVDStreamInfo also has a codecOptions field with a CODEC_FORCE_SOFTWARE flag).
The fact that a gettter/setter for it is missing seems to be an oversight.
Anyway, even without Kodi changes it still seems to be possible with the InputStream/Codec addon APIs.
I'm not sure if just setting PVR_STREAM_PROPERTY_INPUTSTREAM to PVR_STREAM_PROPERTY_VALUE_INPUTSTREAMFFMPEG wouldn't suffice, but I'm guessing that it just uses ffmpeg for demuxing in that case and inputstream.adaptive only forces SW decoding when HWdec conflicts with DRM decryption.
Worst case, it's possible to just toggle SETTING_VIDEOPLAYER_USEAMCODEC kodi-wide when a video starts and toggle it back on playback stopped callback.
from pvr.hts.
Related Issues (20)
- Live-TV buffering issues with htsp streaming (not with http) HOT 3
- Shared recordings from other users not showing until owner is changed HOT 3
- pvr.hts segfaults - kodi 20.0-ALPHA1 (19.90.701) Git:20220701-30fb576edd HOT 8
- Too many status messages after long inactivity time HOT 3
- Kodi 19.4 (Nvidia Shield Pro) Audio Stutter and Buffering with TVHeadend Addon HOT 4
- Selecting a different video decoder HOT 2
- Kodi 20 Beta 1 & Nightlies - EPG Flush/Crash HOT 2
- Channel switch times HOT 3
- Season 0 shows up as season 2 HOT 3
- Choppy audio only on bluetooth
- [issue] GUI is blocked when starting any live channel in Kodi Nexus HOT 8
- Live TV Subtitles broken on Kodi 20 HOT 1
- Cannot save settings on appletv HOT 3
- Live TV HEVC streams not playing-Ubuntu 22.04 lts Kodi Nexus HOT 22
- listitem.size doesn't update in real time HOT 1
- Channel Groups/Tags not syncing between tvheadend and Kodi HOT 1
- Feature Request: Warn when creating an overlapping recording HOT 3
- Disconnect from TVHeadend server while playing piped mpd-stream with "demux read no data for at least 10 secs" HOT 6
- [tvOS] Addon settings not saved
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pvr.hts.