G723 Pjsip Symbian problen in encoding

SA
Samiul Aftad Chowdhury
Mon, Oct 13, 2008 12:43 PM

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

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
FP
Fabio Pietrosanti (naif)
Mon, Oct 13, 2008 12:49 PM

So you want to pay royalty license even when it's not needed like in
Symbian OS platform?

You can get directly the audio encoded/decoded in G723.1 from the Nokia
Audio Proxy Server (still you need more coding to do so).

Fabio

Samiul Aftad Chowdhury 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

So you want to pay royalty license even when it's not needed like in Symbian OS platform? You can get directly the audio encoded/decoded in G723.1 from the Nokia Audio Proxy Server (still you need more coding to do so). Fabio Samiul Aftad Chowdhury 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
SA
Samiul Aftad Chowdhury
Mon, Oct 13, 2008 1:02 PM

Sorry I could not find any G723 encoder/decoder in APS Server,
more over to use the APS server's G729 in pjsip , at present it is not
implemented and you have
to change the complete conference bridge part from pjsip to use the G729 of
APS.

So far I understand paying the royalty is not issue of development process.

Best regards,
Aftad

On Mon, Oct 13, 2008 at 2:49 PM, Fabio Pietrosanti (naif)
lists@infosecurity.ch wrote:

So you want to pay royalty license even when it's not needed like in
Symbian OS platform?

You can get directly the audio encoded/decoded in G723.1 from the Nokia
Audio Proxy Server (still you need more coding to do so).

Fabio

Samiul Aftad Chowdhury 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

Sorry I could not find any G723 encoder/decoder in APS Server, more over to use the APS server's G729 in pjsip , at present it is not implemented and you have to change the complete conference bridge part from pjsip to use the G729 of APS. So far I understand paying the royalty is not issue of development process. Best regards, Aftad On Mon, Oct 13, 2008 at 2:49 PM, Fabio Pietrosanti (naif) <lists@infosecurity.ch> wrote: > So you want to pay royalty license even when it's not needed like in > Symbian OS platform? > > You can get directly the audio encoded/decoded in G723.1 from the Nokia > Audio Proxy Server (still you need more coding to do so). > > Fabio > > Samiul Aftad Chowdhury 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 >
FP
Fabio Pietrosanti (naif)
Mon, Oct 13, 2008 1:32 PM

Ooops! You are right!

So you are using G.723.1 (5.3kb/s fixed rate) but would'nt be more
effective to use AMR-NB 4.75 (4.75kb with DTX reaching even 2.50kb/s)
http://wapedia.mobi/en/Adaptive_multi-rate_compression?

That way you would save bandwidth and save money in terms of royalties.

G.723.1: http://wapedia.mobi/en/G.723.1
AMR-NB 4.75: http://wapedia.mobi/en/Adaptive_multi-rate_compression

Regards,
Fabio Pietrosanti

Samiul Aftad Chowdhury wrote:

Sorry I could not find any G723 encoder/decoder in APS Server,
more over to use the APS server's G729 in pjsip , at present it is not
implemented and you have
to change the complete conference bridge part from pjsip to use the
G729 of APS.

So far I understand paying the royalty is not issue of development
process.

Best regards,
Aftad

On Mon, Oct 13, 2008 at 2:49 PM, Fabio Pietrosanti (naif)
lists@infosecurity.ch wrote:

 So you want to pay royalty license even when it's not needed like
 in Symbian OS platform?

 You can get directly the audio encoded/decoded in G723.1 from the
 Nokia Audio Proxy Server (still you need more coding to do so).

 Fabio

 Samiul Aftad Chowdhury 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 <mailto: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 <mailto: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

Ooops! You are right! So you are using G.723.1 (5.3kb/s fixed rate) but would'nt be more effective to use AMR-NB 4.75 (4.75kb with DTX reaching even 2.50kb/s) http://wapedia.mobi/en/Adaptive_multi-rate_compression? That way you would save bandwidth and save money in terms of royalties. G.723.1: http://wapedia.mobi/en/G.723.1 AMR-NB 4.75: http://wapedia.mobi/en/Adaptive_multi-rate_compression Regards, Fabio Pietrosanti Samiul Aftad Chowdhury wrote: > Sorry I could not find any G723 encoder/decoder in APS Server, > more over to use the APS server's G729 in pjsip , at present it is not > implemented and you have > to change the complete conference bridge part from pjsip to use the > G729 of APS. > > So far I understand paying the royalty is not issue of development > process. > > Best regards, > Aftad > > On Mon, Oct 13, 2008 at 2:49 PM, Fabio Pietrosanti (naif) > <lists@infosecurity.ch> wrote: > > So you want to pay royalty license even when it's not needed like > in Symbian OS platform? > > You can get directly the audio encoded/decoded in G723.1 from the > Nokia Audio Proxy Server (still you need more coding to do so). > > Fabio > > Samiul Aftad Chowdhury 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 <mailto: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 <mailto: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
Mon, Oct 13, 2008 2:25 PM

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, 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 > >
SA
Samiul Aftad Chowdhury
Tue, Oct 14, 2008 9:33 AM

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

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 >
NI
Nanang Izzuddin
Tue, Oct 14, 2008 11:39 AM

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, 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 > >
SA
Samiul Aftad Chowdhury
Tue, Oct 14, 2008 1:35 PM

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.

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 >
RI
Rawshan Iajdani
Wed, Oct 15, 2008 6:56 AM

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

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
SA
Samiul Aftad Chowdhury
Wed, Oct 15, 2008 7:35 AM

ITU G.723 codec.

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

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.

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 > >