[gst-devel] Ubuntu and Gstreamer
Thomaz Barros
thomazavila at gmail.com
Fri Sep 3 13:37:20 CEST 2010
Hi Rob, thanks for your response. I just tried your suspect today because i
had other problems during the week. I built the lastest gstreamer core and
plugins version and the latest libx264 release but it didn't work as well
but your options aren't displayed to me.
2010/8/28 Rob <robert.swain at gmail.com>
> On 27 August 2010 21:23, Thomaz Barros <thomazavila at gmail.com> wrote:
> > Hi all, I'm having some problems with Gstreamer in a Ubuntu 10.04
> desktop.
> > I'm trying to make an H.264 streaming application but there is a delay
> about
> > 2-3 seconds.
>
> > VENC=" timeoverlay ! x264enc byte-stream=true bitrate=2000 cabac=false !
>
> I'm not certain but I suspect it could be x264enc introducing the
> delay. Ideally you need an x264 newer than the one in 10.04 (newer
> than API version 85) and then the next GStreamer release compiled
> against it. Then you could use the tune=0x4 option which enables a
> zero latency tuning. However, the zero latency tuning corresponds to:
>
> else if( !strncasecmp( s, "zerolatency", 11 ) )
> {
> param->rc.i_lookahead = 0;
> param->i_sync_lookahead = 0;
> param->i_bframe = 0;
> param->b_sliced_threads = 1;
> param->b_vfr_input = 0;
> param->rc.b_mb_tree = 0;
> }
>
> (from x264/common/common.c)
>
> Which, in GStreamer properties with newer -ugly from the GStreamer
> developers' PPA could also be given as:
>
> rc-lookahead=0 sync-lookahead=0 bframes=0 sliced-threads=1 mb-tree=0
> (variable frame rate input is not exposed through the properties).
> Perhaps some of those options are only available in newer x264 APIs
> and so are not relevant to older x264 as they were not yet
> implemented.
>
> Give it a go. Hopefully it will help. :) I think lookahead introduces
> the largest delay when encoding.
>
> Regards,
> Rob
>
>
> ------------------------------------------------------------------------------
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users
> worldwide. Take advantage of special opportunities to increase revenue and
> speed time-to-market. Join now, and jumpstart your future.
> http://p.sf.net/sfu/intel-atom-d2d
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100903/aa5cfac8/attachment.htm>
More information about the gstreamer-devel
mailing list