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

Tom G tomwg123 at gmail.com
Wed Feb 2 22:06:39 CET 2011


Thanks for the reply, but adding those queue elements seems to give
the exact same problem.

My current plan is to learn more about how timestamps are associated
with data buffers.  That whole thing is too much of a mystery for me
right now.

On Tue, Feb 1, 2011 at 2:13 AM, sudarshan bisht
<bisht.sudarshan at gmail.com> wrote:
> 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
>
> ------------------------------------------------------------------------------
> 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
>
>




More information about the gstreamer-devel mailing list