G723 Pjsip Symbian problen in encoding

RI
Rawshan Iajdani
Wed, Oct 15, 2008 8:40 AM

You using raw source from ITU website or you got this from third party?

From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Samiul Aftad Chowdhury
Sent: Wednesday, October 15, 2008 1:35 PM
To: pjsip list
Subject: Re: [pjsip] G723 Pjsip Symbian problen in encoding

ITU G.723 codec.

On Wed, Oct 15, 2008 at 8:56 AM, Rawshan Iajdani iajdani@provati.com wrote:

What library of g.723.1 are u using???

From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Samiul Aftad Chowdhury
Sent: Tuesday, October 14, 2008 7:35 PM
To: pjsip list
Subject: Re: [pjsip] G723 Pjsip Symbian problen in encoding

Could you please suggest the required values for following variables

  1. bytes per frame
  2. encoded bytes per frame
  3. samples per frame

also the required values in default_attr()

Regards,
Aftad

On Tue, Oct 14, 2008 at 1:39 PM, Nanang Izzuddin nanang@pjsip.org wrote:

Hi,

Sorry, I know nothing about the MIPS of ARM processors and ITU code
for G.729 ('proof-of-concept' code is usually not optimized). So
perhaps you should just give it a try.

Regards,
nanang

On Tue, Oct 14, 2008 at 4:33 PM, Samiul Aftad Chowdhury

symbian.voip@gmail.com wrote:

Thanks for your reply Nanang.
I had doubt about the CPU load issue but so far decoding was working
smoothly I thought there might be other issues that I might have missed. As
I had a miss conception that encoding and decoding will use similar amount
of CPU load, finally I'v understood, decoding takes far less CPU utilization
then encoding hence it was working fine. I don't have any clue where can I
get more optimized g723 codec for ARM processors and optimizing the ITU
codec is beyond my understanding of the code.

After going through some of the codecs datasheets it says
for G.723.1 it takes approximatly:
Encoder 5 1/3k bps requires 18 MIPS
Encoder 6.4k bps requires 26 MIPS
Decoder (5 1/3k bps or 6.4k bps) requires 2 MIPS

where G.729 Annex A Encoder/Decoder requires 10.8 MIPS

will it be suitable to use the ITU code for G.729 with pjsip-symbian ??

Regards,
Aftad

On Mon, Oct 13, 2008 at 4:25 PM, Nanang Izzuddin nanang@pjsip.org wrote:

Hi,

Wouldn't it be a CPU load problem? Since G.723.1 is a high complexity
codec, I guess you need a very optimized G.723.1 implementation (for
ARM processor/Symbian platform).

Regards,
nanang

On Mon, Oct 13, 2008 at 7:43 PM, Samiul Aftad Chowdhury
symbian.voip@gmail.com wrote:

Hi,

I am trying to use the ITU G723.1 codec in pjsip, so far I it is working
perfect and voice is clear for windows, using the
pjsua_vc.exe. When I was trying to use the same codec for symbian_ua_gui
it
was not giving the same
expected result.

I have tried to debug this and found that in symbian some how the
problem is
in the encode() function and when the encode function is enabled
the decoder function is never called.
when I tried with disableing the encode() function then the decoder
function
is working smoothly
and I can hear the voice from the symbian_ua_gui of the other party.

I am attaching the g723.c file please check if i am wrong in any place.

Symbian 9.1 3rd ed
Not using the aps
Phone E65 , N95

