[gst-devel] Change bitrate property while streaming
Tim-Philipp Müller
t.i.m at zen.co.uk
Thu Aug 12 18:09:06 CEST 2010
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
More information about the gstreamer-devel
mailing list