[gst-devel] Change bitrate property while streaming

Kapil Agrawal kapil.agl at gmail.com
Fri Aug 20 20:51:12 CEST 2010


Stin,

Bitrate is controlled via the rate control algorithm of encoder, which
basically plays with the quality , not chnaging any parameters you mentioned
in bitrate.
Hence you see the quality change while playing back.

Regards
Kapil

On Thu, Aug 19, 2010 at 2:19 PM, Deroo Stijn <S.Deroo at televic.com> wrote:

> Hi,
>
> I made the changes the bug (
> https://bugzilla.gnome.org/show_bug.cgi?id=621663) is referring too.  If I
> play the generated stream, I can see indeed a quality change when I change
> the bitrate while playing.
>
> But what I don't know is what exactly is changing?
> Bitrate = Width x Height x Colordepth x PixelsPerFrame
>
> Is it the PixelsPerFrame parameter that is changing when I change the
> bitrate?
>
> Kind regards,
> Stijn.
>
>
> > -----Original Message-----
> > From: Tim-Philipp Müller [mailto:t.i.m at zen.co.uk]
> > Sent: donderdag 12 augustus 2010 18:09
> > To: gstreamer-devel at lists.sourceforge.net
> > Subject: Re: [gst-devel] Change bitrate property while streaming
> >
> > On Thu, 2010-08-12 at 17:35 +0200, Deroo Stijn wrote:
> >
> > > Is it possible to change the bitrate of a stream, while it is streaming
> > >  (at run time).  I tried to change the bitrate by using the following
> > >  command:
> > >
> > > g_object_set(videoenc, "bitrate", val, NULL);
> > >
> > > Where 'val' contains the new bitrate value.
> > >
> > > I don't see any errors printed out while doing this, but the bitrate
> > doesn't change either.
> >
> > It would help if you mentioned what element videoenc actually refers
> > to...
> >
> > So: theoretically that can work, but both the library used and the
> > encoder element need to support this. We even have a param spec flag to
> > flag properties with that support this.
> >
> > For x264enc, see https://bugzilla.gnome.org/show_bug.cgi?id=621663
> >
> > Cheers
> >  -Tim
> >
> >
> >
> --------------------------------------------------------------------------
> > ----
> > This SF.net email is sponsored by
> >
> > Make an app they can't live without
> > Enter the BlackBerry Developer Challenge
> > http://p.sf.net/sfu/RIM-dev2dev
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>



-- 
www.mediamagictechnologies.com (Gstreamer, ffmpeg, Red5, Streaming)
twitter handle: @gst_kaps
http://www.linkedin.com/in/kapilagrawal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100821/866dc613/attachment.htm>


More information about the gstreamer-devel mailing list