change the gstreamer element parameter dynamic

Stefan Sauer ensonic at hora-obscura.de
Mon Mar 19 09:04:10 PDT 2012


On 03/19/2012 06:20 AM, liming.yang wrote:
> I   have  try  to  change  the  "bitrate"  when  the  pipeline  was  playing 
> state.  the  x264enc  element  and omx_h264enc  cannot  be  changed . In 
> the  output  of  " gst-inspect x264enc",  I  cannot  find  the "PLAYING". 
> the  version  of  gstreamer  is  0.10 
We have 0.10.X since years, please mention the exact version.
>  , x264  is  0.10.14  ,  omx  is 
> 0.10.35. the  day  before yesterday, I has changed the state of the pipe to 
> PAUSED and change the parameter ,i failed too.  I  find the GstController  .
> I have  try  it , failed  too.I  can  not   understand  the  function  of 
> GstController  in the  Plugin Writer's Guide Chapter 15,i think it can
> support dynamic parameters.
GstController is for making dynamic parameter changes when you know them
ahead of time. Think of a video editor or music sequenzer. You just want
to use g_object_set(element, "bitrate", new_value, NULL);. But for that
to be useful, element needs to support taking such changes into account.
In the case of x264enc, it will need to switch the bitrate on the x264
library. If that does not work, someone needs to so see if it can be
addded and make a patch.

Stefan
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/change-the-gstreamer-element-paramter-dynamic-tp4474415p4483858.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list