linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] Linphone and G.722 Wideband codec


From: menno
Subject: Re: [Linphone-developers] Linphone and G.722 Wideband codec
Date: Wed, 14 Jul 2010 19:08:18 +0200
User-agent: SquirrelMail/1.4.18

Great news!

Any news about this and using it in combination with linphone?

> I just created a separate repository for developing a G.722 linphone
> plugin.
> Have a look at
> http://bitbucket.org/herrpi/msg722
>
> It doesn't run yet but I hope to get it right with your help! You can
> configure and compile it the
> usual way:
>
> ./autogen.sh
> ./configure
> make
> make install (as root)
>
> Or directly download a tar.gz:
> http://bitbucket.org/herrpi/msg722/get/v0.1.tar.gz
>
> I think there's not much left to do but don't know what yet... The plugin
> is already loaded at
> linphone startup but isn't shown in the codec list...
>
> -Simon.
>
>
>
> Simon Brenner wrote:
>> Wait a minute, I think we also have do differentiate between this as a
>> buit-in codec or a plugin
>> codec, haven't we?
>> If we have it as a plugin it has to be compiled as a kind of own project
>> which results in a .so / .a
>> library being copied / installed to a possible Linphone plugin folder.
>> If we have it as a built-in codec there are all those steps to be done
>> that you've already named.
>>
>> So what do we have?
>>
>> -Simon.
>>
>>
>>
>> menno wrote:
>>> Hello Everyone,
>>>
>>> I can't compile it succesfully. I add the c files to the
>>> mediastreamer2/src/Makefile.am , but after configure he don't compile
>>> the
>>> all the g722 C files (dont transform them to "lo" & "o" files.
>>>
>>> Is there anybody who can exactly describe the steps what i should doing
>>> to
>>> add this codec to linphone? The steps of mine didn't work yet
>>> succesfully
>>> :(.
>>>
>>>> I'm attaching my version of mediastreamer2/plugins/msg722.c
>>>>
>>>> There is two IMPORTANT things to remmeber about g722
>>>>
>>>> 1) when building ding SDP the fmt should be G722/8000
>>>>
>>>> 2) The actual sampling rate should be 16000HZ  but the RTP timestamp
>>> should be based 8000HZ
>>>> Thanks
>>>> Vadim
>>>>
>>>>
>>>>
>>>> On 06/29/2010 01:24 PM, Simon Brenner wrote:
>>>>>> The files from the code from the internet are not directly very
>>> useful, because you should make some config&make files.
>>>>> Yeah, that's right!
>>>>>
>>>>>
>>>>>> Is there anybody who has allready made a G722 plugin (the sama as
>>>>>> msilbc
>>>>>> plugin) for Linphone (so that i can compile that first and give some
>>> parameters to the linphone configuration to use them)?
>>>>> I'm actually in the middle of writing a Linphone plugin, but this is
>>> for other reasons. For a start,
>>>>> I took the msx264 plugin code and replaced it by my own code
>>>>> preserving
>>> the needed structure. But I
>>>>> better had had a kind of template or decent guide to do that.
>>>>>
>>>>> Perhaps we can ask Simon Morlat how his approach to writing a plugin
>>> is?? Simon, do you have some
>>>>> kind of plugin template?
>>>>>
>>>>>
>>>>> -Simon.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>> Well, as I said, I never got the codec actually running.
>>>>>>> You seem to have done the same steps as I did in order to integrate
>>>>>>> that
>>>>>>> particular piece of code
>>>>>>> from the internet. So I'm not further than you.
>>>>>>>
>>>>>>> But the thing with doing it as a plugin seems very clever to me! I
>>>>>>> like
>>>>>>> the idea of a plugin being
>>>>>>> generally independent from the main program.
>>>>>>> Before saying any more I'll also have to have a look at some
>>>>>>> already
>>> existent plugins in order to
>>>>>>> understand how they work.
>>>>>>>
>>>>>>> -Simon.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> menno wrote:
>>>>>>>
>>>>>>>> Hi!
>>>>>>>>
>>>>>>>> Nice to hear!
>>>>>>>>
>>>>>>>> Can you explain the steps that you do to get this G722 working (to
>>>>>>>> get
>>>>>>>> this in the codec section)? I'll try that first on a normal
>>> i386/i686 PC
>>>>>>>> and after that i will try to recompile it to an ARM device.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> Hi!
>>>>>>>>>
>>>>>>>>> Yeah, that was exactly was I was trying to do 2 months ago
>>>>>>>>> (coincidentally
>>>>>>>>> also on an ARM device). I
>>>>>>>>> also got everything to compile and if I remember it correctly I
>>> even got
>>>>>>>>> G.722 to be standing in the
>>>>>>>>> audio codec list.
>>>>>>>>> But I unfortunately never got the codec really running which I
>>> don't understand...
>>>>>>>>> I would also definitely be interested in having G.722 integrated
>>>>>>>>> in
>>> Linphone - even if it would be
>>>>>>>>> with the help of a preprocessor switch or something. (Like
>>>>>>>>> USE_G722_CODEC)
>>>>>>>>>
>>>>>>>>> -Simon.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> menno wrote:
>>>>>>>>>
>>>>>>>>>> Hello,
>>>>>>>>>>
>>>>>>>>>> I want to use the G.722 codec on a 1.2Ghz ARM Device in the
>>> future. For
>>>>>>>>>> now i want to use linphone incombination with the Wideband G.722
>>> codec.
>>>>>>>>>> I follow the following steps:
>>>>>>>>>> 1. I download all the G722 files @
>>>>>>>>>> http://lists.gnu.org/archive/html/linphone-developers/2009-09/msg00034.html
>>> 2. I unpack the files and put msg722.c, g722_encode.c and
>>>>>>>>>> g722_decode.c
>>>>>>>>>> into mediastreamer2/src
>>>>>>>>>> 3. I put the g722.h file into the
>>>>>>>>>> mediastreamer2/include/mediastreamer2
>>>>>>>>>> directory
>>>>>>>>>> 4. I added two new filter id's to allfilters.h
>>>>>>>>>> 5. I add all the C-files to the mediastreamer2/src/Makefile.am
>>>>>>>>>> 6.
>>> I add
>>>>>>>>>> "linphone_core_assign_payload_type(&payload_type_g7221,9,NULL);"
>>>>>>>>>>
>>>>>>>>>> Compiling works ok with the current version
>>>>>>>>>> linphone-3.3.1.tar.gz.
>>> But
>>>>>>>>>> after compiling , and starting program i get no other codecs
>>>>>>>>>> than the
>>>>>>>>>> g711A/U,GSM and not the G722 one.
>>>>>>>>>>
>>>>>>>>>> Can anybody help me to get this G722 wideband codec working (or
>>> add this
>>>>>>>>>> to the current linphone)?
>
> _______________________________________________
> Linphone-developers mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/linphone-developers
>







reply via email to

[Prev in Thread] Current Thread [Next in Thread]