[gst-devel] Why does adding ! audiorate screw up audio?

sudarshan bisht bisht.sudarshan at gmail.com
Tue Feb 1 11:13:32 CET 2011


You can give a try to following pipeline;
gst-launch filesrc location=/tmp/test.flv ! decodebin ! queue ! audiorate !
queue !
autoaudiosink

On Mon, Jan 31, 2011 at 10:10 PM, Tom G <tomwg123 at gmail.com> wrote:

> Hello,
>
> I'm fairly new to g-streamer and have been unable to understand why
> the audio in my pipeline outputs poorly if I add ! audiorate.  I can
> reproduce with a very simple gst-launch command line.
>
> gst-launch filesrc location=/tmp/test.flv ! decodebin ! audiorate !
> autoaudiosink
>
> That produces audio output that has a constant clicking sound in the
> background.  If I remove the ! audiorate element, then it sounds
> perfect.
>
> I started working with an existing pipeline that somebody else
> designed and am not even confident I should be using the audiorate
> element since the normal (non-debug) pipeline outputs to an mpegts.
> Why would it screw things up though?  I would have expected the input
> audio to already be like a perfect stream and for it to output looking
> the same as on input.
>
> Any help is appreciated.
>
> -Tom
>
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better
> price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>



-- 
Regards,

Sudarshan Bisht
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110201/8392c89a/attachment.htm>


More information about the gstreamer-devel mailing list