Stin,<br><br>Bitrate is controlled via the rate control algorithm of encoder, which basically plays with the quality , not chnaging any parameters you mentioned in bitrate.<br>Hence you see the quality change while playing back.<br>
<br>Regards<br>Kapil<br><br><div class="gmail_quote">On Thu, Aug 19, 2010 at 2:19 PM, Deroo Stijn <span dir="ltr"><<a href="mailto:S.Deroo@televic.com">S.Deroo@televic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
<br>
I made the changes the bug (<a href="https://bugzilla.gnome.org/show_bug.cgi?id=621663" target="_blank">https://bugzilla.gnome.org/show_bug.cgi?id=621663</a>) is referring too. If I play the generated stream, I can see indeed a quality change when I change the bitrate while playing.<br>
<br>
But what I don't know is what exactly is changing?<br>
Bitrate = Width x Height x Colordepth x PixelsPerFrame<br>
<br>
Is it the PixelsPerFrame parameter that is changing when I change the bitrate?<br>
<br>
Kind regards,<br>
<div class="im">Stijn.<br>
<br>
<br>
> -----Original Message-----<br>
> From: Tim-Philipp Müller [mailto:<a href="mailto:t.i.m@zen.co.uk">t.i.m@zen.co.uk</a>]<br>
> Sent: donderdag 12 augustus 2010 18:09<br>
> To: <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
> Subject: Re: [gst-devel] Change bitrate property while streaming<br>
><br>
</div><div><div></div><div class="h5">> On Thu, 2010-08-12 at 17:35 +0200, Deroo Stijn wrote:<br>
><br>
> > Is it possible to change the bitrate of a stream, while it is streaming<br>
> > (at run time). I tried to change the bitrate by using the following<br>
> > command:<br>
> ><br>
> > g_object_set(videoenc, "bitrate", val, NULL);<br>
> ><br>
> > Where 'val' contains the new bitrate value.<br>
> ><br>
> > I don't see any errors printed out while doing this, but the bitrate<br>
> doesn't change either.<br>
><br>
> It would help if you mentioned what element videoenc actually refers<br>
> to...<br>
><br>
> So: theoretically that can work, but both the library used and the<br>
> encoder element need to support this. We even have a param spec flag to<br>
> flag properties with that support this.<br>
><br>
> For x264enc, see <a href="https://bugzilla.gnome.org/show_bug.cgi?id=621663" target="_blank">https://bugzilla.gnome.org/show_bug.cgi?id=621663</a><br>
><br>
> Cheers<br>
> -Tim<br>
><br>
><br>
> --------------------------------------------------------------------------<br>
> ----<br>
> This SF.net email is sponsored by<br>
><br>
> Make an app they can't live without<br>
> Enter the BlackBerry Developer Challenge<br>
> <a href="http://p.sf.net/sfu/RIM-dev2dev" target="_blank">http://p.sf.net/sfu/RIM-dev2dev</a><br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
> <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br>
------------------------------------------------------------------------------<br>
This SF.net email is sponsored by<br>
<br>
Make an app they can't live without<br>
Enter the BlackBerry Developer Challenge<br>
<a href="http://p.sf.net/sfu/RIM-dev2dev" target="_blank">http://p.sf.net/sfu/RIM-dev2dev</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.mediamagictechnologies.com">www.mediamagictechnologies.com</a> (Gstreamer, ffmpeg, Red5, Streaming)<br>twitter handle: @gst_kaps<br><a href="http://www.linkedin.com/in/kapilagrawal">http://www.linkedin.com/in/kapilagrawal</a><br>