Re: Crackling/Popping

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Crackling/Popping

Jack Foster-2
I get a significant amount of popping and crackling with these examples.  Is this a buffering/latency issues?  I'm not sure how it could be as I'm running this demo on my local machine.

Jevin

On Fri, Jan 2, 2009 at 10:22 AM, Wim Taymans <[hidden email]> wrote:
On Wed, 2008-12-31 at 11:03 -0500, Jack Foster wrote:
> Hi gang!
>
> I see lots of examples that have CLI to gStreamer but surely people
> are building applications with C.  It seems like an awesome framework
> but I'm just trying to get my head around it.  I would like to see
> more C examples.
>
> In any case, I'm trying to a simple audio rtp sender/receiver working
> but am having a hard time translating the example from the gstrtpbin
> documentation to C.  I'll then post a working copy on the mailing list
> for others running into the same issue.
>
> I really have no idea if the errors are related to the mad plugin or
> the pads not linked together properly.
>
> Attached is the error and the program.  Any help would be greatly
> appreciated.

I added some C examples in CVS here:

http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/tests/examples/rtp/

Look at client-PCMA.c and server-alsasrc-PCMA.c

Wim

>
> Thanks!
> Jack
> ------------------------------------------------------------------------------
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Crackling/Popping

Wim Taymans
It's the clock slaving that causes this, our current algorithm is
rather crude and just skips 10ms of samples or inserts silence to keep
up with the different clock rates.

Even if you are running on a local machine, the sender side will use
the system clock while the receiver will ultimately use the audio
clock for rendering the samples.

Wim

On Tue, Jan 6, 2009 at 4:04 PM, Jack Foster <[hidden email]> wrote:

> I get a significant amount of popping and crackling with these examples.  Is
> this a buffering/latency issues?  I'm not sure how it could be as I'm
> running this demo on my local machine.
>
> Jevin
>
> On Fri, Jan 2, 2009 at 10:22 AM, Wim Taymans <[hidden email]> wrote:
>>
>> On Wed, 2008-12-31 at 11:03 -0500, Jack Foster wrote:
>> > Hi gang!
>> >
>> > I see lots of examples that have CLI to gStreamer but surely people
>> > are building applications with C.  It seems like an awesome framework
>> > but I'm just trying to get my head around it.  I would like to see
>> > more C examples.
>> >
>> > In any case, I'm trying to a simple audio rtp sender/receiver working
>> > but am having a hard time translating the example from the gstrtpbin
>> > documentation to C.  I'll then post a working copy on the mailing list
>> > for others running into the same issue.
>> >
>> > I really have no idea if the errors are related to the mad plugin or
>> > the pads not linked together properly.
>> >
>> > Attached is the error and the program.  Any help would be greatly
>> > appreciated.
>>
>> I added some C examples in CVS here:
>>
>>
>> http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/tests/examples/rtp/
>>
>> Look at client-PCMA.c and server-alsasrc-PCMA.c
>>
>> Wim
>>
>> >
>> > Thanks!
>> > Jack
>> >
>> > ------------------------------------------------------------------------------
>> > _______________________________________________
>> > gstreamer-devel mailing list
>> > [hidden email]
>> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> gstreamer-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>

------------------------------------------------------------------------------
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel