G729

AR
Archie Rosenblum
Mon, Jul 7, 2008 9:37 PM

Hi Everyone,

By any chance has anyone successfully implemented G729 using the VoiceAge or
Intel's IPP libraries?  I did notice a few notes in the archives.

http://www.voiceage.com/openinit_g729.php

http://www.intel.com/cd/software/products/asmo-na/eng/302910.htm

I have both libraries, but I am having trouble figuring out how to implement
either of them in PJSIP (the Intel lib is preferred).  If you've done it
would you mind sharing your files (less the libs)?

It would be great to have PJSIP included the wrappers for these commonly
available products and let us purchase/obtain the libs to link (to avoid the
legal hassles).

Any help is appreciated.

Take care,

Archie

Hi Everyone, By any chance has anyone successfully implemented G729 using the VoiceAge or Intel's IPP libraries? I did notice a few notes in the archives. http://www.voiceage.com/openinit_g729.php http://www.intel.com/cd/software/products/asmo-na/eng/302910.htm I have both libraries, but I am having trouble figuring out how to implement either of them in PJSIP (the Intel lib is preferred). If you've done it would you mind sharing your files (less the libs)? It would be great to have PJSIP included the wrappers for these commonly available products and let us purchase/obtain the libs to link (to avoid the legal hassles). Any help is appreciated. Take care, Archie
GL
Gang Lau
Tue, Jul 8, 2008 9:38 AM

You could check gsm codec implementation of pjmedia-codec.
I used gsm.c as a template and modified it to intel G729FR successfully.
Only need to care SID frames may be from remote side.

regards,
Gang

On Tue, Jul 8, 2008 at 5:37 AM, Archie Rosenblum archie@bbsti.com wrote:

Hi Everyone,

By any chance has anyone successfully implemented G729 using the VoiceAge
or Intel's IPP libraries?  I did notice a few notes in the archives.

http://www.voiceage.com/openinit_g729.php

http://www.intel.com/cd/software/products/asmo-na/eng/302910.htm

I have both libraries, but I am having trouble figuring out how to
implement either of them in PJSIP (the Intel lib is preferred).  If you've
done it would you mind sharing your files (less the libs)?

It would be great to have PJSIP included the wrappers for these commonly
available products and let us purchase/obtain the libs to link (to avoid the
legal hassles).

Any help is appreciated.

Take care,

Archie


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

You could check gsm codec implementation of pjmedia-codec. I used gsm.c as a template and modified it to intel G729FR successfully. Only need to care SID frames may be from remote side. regards, Gang On Tue, Jul 8, 2008 at 5:37 AM, Archie Rosenblum <archie@bbsti.com> wrote: > Hi Everyone, > > > > By any chance has anyone successfully implemented G729 using the VoiceAge > or Intel's IPP libraries? I did notice a few notes in the archives. > > > > http://www.voiceage.com/openinit_g729.php > > http://www.intel.com/cd/software/products/asmo-na/eng/302910.htm > > > > I have both libraries, but I am having trouble figuring out how to > implement either of them in PJSIP (the Intel lib is preferred). If you've > done it would you mind sharing your files (less the libs)? > > > > It would be great to have PJSIP included the wrappers for these commonly > available products and let us purchase/obtain the libs to link (to avoid the > legal hassles). > > > > Any help is appreciated. > > > > Take care, > > Archie > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >
AR
Archie Rosenblum
Tue, Jul 8, 2008 2:39 PM

Thank you for the reply.  Is there any chance you would share your files?  I
have the Intel header and libraries and this is for non-commercial use.

Take care,

Archie


From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org]
On Behalf Of Gang Lau
Sent: Tuesday, July 08, 2008 5:38 AM
To: pjsip list
Subject: Re: [pjsip] G729

You could check gsm codec implementation of pjmedia-codec.
I used gsm.c as a template and modified it to intel G729FR successfully.
Only need to care SID frames may be from remote side.

regards,
Gang

On Tue, Jul 8, 2008 at 5:37 AM, Archie Rosenblum archie@bbsti.com wrote:

Hi Everyone,

By any chance has anyone successfully implemented G729 using the VoiceAge or
Intel's IPP libraries?  I did notice a few notes in the archives.

http://www.voiceage.com/openinit_g729.php

http://www.intel.com/cd/software/products/asmo-na/eng/302910.htm

I have both libraries, but I am having trouble figuring out how to implement
either of them in PJSIP (the Intel lib is preferred).  If you've done it
would you mind sharing your files (less the libs)?

It would be great to have PJSIP included the wrappers for these commonly
available products and let us purchase/obtain the libs to link (to avoid the
legal hassles).

Any help is appreciated.

Take care,

Archie


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Thank you for the reply. Is there any chance you would share your files? I have the Intel header and libraries and this is for non-commercial use. Take care, Archie _____ From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Gang Lau Sent: Tuesday, July 08, 2008 5:38 AM To: pjsip list Subject: Re: [pjsip] G729 You could check gsm codec implementation of pjmedia-codec. I used gsm.c as a template and modified it to intel G729FR successfully. Only need to care SID frames may be from remote side. regards, Gang On Tue, Jul 8, 2008 at 5:37 AM, Archie Rosenblum <archie@bbsti.com> wrote: Hi Everyone, By any chance has anyone successfully implemented G729 using the VoiceAge or Intel's IPP libraries? I did notice a few notes in the archives. http://www.voiceage.com/openinit_g729.php http://www.intel.com/cd/software/products/asmo-na/eng/302910.htm I have both libraries, but I am having trouble figuring out how to implement either of them in PJSIP (the Intel lib is preferred). If you've done it would you mind sharing your files (less the libs)? It would be great to have PJSIP included the wrappers for these commonly available products and let us purchase/obtain the libs to link (to avoid the legal hassles). Any help is appreciated. Take care, Archie _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
GL
Gang Lau
Wed, Jul 9, 2008 5:12 AM

I don't have files in hand. It was job for my old company.

regards,
Gang

On Tue, Jul 8, 2008 at 10:39 PM, Archie Rosenblum archie@bbsti.com wrote:

Thank you for the reply.  Is there any chance you would share your files?
I have the Intel header and libraries and this is for non-commercial use.

Take care,

Archie


From: pjsip-bounces@lists.pjsip.org [mailto:
pjsip-bounces@lists.pjsip.org] *On Behalf Of *Gang Lau
Sent: Tuesday, July 08, 2008 5:38 AM
To: pjsip list
Subject: Re: [pjsip] G729

You could check gsm codec implementation of pjmedia-codec.
I used gsm.c as a template and modified it to intel G729FR successfully.
Only need to care SID frames may be from remote side.

regards,
Gang

On Tue, Jul 8, 2008 at 5:37 AM, Archie Rosenblum archie@bbsti.com wrote:

Hi Everyone,

By any chance has anyone successfully implemented G729 using the VoiceAge
or Intel's IPP libraries?  I did notice a few notes in the archives.

http://www.voiceage.com/openinit_g729.php

http://www.intel.com/cd/software/products/asmo-na/eng/302910.htm

I have both libraries, but I am having trouble figuring out how to
implement either of them in PJSIP (the Intel lib is preferred).  If you've
done it would you mind sharing your files (less the libs)?

It would be great to have PJSIP included the wrappers for these commonly
available products and let us purchase/obtain the libs to link (to avoid the
legal hassles).

Any help is appreciated.

Take care,

Archie


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

I don't have files in hand. It was job for my old company. regards, Gang On Tue, Jul 8, 2008 at 10:39 PM, Archie Rosenblum <archie@bbsti.com> wrote: > Thank you for the reply. Is there any chance you would share your files? > I have the Intel header and libraries and this is for non-commercial use. > > > > Take care, > > Archie > > > ------------------------------ > > *From:* pjsip-bounces@lists.pjsip.org [mailto: > pjsip-bounces@lists.pjsip.org] *On Behalf Of *Gang Lau > *Sent:* Tuesday, July 08, 2008 5:38 AM > *To:* pjsip list > *Subject:* Re: [pjsip] G729 > > > > You could check gsm codec implementation of pjmedia-codec. > I used gsm.c as a template and modified it to intel G729FR successfully. > Only need to care SID frames may be from remote side. > > regards, > Gang > > On Tue, Jul 8, 2008 at 5:37 AM, Archie Rosenblum <archie@bbsti.com> wrote: > > Hi Everyone, > > > > By any chance has anyone successfully implemented G729 using the VoiceAge > or Intel's IPP libraries? I did notice a few notes in the archives. > > > > http://www.voiceage.com/openinit_g729.php > > http://www.intel.com/cd/software/products/asmo-na/eng/302910.htm > > > > I have both libraries, but I am having trouble figuring out how to > implement either of them in PJSIP (the Intel lib is preferred). If you've > done it would you mind sharing your files (less the libs)? > > > > It would be great to have PJSIP included the wrappers for these commonly > available products and let us purchase/obtain the libs to link (to avoid the > legal hassles). > > > > Any help is appreciated. > > > > Take care, > > Archie > > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >
AR
Archie Rosenblum
Wed, Jul 9, 2008 12:23 PM

