-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VOD video problems - Missing support for Kodi stream buffering #392
Comments
This has come up a few times before, see #8 and #14 for example. It would be great to have but it's not trivial to implement. At the moment from what I can see segments are only downloaded at Kodi's request (to fill 8 second internal buffer - cannot be changed) so there would need to be a whole new section built to have our own buffer within inputstream adaptive, associated logic, also buffering for different streams (for adaptive bitrate switching)... I'm sure more things! If waiting for this isn't an option you could do a proxy server in python to pre-download future segments |
I came across this issue also, 8 sek. internal buffer is propably to small for flawless playback, especially with 4k content. Adaptive bitrate switching is nice to have, but not a deal breaker since you can switch the streams by yourself if needed. Maybe adding a buffer for the actual stream first (to fix the playback issues) would be a lot less work to do as to implement both features at once? |
How does this compare to https://kodi.wiki/view/HOW-TO:Modify_the_video_cache `?
|
I have asked for better triage in this project so we can make open feature requests more upfront, rather than having the same thing being brought up ever so often in another issue. It doesn't help to converge to a proper fix (or get the proper attention from those that can implement it). |
We can already use the Wiki to document and track features or known issues, so don't let that keep us from collaborating ;-) |
are you guys talking about artefacts with DRM vod playback like this https://i.imgur.com/8fuO9Px.png ? cause i don't know if i have to open an issue for my problem ps : i tried everything with params, and when i say try, i mean all settings ... i have 1Gbps down and up |
no we are just talking about buffer management here |
someone know the code line where is set the 8 second of internal buffer? |
I had a quick look on github but could not find it, it might be easier using an IDE to trace it back. Kodi calls DemuxRead() in inputstream.adaptive to get more data, you could start there... edit: there are a few references in VideoPlayer.cpp to 8000 (ms) but I don't believe that's where the buffer is allocated. It's probably not a good idea to change that value anyway, it would likely have other consequences. Much better to get a proper solution happening here. |
@CastagnaIT @peak3d already offered this as a solution for another issue (see xbmc/xbmc#16003 (comment)) and this was what he proposed: peak3d/xbmc@9b633ec |
A simple static increase feels wrong, what if a person wants to watch high res, and take a few minute buffering into account for something the internet connection usually can't do "live"? |
@yoshimo Read the discussion by following the link. No need to repeat the same discussion here. |
thanks for the links |
@CastagnaIT Keep us posted about your findings, as I am sure you will 😉 |
I just looked a bit into this issue, and the 8 second limit is the reason for all sorts of problems. -> add-ons/plugin.video.viervijfzes#4 Altough this issue is not in inputstream, but in Kodi itself. |
i raised the video player internal buffers to 12 sec and recompiled it for android (Shield Pro 2019). Rasing the internal buffer doesnt fix this isse, i still have random duplicate / dropped frames when playing 4k content from Netflix. |
Was this no result in the end? |
The work is in #506 however it needs some adjustments before it can be brought in. Likely to be a Kodi 20 feature |
Fixed in #732 |
Since always, and especially in recent months many users complain about problems in the playback
These problems are due to latencies in the VOD service or networks that are not always stable due to the ISP or WIFI.
The problem is the lack of a buffer,
getting the data in real time is not a good way to VOD playback
I do not know if it is already supported, in this case closed the Issue, i just need to know how to customize it and increase the size.
Myself have buffering problems and it starts to get worse:
This can also happen several times in a single playback
It would be a good idea to use Kodi buffer to load as much data as possible in as little time as possible, in order to suppress these problems
The text was updated successfully, but these errors were encountered: