[gst-devel] osssrc complains "Can't record audio fast enough"

gather bzbz gbzbz at yahoo.com
Sat Dec 26 02:11:23 CET 2009


Hi Tim,

Could you please provide a sample of the said cap filter set between the src and lame? I have tried other ways, none worked :(

Best,

B.Z.

--- On Fri, 12/25/09, Tim-Philipp Müller <t.i.m at zen.co.uk> wrote:

> From: Tim-Philipp Müller <t.i.m at zen.co.uk>
> Subject: Re: [gst-devel] osssrc complains "Can't record audio fast enough"
> To: gstreamer-devel at lists.sourceforge.net
> Date: Friday, December 25, 2009, 8:19 AM
> On Thu, 2009-12-24 at 23:49 -0800,
> gather bzbz wrote:
> 
> > case 1: "gst-launch osssrc ! lame ! filesink
> location=xxx" gives "osssrc: Can't record audio fast
> enough".
> 
> Note that for any half-way recent version of
> gstreamer/gst-plugins-base
> the debug message that comes with that warning reads
> something like
> "Dropped x samples. This is most likely because downstream
> can't keep up
> and is consuming samples too slowly."
> 
> Try putting a queue between osssrc and lame. If that
> doesn't fix it,
> then the encoder (lame) is most likely just not able to
> encode fast
> enough, ie. in real time on average, on that particular
> computer, in
> which case you might be able to configure the encoder to
> use a less
> computationally intensive algorithm/mode (see
> gst-inspect-0.10 lame;
> also have a look at the lamemp3enc element which has
> simpler options). 
> 
> If that still doesn't help, you could try to reduce the
> input sample
> rate (by adding a caps filter between source and the
> encoder, for
> example).
> 
> Cheers
>  -Tim
> 
> 
> 
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer
> Community
> Take advantage of Verizon's best-in-class app development
> support
> A streamlined, 14 day to market process makes app
> distribution fast and easy
> Join now and get one step closer to millions of Verizon
> customers
> http://p.sf.net/sfu/verizon-dev2dev 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> 


      




More information about the gstreamer-devel mailing list