Thank you for responding.  It would be great to have this stubbed out in the
PJSIP library allowing us to just plug it in when we purchase the libs.

Take care,

Archie


From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org]
On Behalf Of Gang Lau
Sent: Wednesday, July 09, 2008 1:12 AM
To: pjsip list
Subject: Re: [pjsip] G729

I don't have files in hand. It was job for my old company.

regards,
Gang

On Tue, Jul 8, 2008 at 10:39 PM, Archie Rosenblum archie@bbsti.com wrote:

Thank you for the reply.  Is there any chance you would share your files?  I
have the Intel header and libraries and this is for non-commercial use.

Take care,

Archie


From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org]
On Behalf Of Gang Lau
Sent: Tuesday, July 08, 2008 5:38 AM
To: pjsip list
Subject: Re: [pjsip] G729

You could check gsm codec implementation of pjmedia-codec.
I used gsm.c as a template and modified it to intel G729FR successfully.
Only need to care SID frames may be from remote side.

regards,
Gang

On Tue, Jul 8, 2008 at 5:37 AM, Archie Rosenblum archie@bbsti.com wrote:

Hi Everyone,

By any chance has anyone successfully implemented G729 using the VoiceAge or
Intel's IPP libraries?  I did notice a few notes in the archives.

http://www.voiceage.com/openinit_g729.php

http://www.intel.com/cd/software/products/asmo-na/eng/302910.htm

I have both libraries, but I am having trouble figuring out how to implement
either of them in PJSIP (the Intel lib is preferred).  If you've done it
would you mind sharing your files (less the libs)?

It would be great to have PJSIP included the wrappers for these commonly
available products and let us purchase/obtain the libs to link (to avoid the
legal hassles).

Any help is appreciated.

Take care,

Archie


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Thank you for responding. It would be great to have this stubbed out in the PJSIP library allowing us to just plug it in when we purchase the libs. Take care, Archie _____ From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Gang Lau Sent: Wednesday, July 09, 2008 1:12 AM To: pjsip list Subject: Re: [pjsip] G729 I don't have files in hand. It was job for my old company. regards, Gang On Tue, Jul 8, 2008 at 10:39 PM, Archie Rosenblum <archie@bbsti.com> wrote: Thank you for the reply. Is there any chance you would share your files? I have the Intel header and libraries and this is for non-commercial use. Take care, Archie _____ From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Gang Lau Sent: Tuesday, July 08, 2008 5:38 AM To: pjsip list Subject: Re: [pjsip] G729 You could check gsm codec implementation of pjmedia-codec. I used gsm.c as a template and modified it to intel G729FR successfully. Only need to care SID frames may be from remote side. regards, Gang On Tue, Jul 8, 2008 at 5:37 AM, Archie Rosenblum <archie@bbsti.com> wrote: Hi Everyone, By any chance has anyone successfully implemented G729 using the VoiceAge or Intel's IPP libraries? I did notice a few notes in the archives. http://www.voiceage.com/openinit_g729.php http://www.intel.com/cd/software/products/asmo-na/eng/302910.htm I have both libraries, but I am having trouble figuring out how to implement either of them in PJSIP (the Intel lib is preferred). If you've done it would you mind sharing your files (less the libs)? It would be great to have PJSIP included the wrappers for these commonly available products and let us purchase/obtain the libs to link (to avoid the legal hassles). Any help is appreciated. Take care, Archie _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
AR
Archie Rosenblum
Thu, Aug 14, 2008 9:23 PM

Hi Everyone,

By any chance has anyone successfully implemented G729 using the VoiceAge or
Intel's IPP libraries (or others) for win32?  I just can't figure it out.  I
am willing to pay for a correct working header/source and instructions.
It's just beyond my ability.

Take care,

Archie

Hi Everyone, By any chance has anyone successfully implemented G729 using the VoiceAge or Intel's IPP libraries (or others) for win32? I just can't figure it out. I am willing to pay for a correct working header/source and instructions. It's just beyond my ability. Take care, Archie
BP
Benny Prijono
Thu, Aug 14, 2008 10:03 PM

On Thu, Aug 14, 2008 at 10:23 PM, Archie Rosenblum archie@bbsti.com wrote:

Hi Everyone,

By any chance has anyone successfully implemented G729 using the VoiceAge
or Intel's IPP libraries (or others) for win32?  I just can't figure it
out.  I am willing to pay for a correct working header/source and
instructions.  It's just beyond my ability.

We're currently integrating Intel IPP codecs for the next release. It's in
the roadmap (http://trac.pjsip.org/repos/roadmap).

Cheers
Benny

On Thu, Aug 14, 2008 at 10:23 PM, Archie Rosenblum <archie@bbsti.com> wrote: > Hi Everyone, > > > > By any chance has anyone successfully implemented G729 using the VoiceAge > or Intel's IPP libraries (or others) for win32? I just can't figure it > out. I am willing to pay for a correct working header/source and > instructions. It's just beyond my ability. > > We're currently integrating Intel IPP codecs for the next release. It's in the roadmap (http://trac.pjsip.org/repos/roadmap). Cheers Benny
AR
Archie Rosenblum
Thu, Aug 14, 2008 11:17 PM

Thank you for the heads-up, Benny.  This product really is terrific.


From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org]
On Behalf Of Benny Prijono
Sent: Thursday, August 14, 2008 6:03 PM
To: pjsip list
Subject: Re: [pjsip] G729

On Thu, Aug 14, 2008 at 10:23 PM, Archie Rosenblum archie@bbsti.com wrote:

Hi Everyone,

By any chance has anyone successfully implemented G729 using the VoiceAge or
Intel's IPP libraries (or others) for win32?  I just can't figure it out.  I
am willing to pay for a correct working header/source and instructions.
It's just beyond my ability.