best regards,
Aftad


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 using raw source from ITU website or you got this from third party? From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Samiul Aftad Chowdhury Sent: Wednesday, October 15, 2008 1:35 PM To: pjsip list Subject: Re: [pjsip] G723 Pjsip Symbian problen in encoding ITU G.723 codec. On Wed, Oct 15, 2008 at 8:56 AM, Rawshan Iajdani <iajdani@provati.com> wrote: What library of g.723.1 are u using??? From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Samiul Aftad Chowdhury Sent: Tuesday, October 14, 2008 7:35 PM To: pjsip list Subject: Re: [pjsip] G723 Pjsip Symbian problen in encoding Could you please suggest the required values for following variables 1. bytes per frame 2. encoded bytes per frame 3. samples per frame also the required values in default_attr() Regards, Aftad On Tue, Oct 14, 2008 at 1:39 PM, Nanang Izzuddin <nanang@pjsip.org> wrote: Hi, Sorry, I know nothing about the MIPS of ARM processors and ITU code for G.729 ('proof-of-concept' code is usually not optimized). So perhaps you should just give it a try. Regards, nanang On Tue, Oct 14, 2008 at 4:33 PM, Samiul Aftad Chowdhury <symbian.voip@gmail.com> wrote: > Thanks for your reply Nanang. > I had doubt about the CPU load issue but so far decoding was working > smoothly I thought there might be other issues that I might have missed. As > I had a miss conception that encoding and decoding will use similar amount > of CPU load, finally I'v understood, decoding takes far less CPU utilization > then encoding hence it was working fine. I don't have any clue where can I > get more optimized g723 codec for ARM processors and optimizing the ITU > codec is beyond my understanding of the code. > > After going through some of the codecs datasheets it says > for G.723.1 it takes approximatly: > Encoder 5 1/3k bps requires 18 MIPS > Encoder 6.4k bps requires 26 MIPS > Decoder (5 1/3k bps or 6.4k bps) requires 2 MIPS > > where G.729 Annex A Encoder/Decoder requires 10.8 MIPS > > will it be suitable to use the ITU code for G.729 with pjsip-symbian ?? > > Regards, > Aftad > > On Mon, Oct 13, 2008 at 4:25 PM, Nanang Izzuddin <nanang@pjsip.org> wrote: >> >> Hi, >> >> Wouldn't it be a CPU load problem? Since G.723.1 is a high complexity >> codec, I guess you need a very optimized G.723.1 implementation (for >> ARM processor/Symbian platform). >> >> Regards, >> nanang >> >> >> On Mon, Oct 13, 2008 at 7:43 PM, Samiul Aftad Chowdhury >> <symbian.voip@gmail.com> wrote: >> > Hi, >> > >> > I am trying to use the ITU G723.1 codec in pjsip, so far I it is working >> > perfect and voice is clear for windows, using the >> > pjsua_vc.exe. When I was trying to use the same codec for symbian_ua_gui >> > it >> > was not giving the same >> > expected result. >> > >> > I have tried to debug this and found that in symbian some how the >> > problem is >> > in the encode() function and when the encode function is enabled >> > the decoder function is never called. >> > when I tried with disableing the encode() function then the decoder >> > function >> > is working smoothly >> > and I can hear the voice from the symbian_ua_gui of the other party. >> > >> > I am attaching the g723.c file please check if i am wrong in any place. >> > >> > Symbian 9.1 3rd ed >> > Not using the aps >> > Phone E65 , N95 >> > >> > >> > best regards, >> > Aftad >> > >> > _______________________________________________ >> > 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 > > _______________________________________________ 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
Thu, Oct 16, 2008 5:54 PM

Hi,

Just FYI, there is G.729 codec with IPP implementation in the
pjmedia-codec (ipp_codecs.c), in case it can be useful.

Regards,
nanang

On Tue, Oct 14, 2008 at 8:35 PM, Samiul Aftad Chowdhury
symbian.voip@gmail.com wrote:

Could you please suggest the required values for following variables

  1. bytes per frame
  2. encoded bytes per frame
  3. samples per frame

also the required values in default_attr()

Regards,
Aftad

On Tue, Oct 14, 2008 at 1:39 PM, Nanang Izzuddin nanang@pjsip.org wrote:

Hi,

Sorry, I know nothing about the MIPS of ARM processors and ITU code
for G.729 ('proof-of-concept' code is usually not optimized). So
perhaps you should just give it a try.

Regards,
nanang

On Tue, Oct 14, 2008 at 4:33 PM, Samiul Aftad Chowdhury
symbian.voip@gmail.com wrote:

Thanks for your reply Nanang.
I had doubt about the CPU load issue but so far decoding was working
smoothly I thought there might be other issues that I might have missed.
As
I had a miss conception that encoding and decoding will use similar
amount
of CPU load, finally I'v understood, decoding takes far less CPU
utilization
then encoding hence it was working fine. I don't have any clue where can
I
get more optimized g723 codec for ARM processors and optimizing the ITU
codec is beyond my understanding of the code.

After going through some of the codecs datasheets it says
for G.723.1 it takes approximatly:
Encoder 5 1/3k bps requires 18 MIPS
Encoder 6.4k bps requires 26 MIPS
Decoder (5 1/3k bps or 6.4k bps) requires 2 MIPS

where G.729 Annex A Encoder/Decoder requires 10.8 MIPS

will it be suitable to use the ITU code for G.729 with pjsip-symbian ??

Regards,
Aftad

On Mon, Oct 13, 2008 at 4:25 PM, Nanang Izzuddin nanang@pjsip.org
wrote:

Hi,

Wouldn't it be a CPU load problem? Since G.723.1 is a high complexity
codec, I guess you need a very optimized G.723.1 implementation (for
ARM processor/Symbian platform).

