[Bug 742979] adaptivedemux: Adaptive bitrate algorithm does not react fast enough to declining bitrate

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jan 26 14:34:12 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=742979
  GStreamer | gst-plugins-bad | git master

--- Comment #14 from Thiago Sousa Santos <thiagossantos at gmail.com> 2015-01-26 22:34:09 UTC ---
The problem with doing per-buffer is that, for example, we would be only using
the last 409600 bytes for the usual 4096 chunk size and the default 100 chunks.

This would most likely only be using the last part of the downloaded fragment
to compute the bitrate as the switches only happen after a fragment is
downloaded. Moreover it would be ignoring the latency to set up the connection
that happens on the beginning of the fragment download and it could be giving
slightly better bitrate than the real one.

So I'd prefer to have this moving average being computed on the full fragment
download bitrate, for the last 3 fragments (or other small number). The size of
the window could be configurable with a property. We could use the last value
to detect congestion and reduce the bitrate immediately and use the average to
decide if the bitrate should be increased, for example.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list