We're currently integrating Intel IPP codecs for the next release. It's in
the roadmap (http://trac.pjsip.org/repos/roadmap).

Cheers
Benny

Thank you for the heads-up, Benny. This product really is terrific. _____ From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Benny Prijono Sent: Thursday, August 14, 2008 6:03 PM To: pjsip list Subject: Re: [pjsip] G729 On Thu, Aug 14, 2008 at 10:23 PM, Archie Rosenblum <archie@bbsti.com> wrote: Hi Everyone, By any chance has anyone successfully implemented G729 using the VoiceAge or Intel's IPP libraries (or others) for win32? I just can't figure it out. I am willing to pay for a correct working header/source and instructions. It's just beyond my ability. We're currently integrating Intel IPP codecs for the next release. It's in the roadmap (http://trac.pjsip.org/repos/roadmap). Cheers Benny
FP
Fabio Pietrosanti (naif)
Fri, Aug 15, 2008 1:09 PM

Benny Prijono wrote:

We're currently integrating Intel IPP codecs for the next release.
It's in the roadmap (http://trac.pjsip.org/repos/roadmap).

This mean that the encoding/decoding routines will done in by the IPP
code itself and not by the soft implementation of the same codec
available inside pjsip.

I am wondering if the very same approach could be done for the APS
available on S60 that's a code that manage the encoding/decoding
directly interfacing with the audio.

Because this would mean providing directly in "hardware" all the codes
(including the tipically non-royalty-free one like AMR) available
natively and for free on the Nokia S60 platform.

It would be a strong enanchment for the pjsip support on the "mobile"
platform environment representing the 76% of the smartphone market!

It could be feasible or not from the pjsip design point of view to have
the APS not only manage the audio but also directly the codec like for
the IPP?

Fabio

Benny Prijono wrote: > We're currently integrating Intel IPP codecs for the next release. > It's in the roadmap (http://trac.pjsip.org/repos/roadmap). This mean that the encoding/decoding routines will done in by the IPP code itself and not by the soft implementation of the same codec available inside pjsip. I am wondering if the very same approach could be done for the APS available on S60 that's a code that manage the encoding/decoding directly interfacing with the audio. Because this would mean providing directly in "hardware" all the codes (including the tipically non-royalty-free one like AMR) available natively and for free on the Nokia S60 platform. It would be a strong enanchment for the pjsip support on the "mobile" platform environment representing the 76% of the smartphone market! It could be feasible or not from the pjsip design point of view to have the APS not only manage the audio but also directly the codec like for the IPP? Fabio
NI
Nanang Izzuddin
Fri, Aug 15, 2008 3:15 PM

Hi Fabio,

AFAIK, S60's APS is more sound device library rather than codec
library, while IPP codecs is purely codecs implementation library. So
I think we cannot use the same approach. As Benny has ever mentioned,
it is possible to use APS codecs in pjmedia, but it will lack some
pjmedia features (i.e: conference and other PCM level media processing
in pjmedia).

It is possible to create S60 native/hardware codec using same approach
as in IPP codecs wrapping as long as there is 'pure' codec API in
S60/Symbian. (There is CMMFCodec class that seems suit this. Not sure
if it is working in S60 3rd ed.)

Regards,
nanang

On 15/08/2008, Fabio Pietrosanti (naif) lists@infosecurity.ch wrote:

Benny Prijono wrote:

We're currently integrating Intel IPP codecs for the next release.
It's in the roadmap (http://trac.pjsip.org/repos/roadmap).

This mean that the encoding/decoding routines will done in by the IPP
code itself and not by the soft implementation of the same codec
available inside pjsip.

I am wondering if the very same approach could be done for the APS
available on S60 that's a code that manage the encoding/decoding
directly interfacing with the audio.

Because this would mean providing directly in "hardware" all the codes
(including the tipically non-royalty-free one like AMR) available
natively and for free on the Nokia S60 platform.

It would be a strong enanchment for the pjsip support on the "mobile"
platform environment representing the 76% of the smartphone market!

It could be feasible or not from the pjsip design point of view to have
the APS not only manage the audio but also directly the codec like for
the IPP?

Fabio


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Hi Fabio, AFAIK, S60's APS is more sound device library rather than codec library, while IPP codecs is purely codecs implementation library. So I think we cannot use the same approach. As Benny has ever mentioned, it is possible to use APS codecs in pjmedia, but it will lack some pjmedia features (i.e: conference and other PCM level media processing in pjmedia). It is possible to create S60 native/hardware codec using same approach as in IPP codecs wrapping as long as there is 'pure' codec API in S60/Symbian. (There is CMMFCodec class that seems suit this. Not sure if it is working in S60 3rd ed.) Regards, nanang On 15/08/2008, Fabio Pietrosanti (naif) <lists@infosecurity.ch> wrote: > Benny Prijono wrote: > > We're currently integrating Intel IPP codecs for the next release. > > It's in the roadmap (http://trac.pjsip.org/repos/roadmap). > > This mean that the encoding/decoding routines will done in by the IPP > code itself and not by the soft implementation of the same codec > available inside pjsip. > > I am wondering if the very same approach could be done for the APS > available on S60 that's a code that manage the encoding/decoding > directly interfacing with the audio. > > Because this would mean providing directly in "hardware" all the codes > (including the tipically non-royalty-free one like AMR) available > natively and for free on the Nokia S60 platform. > > It would be a strong enanchment for the pjsip support on the "mobile" > platform environment representing the 76% of the smartphone market! > > It could be feasible or not from the pjsip design point of view to have > the APS not only manage the audio but also directly the codec like for > the IPP? > > Fabio > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >
FP
Fabio Pietrosanti (naif)
Thu, Aug 21, 2008 4:19 PM

Nanang Izzuddin wrote:

Hi Fabio,

AFAIK, S60's APS is more sound device library rather than codec
library, while IPP codecs is purely codecs implementation library. So
I think we cannot use the same approach. As Benny has ever mentioned,
it is possible to use APS codecs in pjmedia, but it will lack some
pjmedia features (i.e: conference and other PCM level media processing
in pjmedia).

It is possible to create S60 native/hardware codec using same approach
as in IPP codecs wrapping as long as there is 'pure' codec API in
S60/Symbian. (There is CMMFCodec class that seems suit this. Not sure
if it is working in S60 3rd ed.)

That's true but unfortunately on the most widespread devices, like
(Nokia and Samsung) Symbian 9.x S60 3rd edition the CMMFCodec it's only
available trough some SDK plug-in, not on all FPx releases and not on
all phones.

That's the reason why i strongly suggest to use APS, because it's most
widely available on the phones, even where CMMFCodec is not.

The theory:
http://www.symbian.com/developer/techlib/v9.2docs/doc_source/reference/reference-cpp/MMF/CMMFCodecClass.html

The practice :( :
http://wiki.forum.nokia.com/index.php/Codecs
http://wiki.forum.nokia.com/index.php/TSS000457_-_Configuring_CMMFCodec_for_encoding_audio_to_AMR
http://wiki.forum.nokia.com/index.php/Encoding_and_Decoding_using_MMF_based_Codec(CMMFCodec)

Fabio

Nanang Izzuddin wrote: > Hi Fabio, > > AFAIK, S60's APS is more sound device library rather than codec > library, while IPP codecs is purely codecs implementation library. So > I think we cannot use the same approach. As Benny has ever mentioned, > it is possible to use APS codecs in pjmedia, but it will lack some > pjmedia features (i.e: conference and other PCM level media processing > in pjmedia). > > It is possible to create S60 native/hardware codec using same approach > as in IPP codecs wrapping as long as there is 'pure' codec API in > S60/Symbian. (There is CMMFCodec class that seems suit this. Not sure > if it is working in S60 3rd ed.) > That's true but unfortunately on the most widespread devices, like (Nokia and Samsung) Symbian 9.x S60 3rd edition the CMMFCodec it's only available trough some SDK plug-in, not on all FPx releases and not on all phones. That's the reason why i strongly suggest to use APS, because it's most widely available on the phones, even where CMMFCodec is not. The theory: http://www.symbian.com/developer/techlib/v9.2docs/doc_source/reference/reference-cpp/MMF/CMMFCodecClass.html The practice :( : http://wiki.forum.nokia.com/index.php/Codecs http://wiki.forum.nokia.com/index.php/TSS000457_-_Configuring_CMMFCodec_for_encoding_audio_to_AMR http://wiki.forum.nokia.com/index.php/Encoding_and_Decoding_using_MMF_based_Codec(_CMMFCodec_) Fabio
MK
Manoj Kumar Joshi
Thu, Aug 21, 2008 4:48 PM

Dear Fabio,

Do you have an idea on what Nokia E SIP client uses for sound and
codecs?...is it it APS?...

Regards,

Manoj

-----Original Message-----
From: pjsip-bounces@lists.pjsip.org
[mailto:pjsip-bounces@lists.pjsip.org]On Behalf Of Fabio Pietrosanti
(naif)
Sent: Thursday, August 21, 2008 9:49 PM
To: pjsip list
Subject: Re: [pjsip] G729

Nanang Izzuddin wrote:

Hi Fabio,

AFAIK, S60's APS is more sound device library rather than codec
library, while IPP codecs is purely codecs implementation library. So
I think we cannot use the same approach. As Benny has ever mentioned,
it is possible to use APS codecs in pjmedia, but it will lack some
pjmedia features (i.e: conference and other PCM level media processing
in pjmedia).

It is possible to create S60 native/hardware codec using same approach
as in IPP codecs wrapping as long as there is 'pure' codec API in
S60/Symbian. (There is CMMFCodec class that seems suit this. Not sure
if it is working in S60 3rd ed.)

That's true but unfortunately on the most widespread devices, like
(Nokia and Samsung) Symbian 9.x S60 3rd edition the CMMFCodec it's only
available trough some SDK plug-in, not on all FPx releases and not on
all phones.

That's the reason why i strongly suggest to use APS, because it's most
widely available on the phones, even where CMMFCodec is not.

The theory:
http://www.symbian.com/developer/techlib/v9.2docs/doc_source/reference/refer
ence-cpp/MMF/CMMFCodecClass.html

The practice :( :
http://wiki.forum.nokia.com/index.php/Codecs
http://wiki.forum.nokia.com/index.php/TSS000457_-Configuring_CMMFCodec_for
encoding_audio_to_AMR
http://wiki.forum.nokia.com/index.php/Encoding_and_Decoding_using_MMF_based_
Codec(CMMFCodec)

Fabio


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

--
Internal Virus Database is out-of-date.
Checked by AVG.
Version: 7.5.524 / Virus Database: 270.6.3/1612 - Release Date: 8/14/2008
6:03 PM

Dear Fabio, Do you have an idea on what Nokia E SIP client uses for sound and codecs?...is it it APS?... Regards, Manoj -----Original Message----- From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org]On Behalf Of Fabio Pietrosanti (naif) Sent: Thursday, August 21, 2008 9:49 PM To: pjsip list Subject: Re: [pjsip] G729 Nanang Izzuddin wrote: > Hi Fabio, > > AFAIK, S60's APS is more sound device library rather than codec > library, while IPP codecs is purely codecs implementation library. So > I think we cannot use the same approach. As Benny has ever mentioned, > it is possible to use APS codecs in pjmedia, but it will lack some > pjmedia features (i.e: conference and other PCM level media processing > in pjmedia). > > It is possible to create S60 native/hardware codec using same approach > as in IPP codecs wrapping as long as there is 'pure' codec API in > S60/Symbian. (There is CMMFCodec class that seems suit this. Not sure > if it is working in S60 3rd ed.) > That's true but unfortunately on the most widespread devices, like (Nokia and Samsung) Symbian 9.x S60 3rd edition the CMMFCodec it's only available trough some SDK plug-in, not on all FPx releases and not on all phones. That's the reason why i strongly suggest to use APS, because it's most widely available on the phones, even where CMMFCodec is not. The theory: http://www.symbian.com/developer/techlib/v9.2docs/doc_source/reference/refer ence-cpp/MMF/CMMFCodecClass.html The practice :( : http://wiki.forum.nokia.com/index.php/Codecs http://wiki.forum.nokia.com/index.php/TSS000457_-_Configuring_CMMFCodec_for_ encoding_audio_to_AMR http://wiki.forum.nokia.com/index.php/Encoding_and_Decoding_using_MMF_based_ Codec(_CMMFCodec_) Fabio _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org -- Internal Virus Database is out-of-date. Checked by AVG. Version: 7.5.524 / Virus Database: 270.6.3/1612 - Release Date: 8/14/2008 6:03 PM
FP
Fabio Pietrosanti (naif)
Fri, Aug 22, 2008 5:20 AM

Manoj Kumar Joshi wrote:

Dear Fabio,

Do you have an idea on what Nokia E SIP client uses for sound and
codecs?...is it it APS?...

The devil demostrate itself trough the Nokia built-in SIP client.
PJSIP must became even better on S60 platform, and it can!

The built-in SIP clienti use, as far as i remember, AMR-WB at 12kb and
for the sound i don't know because it'a a built-in ROM application and
so maybe could even use CMMFDevSound directly for what we know.

For third party application APS it's the best choice for all S60 Symbian
9.x FP0, FP1, FP2 releases.
From FP3 the new VoIP Audio Services API must be used, but there are
still no FP3 release out-of-the-market and only the first FP2 are
getting out during this months.

Fabio

Manoj Kumar Joshi wrote: > Dear Fabio, > > Do you have an idea on what Nokia E SIP client uses for sound and > codecs?...is it it APS?... > The devil demostrate itself trough the Nokia built-in SIP client. PJSIP must became even better on S60 platform, and it can! The built-in SIP clienti use, as far as i remember, AMR-WB at 12kb and for the sound i don't know because it'a a built-in ROM application and so maybe could even use CMMFDevSound directly for what we know. For third party application APS it's the best choice for all S60 Symbian 9.x FP0, FP1, FP2 releases. From FP3 the new VoIP Audio Services API must be used, but there are still no FP3 release out-of-the-market and only the first FP2 are getting out during this months. Fabio
AR
Archie Rosenblum
Mon, Aug 25, 2008 9:42 PM

Has anyone been able to build with the IPP static libraries for Win32?  If
so, would you please provide instructions?

Thank you,

Archie

Has anyone been able to build with the IPP static libraries for Win32? If so, would you please provide instructions? Thank you, Archie
SG
Sebastian Groosman
Wed, Sep 3, 2008 9:06 AM

Hi,

I'm trying to get VoiceAge g729 working on a windows mobile smartphone,
without success...

Since Intel IPP has no libraries for that platform, I'm using the
VoiceAge libraries for this platform.

Has anybody figured out how to get this working?

I've included my files... maybe I'm just missing something here.

Thanks in advance,

Sebastian

From: pjsip-bounces@lists.pjsip.org
[mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Archie Rosenblum
Sent: Friday, August 15, 2008 1:18 AM
To: pjsip list
Subject: Re: [pjsip] G729

Thank you for the heads-up, Benny.  This product really is terrific.


From: pjsip-bounces@lists.pjsip.org
[mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Benny Prijono
Sent: Thursday, August 14, 2008 6:03 PM
To: pjsip list
Subject: Re: [pjsip] G729

On Thu, Aug 14, 2008 at 10:23 PM, Archie Rosenblum archie@bbsti.com
wrote:

Hi Everyone,

 

By any chance has anyone successfully implemented G729 using the

VoiceAge or Intel's IPP libraries (or others) for win32?  I just can't
figure it out.  I am willing to pay for a correct working header/source
and instructions.  It's just beyond my ability.

We're currently integrating Intel IPP codecs for the next release. It's
in the roadmap (http://trac.pjsip.org/repos/roadmap).

Cheers
Benny

Hi, I'm trying to get VoiceAge g729 working on a windows mobile smartphone, without success... Since Intel IPP has no libraries for that platform, I'm using the VoiceAge libraries for this platform. Has anybody figured out how to get this working? I've included my files... maybe I'm just missing something here. Thanks in advance, Sebastian From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Archie Rosenblum Sent: Friday, August 15, 2008 1:18 AM To: pjsip list Subject: Re: [pjsip] G729 Thank you for the heads-up, Benny. This product really is terrific. ________________________________ From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Benny Prijono Sent: Thursday, August 14, 2008 6:03 PM To: pjsip list Subject: Re: [pjsip] G729 On Thu, Aug 14, 2008 at 10:23 PM, Archie Rosenblum <archie@bbsti.com> wrote: Hi Everyone, By any chance has anyone successfully implemented G729 using the VoiceAge or Intel's IPP libraries (or others) for win32? I just can't figure it out. I am willing to pay for a correct working header/source and instructions. It's just beyond my ability. We're currently integrating Intel IPP codecs for the next release. It's in the roadmap (http://trac.pjsip.org/repos/roadmap). Cheers Benny
NI
Nanang Izzuddin
Wed, Sep 3, 2008 2:14 PM

Hi,

Could you specify more detail about the problem?

Regards,
nanang

On 03/09/2008, Sebastian Groosman Sebastian.Groosman@indicia.nl wrote:

Hi,

I'm trying to get VoiceAge g729 working on a windows mobile smartphone,
without success…

Since Intel IPP has no libraries for that platform, I'm using the VoiceAge
libraries for this platform.

Has anybody figured out how to get this working?

I've included my files… maybe I'm just missing something here.

Thanks in advance,

Sebastian

From: pjsip-bounces@lists.pjsip.org
[mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Archie
Rosenblum
Sent: Friday, August 15, 2008 1:18 AM
To: pjsip list
Subject: Re: [pjsip] G729

Thank you for the heads-up, Benny.  This product really is terrific.


From: pjsip-bounces@lists.pjsip.org
[mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Benny
Prijono
Sent: Thursday, August 14, 2008 6:03 PM
To: pjsip list
Subject: Re: [pjsip] G729

On Thu, Aug 14, 2008 at 10:23 PM, Archie Rosenblum archie@bbsti.com wrote:

Hi Everyone,

By any chance has anyone successfully implemented G729 using the VoiceAge or
Intel's IPP libraries (or others) for win32?  I just can't figure it out.  I
am willing to pay for a correct working header/source and instructions.
It's just beyond my ability.

We're currently integrating Intel IPP codecs for the next release. It's in
the roadmap (http://trac.pjsip.org/repos/roadmap).

Cheers
Benny


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Hi, Could you specify more detail about the problem? Regards, nanang On 03/09/2008, Sebastian Groosman <Sebastian.Groosman@indicia.nl> wrote: > > > > Hi, > > > > I'm trying to get VoiceAge g729 working on a windows mobile smartphone, > without success… > > Since Intel IPP has no libraries for that platform, I'm using the VoiceAge > libraries for this platform. > > > > Has anybody figured out how to get this working? > > I've included my files… maybe I'm just missing something here. > > > > Thanks in advance, > > Sebastian > > > > > > > From: pjsip-bounces@lists.pjsip.org > [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Archie > Rosenblum > Sent: Friday, August 15, 2008 1:18 AM > To: pjsip list > Subject: Re: [pjsip] G729 > > > > Thank you for the heads-up, Benny. This product really is terrific. > > > ________________________________ > > > From: pjsip-bounces@lists.pjsip.org > [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Benny > Prijono > Sent: Thursday, August 14, 2008 6:03 PM > To: pjsip list > Subject: Re: [pjsip] G729 > > > > > On Thu, Aug 14, 2008 at 10:23 PM, Archie Rosenblum <archie@bbsti.com> wrote: > > > > Hi Everyone, > > > > By any chance has anyone successfully implemented G729 using the VoiceAge or > Intel's IPP libraries (or others) for win32? I just can't figure it out. I > am willing to pay for a correct working header/source and instructions. > It's just beyond my ability. > > > > We're currently integrating Intel IPP codecs for the next release. It's in > the roadmap (http://trac.pjsip.org/repos/roadmap). > > > Cheers > Benny > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > >
SG
Sebastian Groosman
Fri, Sep 5, 2008 12:30 PM

Hi,

I've had the problem that no sound was heard at all with the VoiceAge
G729 libs.
It appeared that for the decoding part I needed a local buffer and
prepend it with a "2".
For the encoding the output buffer and size were the problem.
Both these problems are mostly solved now. (I've included the files)

The only problem I have left, is that the encoded sound sounds metallic.

I followed most of the rules concerning CPU load on windows mobile
(see post on "how to reduce CPU load and improve voice quality on mobile
device FR" and http://trac.pjsip.org/repos/wiki/FAQ#cpu)
Now my G711 and other codes' sound quality is a lot better but the
encoded sound is still metallic.

Any suggestions?

Sebastian

-----Original Message-----
From: pjsip-bounces@lists.pjsip.org
[mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Nanang Izzuddin
Sent: Wednesday, September 03, 2008 4:15 PM
To: pjsip list
Subject: Re: [pjsip] G729

Hi,

Could you specify more detail about the problem?

Regards,
nanang

On 03/09/2008, Sebastian Groosman Sebastian.Groosman@indicia.nl wrote:

Hi,

I'm trying to get VoiceAge g729 working on a windows mobile

smartphone,

without success...

Since Intel IPP has no libraries for that platform, I'm using the

VoiceAge

libraries for this platform.

Has anybody figured out how to get this working?

I've included my files... maybe I'm just missing something here.

Thanks in advance,

Sebastian

From: pjsip-bounces@lists.pjsip.org
[mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Archie
Rosenblum
Sent: Friday, August 15, 2008 1:18 AM
To: pjsip list
Subject: Re: [pjsip] G729

Thank you for the heads-up, Benny.  This product really is terrific.


From: pjsip-bounces@lists.pjsip.org
[mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Benny
Prijono
Sent: Thursday, August 14, 2008 6:03 PM
To: pjsip list
Subject: Re: [pjsip] G729

On Thu, Aug 14, 2008 at 10:23 PM, Archie Rosenblum archie@bbsti.com

wrote:

Hi Everyone,

By any chance has anyone successfully implemented G729 using the

VoiceAge or

Intel's IPP libraries (or others) for win32?  I just can't figure it

out.  I

am willing to pay for a correct working header/source and

instructions.

It's just beyond my ability.

We're currently integrating Intel IPP codecs for the next release.

It's in

Hi, I've had the problem that no sound was heard at all with the VoiceAge G729 libs. It appeared that for the decoding part I needed a local buffer and prepend it with a "2". For the encoding the output buffer and size were the problem. Both these problems are mostly solved now. (I've included the files) The only problem I have left, is that the encoded sound sounds metallic. I followed most of the rules concerning CPU load on windows mobile (see post on "how to reduce CPU load and improve voice quality on mobile device FR" and http://trac.pjsip.org/repos/wiki/FAQ#cpu) Now my G711 and other codes' sound quality is a lot better but the encoded sound is still metallic. Any suggestions? Sebastian -----Original Message----- From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Nanang Izzuddin Sent: Wednesday, September 03, 2008 4:15 PM To: pjsip list Subject: Re: [pjsip] G729 Hi, Could you specify more detail about the problem? Regards, nanang On 03/09/2008, Sebastian Groosman <Sebastian.Groosman@indicia.nl> wrote: > > > > Hi, > > > > I'm trying to get VoiceAge g729 working on a windows mobile smartphone, > without success... > > Since Intel IPP has no libraries for that platform, I'm using the VoiceAge > libraries for this platform. > > > > Has anybody figured out how to get this working? > > I've included my files... maybe I'm just missing something here. > > > > Thanks in advance, > > Sebastian > > > > > > > From: pjsip-bounces@lists.pjsip.org > [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Archie > Rosenblum > Sent: Friday, August 15, 2008 1:18 AM > To: pjsip list > Subject: Re: [pjsip] G729 > > > > Thank you for the heads-up, Benny. This product really is terrific. > > > ________________________________ > > > From: pjsip-bounces@lists.pjsip.org > [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Benny > Prijono > Sent: Thursday, August 14, 2008 6:03 PM > To: pjsip list > Subject: Re: [pjsip] G729 > > > > > On Thu, Aug 14, 2008 at 10:23 PM, Archie Rosenblum <archie@bbsti.com> wrote: > > > > Hi Everyone, > > > > By any chance has anyone successfully implemented G729 using the VoiceAge or > Intel's IPP libraries (or others) for win32? I just can't figure it out. I > am willing to pay for a correct working header/source and instructions. > It's just beyond my ability. > > > > We're currently integrating Intel IPP codecs for the next release. It's in > the roadmap (http://trac.pjsip.org/repos/roadmap). > > > Cheers > Benny > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
NI
Nanang Izzuddin
Fri, Sep 5, 2008 4:05 PM

Hi,
Please try with the following setting first:

  • frm_per_pkt = 1
  • VAD disabled
    make sure everything ok with this setting, then move on with frm_per_pkt =
    2, if everything ok then deal with VAD enabled.

Some notes about the code:

  • in encode(), it seems you ignore the first byte output of VoiceAge G729
    encoder. If that first byte contains frame type info, it shouldn't be
    ignored, especially when VAD is enabled, since the encoder may return SID
    (silence frame) or DTX (discontinuous transmission) or speech frame. If you
    treat SID and DTX frame as speech frame, decoder may fail or produce noise.
  • silence detector is unnecessary since G729 already has built-in VAD.
  • in encode(), the pcm_in += 2*SAMPLES_PER_FRAME, shouldn't it be just
    pcm_in += SAMPLES_PER_FRAME?
  • in decode(), it doesn't seem that SID frame is handled very well: if
    (input->size < L_PACKED_G729A) return PJMEDIA_CODEC_EFRMTOOSHORT;
    Again, if the first byte actually specifies the frame type, instead of
    returning non-PJ_SUCCESS it should be decoded normally (e.g: with first
    byte/frame type = SID)

Regards,
nanang

On Fri, Sep 5, 2008 at 7:30 PM, Sebastian Groosman <
Sebastian.Groosman@indicia.nl> wrote:

Hi,

I've had the problem that no sound was heard at all with the VoiceAge
G729 libs.
It appeared that for the decoding part I needed a local buffer and
prepend it with a "2".
For the encoding the output buffer and size were the problem.
Both these problems are mostly solved now. (I've included the files)

The only problem I have left, is that the encoded sound sounds metallic.

I followed most of the rules concerning CPU load on windows mobile
(see post on "how to reduce CPU load and improve voice quality on mobile
device FR" and http://trac.pjsip.org/repos/wiki/FAQ#cpu)
Now my G711 and other codes' sound quality is a lot better but the
encoded sound is still metallic.

Any suggestions?

Sebastian

-----Original Message-----
From: pjsip-bounces@lists.pjsip.org
[mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Nanang Izzuddin
Sent: Wednesday, September 03, 2008 4:15 PM
To: pjsip list
Subject: Re: [pjsip] G729

Hi,

Could you specify more detail about the problem?

Regards,
nanang

On 03/09/2008, Sebastian Groosman Sebastian.Groosman@indicia.nl wrote:

Hi,

I'm trying to get VoiceAge g729 working on a windows mobile

smartphone,

without success...

Since Intel IPP has no libraries for that platform, I'm using the

VoiceAge

libraries for this platform.

Has anybody figured out how to get this working?

I've included my files... maybe I'm just missing something here.

Thanks in advance,

Sebastian

From: pjsip-bounces@lists.pjsip.org
[mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Archie
Rosenblum
Sent: Friday, August 15, 2008 1:18 AM
To: pjsip list
Subject: Re: [pjsip] G729

Thank you for the heads-up, Benny.  This product really is terrific.


From: pjsip-bounces@lists.pjsip.org
[mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Benny
Prijono
Sent: Thursday, August 14, 2008 6:03 PM
To: pjsip list
Subject: Re: [pjsip] G729

On Thu, Aug 14, 2008 at 10:23 PM, Archie Rosenblum archie@bbsti.com

wrote:

Hi Everyone,

By any chance has anyone successfully implemented G729 using the

VoiceAge or

Intel's IPP libraries (or others) for win32?  I just can't figure it

out.  I

am willing to pay for a correct working header/source and

instructions.

It's just beyond my ability.

We're currently integrating Intel IPP codecs for the next release.

It's in

Hi, Please try with the following setting first: - frm_per_pkt = 1 - VAD disabled make sure everything ok with this setting, then move on with frm_per_pkt = 2, if everything ok then deal with VAD enabled. Some notes about the code: - in encode(), it seems you ignore the first byte output of VoiceAge G729 encoder. If that first byte contains frame type info, it shouldn't be ignored, especially when VAD is enabled, since the encoder may return SID (silence frame) or DTX (discontinuous transmission) or speech frame. If you treat SID and DTX frame as speech frame, decoder may fail or produce noise. - silence detector is unnecessary since G729 already has built-in VAD. - in encode(), the pcm_in += 2*SAMPLES_PER_FRAME, shouldn't it be just pcm_in += SAMPLES_PER_FRAME? - in decode(), it doesn't seem that SID frame is handled very well: if (input->size < L_PACKED_G729A) return PJMEDIA_CODEC_EFRMTOOSHORT; Again, if the first byte actually specifies the frame type, instead of returning non-PJ_SUCCESS it should be decoded normally (e.g: with first byte/frame type = SID) Regards, nanang On Fri, Sep 5, 2008 at 7:30 PM, Sebastian Groosman < Sebastian.Groosman@indicia.nl> wrote: > Hi, > > I've had the problem that no sound was heard at all with the VoiceAge > G729 libs. > It appeared that for the decoding part I needed a local buffer and > prepend it with a "2". > For the encoding the output buffer and size were the problem. > Both these problems are mostly solved now. (I've included the files) > > The only problem I have left, is that the encoded sound sounds metallic. > > I followed most of the rules concerning CPU load on windows mobile > (see post on "how to reduce CPU load and improve voice quality on mobile > device FR" and http://trac.pjsip.org/repos/wiki/FAQ#cpu) > Now my G711 and other codes' sound quality is a lot better but the > encoded sound is still metallic. > > Any suggestions? > > Sebastian > > > > -----Original Message----- > From: pjsip-bounces@lists.pjsip.org > [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Nanang Izzuddin > Sent: Wednesday, September 03, 2008 4:15 PM > To: pjsip list > Subject: Re: [pjsip] G729 > > Hi, > > Could you specify more detail about the problem? > > Regards, > nanang > > > On 03/09/2008, Sebastian Groosman <Sebastian.Groosman@indicia.nl> wrote: > > > > > > > > Hi, > > > > > > > > I'm trying to get VoiceAge g729 working on a windows mobile > smartphone, > > without success... > > > > Since Intel IPP has no libraries for that platform, I'm using the > VoiceAge > > libraries for this platform. > > > > > > > > Has anybody figured out how to get this working? > > > > I've included my files... maybe I'm just missing something here. > > > > > > > > Thanks in advance, > > > > Sebastian > > > > > > > > > > > > > > From: pjsip-bounces@lists.pjsip.org > > [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Archie > > Rosenblum > > Sent: Friday, August 15, 2008 1:18 AM > > To: pjsip list > > Subject: Re: [pjsip] G729 > > > > > > > > Thank you for the heads-up, Benny. This product really is terrific. > > > > > > ________________________________ > > > > > > From: pjsip-bounces@lists.pjsip.org > > [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Benny > > Prijono > > Sent: Thursday, August 14, 2008 6:03 PM > > To: pjsip list > > Subject: Re: [pjsip] G729 > > > > > > > > > > On Thu, Aug 14, 2008 at 10:23 PM, Archie Rosenblum <archie@bbsti.com> > wrote: > > > > > > > > Hi Everyone, > > > > > > > > By any chance has anyone successfully implemented G729 using the > VoiceAge or > > Intel's IPP libraries (or others) for win32? I just can't figure it > out. I > > am willing to pay for a correct working header/source and > instructions. > > It's just beyond my ability. > > > > > > > > We're currently integrating Intel IPP codecs for the next release. > It's in > > the roadmap (http://trac.pjsip.org/repos/roadmap). > > > > > > Cheers > > Benny > > _______________________________________________ > > Visit our blog: http://blog.pjsip.org > > > > pjsip mailing list > > pjsip@lists.pjsip.org > > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >
SG
Sebastian Groosman
Mon, Sep 8, 2008 9:14 AM

Hi Nanang,

Thanks a lot for your input!!

I've handled the items and the sound is crystal clear now J.

There is only one thing I see in the logs... a massive amount of
underflow errors.

Any suggestions on that?

Greets,

Sebastian

11:02:34.000  strm002F4254  JB shrinking 1 frame(s), size=11

11:02:34.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:34.000  strm002F4254  JB shrinking 1 frame(s), size=12

11:02:34.000  strm002F4254  jb updated(1), prefetch=9, size=14

11:02:34.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:35.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:35.000  strm002F4254  JB shrinking 1 frame(s), size=11

11:02:35.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:35.000  strm002F4254  JB shrinking 1 frame(s), size=10

11:02:35.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:35.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:35.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:35.000  strm002F4254  JB shrinking 1 frame(s), size=11

11:02:36.000  strm002F4254  JB shrinking 1 frame(s), size=10

11:02:36.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:36.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:36.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:36.000  strm002F4254  JB shrinking 1 frame(s), size=11

11:02:36.000  strm002F4254  jb updated(2), prefetch=12, size=13

11:02:37.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:37.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:37.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:37.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:37.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:37.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:38.000  strm002F4254  JB shrinking 1 frame(s), size=14

11:02:38.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:38.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:38.000  strm002F4254  JB shrinking 1 frame(s), size=13

11:02:38.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:38.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:38.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:39.000  strm002F4254  JB shrinking 1 frame(s), size=14

11:02:39.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:39.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:39.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:39.000  strm002F4254  JB shrinking 1 frame(s), size=13

11:02:40.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:40.000  strm002F4254  JB shrinking 1 frame(s), size=14

11:02:40.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:40.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:40.000  strm002F4254  JB shrinking 1 frame(s), size=13

11:02:40.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:40.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:41.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:41.000  strm002F4254  JB shrinking 1 frame(s), size=14

11:02:41.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:41.000  strm002F4254  JB shrinking 1 frame(s), size=13

11:02:41.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:41.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:42.000  strm002F4254  JB shrinking 1 frame(s), size=14

11:02:42.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:42.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:42.000  strm002F4254  JB shrinking 1 frame(s), size=13

11:02:42.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:42.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:42.000  strm002F4254  JB shrinking 1 frame(s), size=14

11:02:42.000  strm002F4254  jb updated(1), prefetch=10, size=16

11:02:42.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

11:02:42.000  Master/sound  Underflow, buf_cnt=0, will generate 1
frame

From: pjsip-bounces@lists.pjsip.org
[mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Nanang Izzuddin
Sent: Friday, September 05, 2008 6:06 PM
To: pjsip list
Subject: Re: [pjsip] G729

Hi,

Please try with the following setting first:

  • frm_per_pkt = 1

  • VAD disabled

make sure everything ok with this setting, then move on with frm_per_pkt
= 2, if everything ok then deal with VAD enabled.

Some notes about the code:

  • in encode(), it seems you ignore the first byte output of VoiceAge
    G729 encoder. If that first byte contains frame type info, it shouldn't
    be ignored, especially when VAD is enabled, since the encoder may return
    SID (silence frame) or DTX (discontinuous transmission) or speech frame.
    If you treat SID and DTX frame as speech frame, decoder may fail or
    produce noise.

  • silence detector is unnecessary since G729 already has built-in VAD.

  • in encode(), the pcm_in += 2*SAMPLES_PER_FRAME, shouldn't it be just
    pcm_in += SAMPLES_PER_FRAME?

  • in decode(), it doesn't seem that SID frame is handled very well: if
    (input->size < L_PACKED_G729A) return PJMEDIA_CODEC_EFRMTOOSHORT;

Again, if the first byte actually specifies the frame type, instead of
returning non-PJ_SUCCESS it should be decoded normally (e.g: with first
byte/frame type = SID)

Regards,

nanang

On Fri, Sep 5, 2008 at 7:30 PM, Sebastian Groosman
Sebastian.Groosman@indicia.nl wrote:

Hi,

I've had the problem that no sound was heard at all with the VoiceAge
G729 libs.
It appeared that for the decoding part I needed a local buffer and
prepend it with a "2".
For the encoding the output buffer and size were the problem.
Both these problems are mostly solved now. (I've included the files)

The only problem I have left, is that the encoded sound sounds metallic.

I followed most of the rules concerning CPU load on windows mobile
(see post on "how to reduce CPU load and improve voice quality on mobile
device FR" and http://trac.pjsip.org/repos/wiki/FAQ#cpu)
Now my G711 and other codes' sound quality is a lot better but the
encoded sound is still metallic.

Any suggestions?

Sebastian

-----Original Message-----
From: pjsip-bounces@lists.pjsip.org

[mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Nanang Izzuddin
Sent: Wednesday, September 03, 2008 4:15 PM
To: pjsip list
Subject: Re: [pjsip] G729

Hi,

Could you specify more detail about the problem?

Regards,
nanang

On 03/09/2008, Sebastian Groosman Sebastian.Groosman@indicia.nl wrote:

Hi,

I'm trying to get VoiceAge g729 working on a windows mobile

smartphone,

without success...

Since Intel IPP has no libraries for that platform, I'm using the

VoiceAge

libraries for this platform.

Has anybody figured out how to get this working?

I've included my files... maybe I'm just missing something here.

Thanks in advance,

Sebastian

From: pjsip-bounces@lists.pjsip.org
[mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Archie
Rosenblum
Sent: Friday, August 15, 2008 1:18 AM
To: pjsip list
Subject: Re: [pjsip] G729

Thank you for the heads-up, Benny.  This product really is terrific.


From: pjsip-bounces@lists.pjsip.org
[mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Benny
Prijono
Sent: Thursday, August 14, 2008 6:03 PM
To: pjsip list
Subject: Re: [pjsip] G729

On Thu, Aug 14, 2008 at 10:23 PM, Archie Rosenblum archie@bbsti.com

wrote:

Hi Everyone,

By any chance has anyone successfully implemented G729 using the

VoiceAge or

Intel's IPP libraries (or others) for win32?  I just can't figure it

out.  I

am willing to pay for a correct working header/source and

instructions.

It's just beyond my ability.

We're currently integrating Intel IPP codecs for the next release.

It's in

Hi Nanang, Thanks a lot for your input!! I've handled the items and the sound is crystal clear now J. There is only one thing I see in the logs... a massive amount of underflow errors. Any suggestions on that? Greets, Sebastian 11:02:34.000 strm002F4254 JB shrinking 1 frame(s), size=11 11:02:34.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:34.000 strm002F4254 JB shrinking 1 frame(s), size=12 11:02:34.000 strm002F4254 jb updated(1), prefetch=9, size=14 11:02:34.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:35.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:35.000 strm002F4254 JB shrinking 1 frame(s), size=11 11:02:35.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:35.000 strm002F4254 JB shrinking 1 frame(s), size=10 11:02:35.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:35.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:35.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:35.000 strm002F4254 JB shrinking 1 frame(s), size=11 11:02:36.000 strm002F4254 JB shrinking 1 frame(s), size=10 11:02:36.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:36.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:36.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:36.000 strm002F4254 JB shrinking 1 frame(s), size=11 11:02:36.000 strm002F4254 jb updated(2), prefetch=12, size=13 11:02:37.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:37.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:37.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:37.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:37.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:37.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:38.000 strm002F4254 JB shrinking 1 frame(s), size=14 11:02:38.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:38.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:38.000 strm002F4254 JB shrinking 1 frame(s), size=13 11:02:38.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:38.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:38.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:39.000 strm002F4254 JB shrinking 1 frame(s), size=14 11:02:39.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:39.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:39.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:39.000 strm002F4254 JB shrinking 1 frame(s), size=13 11:02:40.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:40.000 strm002F4254 JB shrinking 1 frame(s), size=14 11:02:40.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:40.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:40.000 strm002F4254 JB shrinking 1 frame(s), size=13 11:02:40.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:40.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:41.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:41.000 strm002F4254 JB shrinking 1 frame(s), size=14 11:02:41.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:41.000 strm002F4254 JB shrinking 1 frame(s), size=13 11:02:41.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:41.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:42.000 strm002F4254 JB shrinking 1 frame(s), size=14 11:02:42.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:42.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:42.000 strm002F4254 JB shrinking 1 frame(s), size=13 11:02:42.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:42.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:42.000 strm002F4254 JB shrinking 1 frame(s), size=14 11:02:42.000 strm002F4254 jb updated(1), prefetch=10, size=16 11:02:42.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:42.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Nanang Izzuddin Sent: Friday, September 05, 2008 6:06 PM To: pjsip list Subject: Re: [pjsip] G729 Hi, Please try with the following setting first: - frm_per_pkt = 1 - VAD disabled make sure everything ok with this setting, then move on with frm_per_pkt = 2, if everything ok then deal with VAD enabled. Some notes about the code: - in encode(), it seems you ignore the first byte output of VoiceAge G729 encoder. If that first byte contains frame type info, it shouldn't be ignored, especially when VAD is enabled, since the encoder may return SID (silence frame) or DTX (discontinuous transmission) or speech frame. If you treat SID and DTX frame as speech frame, decoder may fail or produce noise. - silence detector is unnecessary since G729 already has built-in VAD. - in encode(), the pcm_in += 2*SAMPLES_PER_FRAME, shouldn't it be just pcm_in += SAMPLES_PER_FRAME? - in decode(), it doesn't seem that SID frame is handled very well: if (input->size < L_PACKED_G729A) return PJMEDIA_CODEC_EFRMTOOSHORT; Again, if the first byte actually specifies the frame type, instead of returning non-PJ_SUCCESS it should be decoded normally (e.g: with first byte/frame type = SID) Regards, nanang On Fri, Sep 5, 2008 at 7:30 PM, Sebastian Groosman <Sebastian.Groosman@indicia.nl> wrote: Hi, I've had the problem that no sound was heard at all with the VoiceAge G729 libs. It appeared that for the decoding part I needed a local buffer and prepend it with a "2". For the encoding the output buffer and size were the problem. Both these problems are mostly solved now. (I've included the files) The only problem I have left, is that the encoded sound sounds metallic. I followed most of the rules concerning CPU load on windows mobile (see post on "how to reduce CPU load and improve voice quality on mobile device FR" and http://trac.pjsip.org/repos/wiki/FAQ#cpu) Now my G711 and other codes' sound quality is a lot better but the encoded sound is still metallic. Any suggestions? Sebastian -----Original Message----- From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Nanang Izzuddin Sent: Wednesday, September 03, 2008 4:15 PM To: pjsip list Subject: Re: [pjsip] G729 Hi, Could you specify more detail about the problem? Regards, nanang On 03/09/2008, Sebastian Groosman <Sebastian.Groosman@indicia.nl> wrote: > > > > Hi, > > > > I'm trying to get VoiceAge g729 working on a windows mobile smartphone, > without success... > > Since Intel IPP has no libraries for that platform, I'm using the VoiceAge > libraries for this platform. > > > > Has anybody figured out how to get this working? > > I've included my files... maybe I'm just missing something here. > > > > Thanks in advance, > > Sebastian > > > > > > > From: pjsip-bounces@lists.pjsip.org > [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Archie > Rosenblum > Sent: Friday, August 15, 2008 1:18 AM > To: pjsip list > Subject: Re: [pjsip] G729 > > > > Thank you for the heads-up, Benny. This product really is terrific. > > > ________________________________ > > > From: pjsip-bounces@lists.pjsip.org > [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Benny > Prijono > Sent: Thursday, August 14, 2008 6:03 PM > To: pjsip list > Subject: Re: [pjsip] G729 > > > > > On Thu, Aug 14, 2008 at 10:23 PM, Archie Rosenblum <archie@bbsti.com> wrote: > > > > Hi Everyone, > > > > By any chance has anyone successfully implemented G729 using the VoiceAge or > Intel's IPP libraries (or others) for win32? I just can't figure it out. I > am willing to pay for a correct working header/source and instructions. > It's just beyond my ability. > > > > We're currently integrating Intel IPP codecs for the next release. It's in > the roadmap (http://trac.pjsip.org/repos/roadmap). > > > Cheers > Benny > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
AR
Archie Rosenblum
Mon, Sep 8, 2008 12:38 PM

Sebastian,

When you've completed you project, would you share your files?  Perhaps,
your G729 implementation could become part of the base code?

Take care,

Archie


From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org]
On Behalf Of Sebastian Groosman
Sent: Monday, September 08, 2008 5:14 AM
To: pjsip list
Subject: Re: [pjsip] G729

Hi Nanang,

Thanks a lot for your input!!

I've handled the items and the sound is crystal clear now :-).

There is only one thing I see in the logs. a massive amount of underflow
errors.

Any suggestions on that?

Greets,

Sebastian

11:02:34.000  strm002F4254  JB shrinking 1 frame(s), size=11

11:02:34.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:34.000  strm002F4254  JB shrinking 1 frame(s), size=12

11:02:34.000  strm002F4254  jb updated(1), prefetch=9, size=14

11:02:34.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:35.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:35.000  strm002F4254  JB shrinking 1 frame(s), size=11

11:02:35.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:35.000  strm002F4254  JB shrinking 1 frame(s), size=10

11:02:35.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:35.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:35.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:35.000  strm002F4254  JB shrinking 1 frame(s), size=11

11:02:36.000  strm002F4254  JB shrinking 1 frame(s), size=10

11:02:36.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:36.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:36.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:36.000  strm002F4254  JB shrinking 1 frame(s), size=11

11:02:36.000  strm002F4254  jb updated(2), prefetch=12, size=13

11:02:37.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:37.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:37.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:37.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:37.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:37.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:38.000  strm002F4254  JB shrinking 1 frame(s), size=14

11:02:38.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:38.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:38.000  strm002F4254  JB shrinking 1 frame(s), size=13

11:02:38.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:38.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:38.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:39.000  strm002F4254  JB shrinking 1 frame(s), size=14

11:02:39.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:39.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:39.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:39.000  strm002F4254  JB shrinking 1 frame(s), size=13

11:02:40.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:40.000  strm002F4254  JB shrinking 1 frame(s), size=14

11:02:40.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:40.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:40.000  strm002F4254  JB shrinking 1 frame(s), size=13

11:02:40.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:40.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:41.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:41.000  strm002F4254  JB shrinking 1 frame(s), size=14

11:02:41.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:41.000  strm002F4254  JB shrinking 1 frame(s), size=13

11:02:41.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:41.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:42.000  strm002F4254  JB shrinking 1 frame(s), size=14

11:02:42.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:42.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:42.000  strm002F4254  JB shrinking 1 frame(s), size=13

11:02:42.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:42.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:42.000  strm002F4254  JB shrinking 1 frame(s), size=14

11:02:42.000  strm002F4254  jb updated(1), prefetch=10, size=16

11:02:42.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

11:02:42.000  Master/sound  Underflow, buf_cnt=0, will generate 1 frame

From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org]
On Behalf Of Nanang Izzuddin
Sent: Friday, September 05, 2008 6:06 PM
To: pjsip list
Subject: Re: [pjsip] G729

Hi,

Please try with the following setting first:

  • frm_per_pkt = 1

  • VAD disabled

make sure everything ok with this setting, then move on with frm_per_pkt =
2, if everything ok then deal with VAD enabled.

Some notes about the code:

  • in encode(), it seems you ignore the first byte output of VoiceAge G729
    encoder. If that first byte contains frame type info, it shouldn't be
    ignored, especially when VAD is enabled, since the encoder may return SID
    (silence frame) or DTX (discontinuous transmission) or speech frame. If you
    treat SID and DTX frame as speech frame, decoder may fail or produce noise.

  • silence detector is unnecessary since G729 already has built-in VAD.

  • in encode(), the pcm_in += 2*SAMPLES_PER_FRAME, shouldn't it be just
    pcm_in += SAMPLES_PER_FRAME?

  • in decode(), it doesn't seem that SID frame is handled very well: if
    (input->size < L_PACKED_G729A) return PJMEDIA_CODEC_EFRMTOOSHORT;

Again, if the first byte actually specifies the frame type, instead of
returning non-PJ_SUCCESS it should be decoded normally (e.g: with first
byte/frame type = SID)

Regards,

nanang

On Fri, Sep 5, 2008 at 7:30 PM, Sebastian Groosman
Sebastian.Groosman@indicia.nl wrote:

Hi,

I've had the problem that no sound was heard at all with the VoiceAge
G729 libs.
It appeared that for the decoding part I needed a local buffer and
prepend it with a "2".
For the encoding the output buffer and size were the problem.
Both these problems are mostly solved now. (I've included the files)

The only problem I have left, is that the encoded sound sounds metallic.

I followed most of the rules concerning CPU load on windows mobile
(see post on "how to reduce CPU load and improve voice quality on mobile
device FR" and http://trac.pjsip.org/repos/wiki/FAQ#cpu)
Now my G711 and other codes' sound quality is a lot better but the
encoded sound is still metallic.

Any suggestions?

Sebastian

-----Original Message-----
From: pjsip-bounces@lists.pjsip.org

[mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Nanang Izzuddin
Sent: Wednesday, September 03, 2008 4:15 PM
To: pjsip list
Subject: Re: [pjsip] G729

Hi,

Could you specify more detail about the problem?

Regards,
nanang

On 03/09/2008, Sebastian Groosman Sebastian.Groosman@indicia.nl wrote:

Hi,

I'm trying to get VoiceAge g729 working on a windows mobile

smartphone,

without success...

Since Intel IPP has no libraries for that platform, I'm using the

VoiceAge

libraries for this platform.

Has anybody figured out how to get this working?

I've included my files... maybe I'm just missing something here.

Thanks in advance,

Sebastian

From: pjsip-bounces@lists.pjsip.org
[mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Archie
Rosenblum
Sent: Friday, August 15, 2008 1:18 AM
To: pjsip list
Subject: Re: [pjsip] G729

Thank you for the heads-up, Benny.  This product really is terrific.


From: pjsip-bounces@lists.pjsip.org
[mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Benny
Prijono
Sent: Thursday, August 14, 2008 6:03 PM
To: pjsip list
Subject: Re: [pjsip] G729

On Thu, Aug 14, 2008 at 10:23 PM, Archie Rosenblum archie@bbsti.com

wrote:

Hi Everyone,

By any chance has anyone successfully implemented G729 using the

VoiceAge or

Intel's IPP libraries (or others) for win32?  I just can't figure it

out.  I

am willing to pay for a correct working header/source and

instructions.

It's just beyond my ability.

We're currently integrating Intel IPP codecs for the next release.

It's in


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org



This email has been scanned by the MxScan Email Security System.


Sebastian, When you've completed you project, would you share your files? Perhaps, your G729 implementation could become part of the base code? Take care, Archie _____ From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Sebastian Groosman Sent: Monday, September 08, 2008 5:14 AM To: pjsip list Subject: Re: [pjsip] G729 Hi Nanang, Thanks a lot for your input!! I've handled the items and the sound is crystal clear now :-). There is only one thing I see in the logs. a massive amount of underflow errors. Any suggestions on that? Greets, Sebastian 11:02:34.000 strm002F4254 JB shrinking 1 frame(s), size=11 11:02:34.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:34.000 strm002F4254 JB shrinking 1 frame(s), size=12 11:02:34.000 strm002F4254 jb updated(1), prefetch=9, size=14 11:02:34.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:35.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:35.000 strm002F4254 JB shrinking 1 frame(s), size=11 11:02:35.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:35.000 strm002F4254 JB shrinking 1 frame(s), size=10 11:02:35.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:35.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:35.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:35.000 strm002F4254 JB shrinking 1 frame(s), size=11 11:02:36.000 strm002F4254 JB shrinking 1 frame(s), size=10 11:02:36.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:36.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:36.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:36.000 strm002F4254 JB shrinking 1 frame(s), size=11 11:02:36.000 strm002F4254 jb updated(2), prefetch=12, size=13 11:02:37.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:37.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:37.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:37.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:37.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:37.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:38.000 strm002F4254 JB shrinking 1 frame(s), size=14 11:02:38.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:38.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:38.000 strm002F4254 JB shrinking 1 frame(s), size=13 11:02:38.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:38.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:38.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:39.000 strm002F4254 JB shrinking 1 frame(s), size=14 11:02:39.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:39.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:39.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:39.000 strm002F4254 JB shrinking 1 frame(s), size=13 11:02:40.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:40.000 strm002F4254 JB shrinking 1 frame(s), size=14 11:02:40.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:40.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:40.000 strm002F4254 JB shrinking 1 frame(s), size=13 11:02:40.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:40.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:41.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:41.000 strm002F4254 JB shrinking 1 frame(s), size=14 11:02:41.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:41.000 strm002F4254 JB shrinking 1 frame(s), size=13 11:02:41.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:41.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:42.000 strm002F4254 JB shrinking 1 frame(s), size=14 11:02:42.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:42.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:42.000 strm002F4254 JB shrinking 1 frame(s), size=13 11:02:42.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:42.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:42.000 strm002F4254 JB shrinking 1 frame(s), size=14 11:02:42.000 strm002F4254 jb updated(1), prefetch=10, size=16 11:02:42.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame 11:02:42.000 Master/sound Underflow, buf_cnt=0, will generate 1 frame From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Nanang Izzuddin Sent: Friday, September 05, 2008 6:06 PM To: pjsip list Subject: Re: [pjsip] G729 Hi, Please try with the following setting first: - frm_per_pkt = 1 - VAD disabled make sure everything ok with this setting, then move on with frm_per_pkt = 2, if everything ok then deal with VAD enabled. Some notes about the code: - in encode(), it seems you ignore the first byte output of VoiceAge G729 encoder. If that first byte contains frame type info, it shouldn't be ignored, especially when VAD is enabled, since the encoder may return SID (silence frame) or DTX (discontinuous transmission) or speech frame. If you treat SID and DTX frame as speech frame, decoder may fail or produce noise. - silence detector is unnecessary since G729 already has built-in VAD. - in encode(), the pcm_in += 2*SAMPLES_PER_FRAME, shouldn't it be just pcm_in += SAMPLES_PER_FRAME? - in decode(), it doesn't seem that SID frame is handled very well: if (input->size < L_PACKED_G729A) return PJMEDIA_CODEC_EFRMTOOSHORT; Again, if the first byte actually specifies the frame type, instead of returning non-PJ_SUCCESS it should be decoded normally (e.g: with first byte/frame type = SID) Regards, nanang On Fri, Sep 5, 2008 at 7:30 PM, Sebastian Groosman <Sebastian.Groosman@indicia.nl> wrote: Hi, I've had the problem that no sound was heard at all with the VoiceAge G729 libs. It appeared that for the decoding part I needed a local buffer and prepend it with a "2". For the encoding the output buffer and size were the problem. Both these problems are mostly solved now. (I've included the files) The only problem I have left, is that the encoded sound sounds metallic. I followed most of the rules concerning CPU load on windows mobile (see post on "how to reduce CPU load and improve voice quality on mobile device FR" and http://trac.pjsip.org/repos/wiki/FAQ#cpu) Now my G711 and other codes' sound quality is a lot better but the encoded sound is still metallic. Any suggestions? Sebastian -----Original Message----- From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Nanang Izzuddin Sent: Wednesday, September 03, 2008 4:15 PM To: pjsip list Subject: Re: [pjsip] G729 Hi, Could you specify more detail about the problem? Regards, nanang On 03/09/2008, Sebastian Groosman <Sebastian.Groosman@indicia.nl> wrote: > > > > Hi, > > > > I'm trying to get VoiceAge g729 working on a windows mobile smartphone, > without success... > > Since Intel IPP has no libraries for that platform, I'm using the VoiceAge > libraries for this platform. > > > > Has anybody figured out how to get this working? > > I've included my files... maybe I'm just missing something here. > > > > Thanks in advance, > > Sebastian > > > > > > > From: pjsip-bounces@lists.pjsip.org > [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Archie > Rosenblum > Sent: Friday, August 15, 2008 1:18 AM > To: pjsip list > Subject: Re: [pjsip] G729 > > > > Thank you for the heads-up, Benny. This product really is terrific. > > > ________________________________ > > > From: pjsip-bounces@lists.pjsip.org > [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Benny > Prijono > Sent: Thursday, August 14, 2008 6:03 PM > To: pjsip list > Subject: Re: [pjsip] G729 > > > > > On Thu, Aug 14, 2008 at 10:23 PM, Archie Rosenblum <archie@bbsti.com> wrote: > > > > Hi Everyone, > > > > By any chance has anyone successfully implemented G729 using the VoiceAge or > Intel's IPP libraries (or others) for win32? I just can't figure it out. I > am willing to pay for a correct working header/source and instructions. > It's just beyond my ability. > > > > We're currently integrating Intel IPP codecs for the next release. It's in > the roadmap (http://trac.pjsip.org/repos/roadmap). > > > Cheers > Benny > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org ---------------------------------------------------------------------------- --------- This email has been scanned by the MxScan Email Security System. ---------------------------------------------------------------------------- ---------