<div dir="ltr">If you wanted to modify the bitrate of encoded data, you would need to decode it and then re-encode it at the new bitrate.  Typically the encoder is where you would set the new bitrate.<div><br></div><div>The only exception would be related to formats such as HLS, where several different variants of a stream are pre-encoded (at different bitrates) and you can select which variant to consume.  There may be a plugin for consuming HLS streams but I do not know it off the top of my head.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 8, 2019 at 8:49 AM Krzysztof Konopko <<a href="mailto:krzysztof.konopko@konagma.eu">krzysztof.konopko@konagma.eu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I was wondering whether there exists an element to control the<br>
(download) bitrate in the pipeline.  Something like:<br>
<br>
    souphttpsrc location=... ! bitrate max-bitrate=100000 ! ...<br>
<br>
As I understand, none of the source elements offer this functionality<br>
and I'm looking for something that'd work with arbitrary byte streams<br>
(say, MPEG-TS).<br>
<br>
I checked all plugins built on my PC but couldn't find anything<br>
suitable but I might have missed something.<br>
<br>
I suppose such element would either block in push mode to accommodate<br>
for the selected bitrate or in pull mode it'd schedule data requests<br>
accordingly.<br>
<br>
Any hints appreciated.<br>
<br>
Thanks,<br>
Kris<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote></div>