x264enc with VBV buffer

Dolevo Jay cmst at live.com
Fri Jun 12 03:04:33 PDT 2015


Hi,
I am trying to use x264enc plugin with VBV buffer. However, I see that I need to set the "bitrate" and "vbv-buf-capacity". However, I am wondering if the encoder enters to 1-pass ABR mode since I set the bitrate, which is what I don't want. Could anyone give me an example settings for VBV buffer? What I currently have is:g_object_set(G_OBJECT(_videoEncoder),
                 "tune",             (guint)4,
                 "speed-preset",     (guint)1,
                 "byte-stream",      (gboolean)TRUE,
                 "bitrate",          (guint) 7500,
                 "vbv-buf-capacity", (guint) 1500,
                                         "intra-refresh",    (gboolean)TRUE, 
                 NULL);


I just want to have ultrafast-zerolatency encoding with VBV buffers set to param.rc.i_vbv_max_bitrate= 10000, param.rc.i_vbv_buffer_size= 10000.
Thanks. 		 	   		   		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150612/5da80e3f/attachment.html>


More information about the gstreamer-devel mailing list