[pjsip] G723 Pjsip Symbian problen in encoding

Samiul Aftad Chowdhury symbian.voip at gmail.com
Tue Oct 14 09:35:00 EDT 2008


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 at 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 at 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 at 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 at 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 at lists.pjsip.org
> >> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> >> >
> >> >
> >>
> >> _______________________________________________
> >> Visit our blog: http://blog.pjsip.org
> >>
> >> pjsip mailing list
> >> pjsip at lists.pjsip.org
> >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> >
> >
> > _______________________________________________
> > Visit our blog: http://blog.pjsip.org
> >
> > pjsip mailing list
> > pjsip at lists.pjsip.org
> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> >
> >
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20081014/4d23bcf3/attachment-0001.html>


More information about the pjsip mailing list