[gstreamer-bugs] [Bug 621663] x264enc properties ignored when set while playing

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jun 15 09:24:35 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=621663
  GStreamer | gst-plugins-ugly | git

--- Comment #1 from Havoc Pennington <hp at pobox.com> 2010-06-15 16:24:30 UTC ---
It looks like x264_encoder_reconfig() allows changing some but not all props on
the fly. Bitrate can be changed if in VBV mode

    /* VBV can't be turned on if it wasn't on to begin with */
    if( h->param.rc.i_vbv_max_bitrate > 0 && h->param.rc.i_vbv_buffer_size > 0
&&
          param->rc.i_vbv_max_bitrate > 0 &&   param->rc.i_vbv_buffer_size > 0
)
    {
        COPY( rc.i_vbv_max_bitrate );
        COPY( rc.i_vbv_buffer_size );
        COPY( rc.i_bitrate );
        rc_reconfig = 1;
    }

Anyway either setting a prop could immediately reconfig, I guess, or x264enc
could have some kind of "need reconfig" flag that it handles on the next
buffer?

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list