[gst-devel] Change bitrate property while streaming

Deroo Stijn S.Deroo at TELEVIC.com
Thu Aug 12 18:21:02 CEST 2010


Hi Tim-Philipp,

The video encoder I'm using is x264enc. 

The link you gave me, is this a patch to solve my problem?

I don't understand the different modes (CBR, ABR, CRF) they are talking about in the link you gave me.  Is this something that needs to be set for x264enc?

KR,
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