[gst-devel] Change bitrate property while streaming

Deroo Stijn S.Deroo at TELEVIC.com
Thu Aug 19 10:49:57 CEST 2010


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




More information about the gstreamer-devel mailing list