Regards,
nanang

On Mon, Oct 13, 2008 at 7:43 PM, Samiul Aftad Chowdhury
symbian.voip@gmail.com wrote:

Hi,

I am trying to use the ITU G723.1 codec in pjsip, so far I it is
working
perfect and voice is clear for windows, using the
pjsua_vc.exe. When I was trying to use the same codec for
symbian_ua_gui
it
was not giving the same
expected result.

I have tried to debug this and found that in symbian some how the
problem is
in the encode() function and when the encode function is enabled
the decoder function is never called.
when I tried with disableing the encode() function then the decoder
function
is working smoothly
and I can hear the voice from the symbian_ua_gui of the other party.

I am attaching the g723.c file please check if i am wrong in any
place.

Symbian 9.1 3rd ed
Not using the aps
Phone E65 , N95

best regards,
Aftad


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, Just FYI, there is G.729 codec with IPP implementation in the pjmedia-codec (ipp_codecs.c), in case it can be useful. Regards, nanang On Tue, Oct 14, 2008 at 8:35 PM, Samiul Aftad Chowdhury <symbian.voip@gmail.com> wrote: > Could you please suggest the required values for following variables > 1. bytes per frame > 2. encoded bytes per frame > 3. samples per frame > > also the required values in default_attr() > > Regards, > Aftad > > > On Tue, Oct 14, 2008 at 1:39 PM, Nanang Izzuddin <nanang@pjsip.org> wrote: >> >> Hi, >> >> Sorry, I know nothing about the MIPS of ARM processors and ITU code >> for G.729 ('proof-of-concept' code is usually not optimized). So >> perhaps you should just give it a try. >> >> Regards, >> nanang >> >> >> On Tue, Oct 14, 2008 at 4:33 PM, Samiul Aftad Chowdhury >> <symbian.voip@gmail.com> wrote: >> > Thanks for your reply Nanang. >> > I had doubt about the CPU load issue but so far decoding was working >> > smoothly I thought there might be other issues that I might have missed. >> > As >> > I had a miss conception that encoding and decoding will use similar >> > amount >> > of CPU load, finally I'v understood, decoding takes far less CPU >> > utilization >> > then encoding hence it was working fine. I don't have any clue where can >> > I >> > get more optimized g723 codec for ARM processors and optimizing the ITU >> > codec is beyond my understanding of the code. >> > >> > After going through some of the codecs datasheets it says >> > for G.723.1 it takes approximatly: >> > Encoder 5 1/3k bps requires 18 MIPS >> > Encoder 6.4k bps requires 26 MIPS >> > Decoder (5 1/3k bps or 6.4k bps) requires 2 MIPS >> > >> > where G.729 Annex A Encoder/Decoder requires 10.8 MIPS >> > >> > will it be suitable to use the ITU code for G.729 with pjsip-symbian ?? >> > >> > Regards, >> > Aftad >> > >> > On Mon, Oct 13, 2008 at 4:25 PM, Nanang Izzuddin <nanang@pjsip.org> >> > wrote: >> >> >> >> Hi, >> >> >> >> Wouldn't it be a CPU load problem? Since G.723.1 is a high complexity >> >> codec, I guess you need a very optimized G.723.1 implementation (for >> >> ARM processor/Symbian platform). >> >> >> >> Regards, >> >> nanang >> >> >> >> >> >> On Mon, Oct 13, 2008 at 7:43 PM, Samiul Aftad Chowdhury >> >> <symbian.voip@gmail.com> wrote: >> >> > Hi, >> >> > >> >> > I am trying to use the ITU G723.1 codec in pjsip, so far I it is >> >> > working >> >> > perfect and voice is clear for windows, using the >> >> > pjsua_vc.exe. When I was trying to use the same codec for >> >> > symbian_ua_gui >> >> > it >> >> > was not giving the same >> >> > expected result. >> >> > >> >> > I have tried to debug this and found that in symbian some how the >> >> > problem is >> >> > in the encode() function and when the encode function is enabled >> >> > the decoder function is never called. >> >> > when I tried with disableing the encode() function then the decoder >> >> > function >> >> > is working smoothly >> >> > and I can hear the voice from the symbian_ua_gui of the other party. >> >> > >> >> > I am attaching the g723.c file please check if i am wrong in any >> >> > place. >> >> > >> >> > Symbian 9.1 3rd ed >> >> > Not using the aps >> >> > Phone E65 , N95 >> >> > >> >> > >> >> > best regards, >> >> > Aftad >> >> > >> >> > _______________________________________________ >> >> > 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 >> > >> > >> >> _______________________________________________ >> 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 > >