I Could not find encoder and decoder switch for G729 codec on SettingsView

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

I Could not find encoder and decoder switch for G729 codec on SettingsView

Mallikharjuna Rao
Hi.

I installed on iTerm2 terminal as "./prepare.py -DENABLE_NON_FREE_CODECS=ON -DENABLE_G729=ON && make".

But i couldn't find G729 codec switch on settings screen. i didn't know why the codec was not visible and what is the exact solution about this codec.

i executed below commands on Teminal iTerm2.

- make help 
- nm liblinphone-sdk/apple-darwin/lib/libbcg729.a | wc -l
Reposnse:
udays-mac-mini:linphone-iphone uday$ make help

prepare.py was previously executed with the following options:

   ./prepare.py -DENABLE_NON_FREE_CODECS=ON -DENABLE_G729=ON


(please read the README.md file first)

Available architectures: x86_64 arm64 armv7

Available packages: antlr3c bcg729 bellesip bzrtp cunit ffmpeg gsm libilbcrfc3951 linphone ms2 msilbc mssilk mswebrtc opus ortp polarssl speex srtp vpx


Available targets:

   * all or build: builds all architectures and creates the liblinphone SDK

   * sdk: creates the liblinphone SDK. Use this only after a full build

   * zipsdk: generates a ZIP archive of liblinphone-sdk/apple-darwin containing the SDK. Use this only after SDK is built.

   * zipres: creates a tar.gz file with all the resources (images)


=== Advanced usage ===


   * build-[package]: builds the package for all architectures

   * clean-[package]: cleans package compilation for all architectures

   * veryclean-[package]: cleans the package for all architectures


   * [x86_64|arm64|armv7]-build-[package]: builds a package for the selected architecture

   * [x86_64|arm64|armv7]-clean-[package]: cleans package compilation for the selected architecture

   * [x86_64|arm64|armv7]-veryclean-[package]: cleans the package for the selected architecture


udays-mac-mini:linphone-iphone uday$ nm liblinphone-sdk/apple-darwin/lib/libbcg729.a | wc -l

       3


I Could not find encoder for G729
I Could not find decoder for G729

_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers
Reply | Threaded
Open this post in threaded view
|

Re: I Could not find encoder and decoder switch for G729 codec on SettingsView

Gautier Pelloux-Prayer
This is the problem:

udays-mac-mini:linphone-iphone uday$ nm liblinphone-sdk/apple-darwin/lib/libbcg729.a | wc -l

       3

You have a stubbed G729 library, meaning that it was not built. However I can confirm you that the correct build options are:

./prepare.py -DENABLE_NON_FREE_CODECS=ON -DENABLE_G729=YES

You should see in the logs:

-- Enabled features:
 * Unit tests , Build unit tests programs for belle-sip, mediastreamer2 and linphone.
 * Documentation , Enable documentation generation with Doxygen.
 * GPL third parties , Usage of GPL third-party code (FFmpeg and x264).
 * Non free codecs , Allow inclusion of non-free codecs in the build.
 * SRTP , SRTP media encryption support.
 * ZRTP , ZRTP media encryption support.
 * DTLS , DTLS media encryption support.
 * G729 , G.729 audio encoding/decoding support (require license).
 * GSM , GSM audio encoding/decoding support.
 * iLBC , iLBC audio encoding/decoding support.
 * ISAC , ISAC audio encoding/decoding support.
 * OPUS , OPUS audio encoding/decoding support.
 * Silk , Silk audio encoding/decoding support.
 * Speex , Speex audio encoding/decoding support.
 * Video , Ability to capture and display video.
 * FFmpeg , Some video processing features via FFmpeg: JPEG encoding/decoding, video scaling, H264 decoding...
 * VPX , VPX (VP8) video encoding/decoding support.
 * NLS , Enable internationalization of Linphone and Liblinphone. (Only for the desktop target)

-- Disabled features:
 * Tunnel , Secure tunnel for SIP/RTP (require license).
 * RTP MAP , Always include rtpmap in SDP.
 * WebRTC AEC , WebRTC echo canceller support.
 * WASAPI , Windows Audio Session API (WASAPI) sound card support.
 * AMRNB , AMR narrow-band audio encoding/decoding support (require license).
 * AMRWB , AMR wide-band audio encoding/decoding support (require license).
 * H263 , H263 video encoding/decoding support (require license).
 * H263p , H263+ video encoding/decoding support (require license).
 * MKV , MKV playing and recording support.
 * MPEG4 , MPEG4 video encoding/decoding support (require license).
 * OpenH264 , H.264 video encoding/decoding support with the openh264 library (require license).
 * V4L , V4L camera driver.
 * X264 , H.264 video encoding support with the x264 library (require license).
 * PCAP , PCAP support.

Please ensure that this is the case - if still no working, please provide full logs (both  ./prepare.py logs and make).

Regards,

Gautier Pelloux-Prayer
Software Engineer @ Belledonne Communications

On 02 Dec 2015, at 05:16, Mallikharjuna Rao <[hidden email]> wrote:

./prepare.py -DENABLE_NON_FREE_CODECS=ON -DENABLE_G729=ON


_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers
Reply | Threaded
Open this post in threaded view
|

Re: I Could not find encoder and decoder switch for G729 codec on SettingsView

kanishka
I have the same problem, do i have to do the following steps like the old coding ?

Include G729_preference in the Audio.plist file. You can either type all the info yourself or simply copy the G722 line and simply replace 722 with 729. Make sure you set Default Value to YES

In Project -> Target -> Build Settings find "Preprocessor macros" and include HAVE_G729
Reply | Threaded
Open this post in threaded view
|

Re: I Could not find encoder and decoder switch for G729 codec on SettingsView

Gautier Pelloux-Prayer
This does not exist anymore - see my previous email to check if you actually built BCG729 or not.

Cheers,

Gautier Pelloux-Prayer
Software Engineer @ Belledonne Communications

> On 03 Dec 2015, at 18:32, kanishka <[hidden email]> wrote:
>
> I have the same problem, do i have to do the following steps like the old
> coding ?
>
> Include G729_preference in the Audio.plist file. You can either type all the
> info yourself or simply copy the G722 line and simply replace 722 with 729.
> Make sure you set Default Value to YES
>
> In Project -> Target -> Build Settings find "Preprocessor macros" and
> include HAVE_G729
>
>
>
> --
> View this message in context: http://nongnu.13855.n7.nabble.com/I-Could-not-find-encoder-and-decoder-switch-for-G729-codec-on-SettingsView-tp206180p206242.html
> Sent from the linphone-developers mailing list archive at Nabble.com.
>
> _______________________________________________
> Linphone-developers mailing list
> [hidden email]
> https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers
Reply | Threaded
Open this post in threaded view
|

Re: I Could not find encoder and decoder switch for G729 codec on SettingsView

kanishka
my compile log as bellow, still 729 is not there, what is the latest version that has 729

Install the project...
-- Install configuration: "Release"
-- Installing: /Users/nadeeshanjayawardana/linphone-iphone/liblinphone-sdk/armv7-apple-darwin.ios/lib/libopenh264.a
-- Installing: /Users/nadeeshanjayawardana/linphone-iphone/liblinphone-sdk/armv7-apple-darwin.ios/lib/libopencore-amrwb.a
-- Installing: /Users/nadeeshanjayawardana/linphone-iphone/liblinphone-sdk/armv7-apple-darwin.ios/lib/libvo-amrwbenc.a
-- Installing: /Users/nadeeshanjayawardana/linphone-iphone/liblinphone-sdk/armv7-apple-darwin.ios/lib/libtunnel.a
-- Installing: /Users/nadeeshanjayawardana/linphone-iphone/liblinphone-sdk/armv7-apple-darwin.ios/lib/mediastreamer/plugins/libmsamr.a
-- Installing: /Users/nadeeshanjayawardana/linphone-iphone/liblinphone-sdk/armv7-apple-darwin.ios/lib/libx264.a
-- Installing: /Users/nadeeshanjayawardana/linphone-iphone/liblinphone-sdk/armv7-apple-darwin.ios/lib/mediastreamer/plugins/libmsopenh264.a
-- Installing: /Users/nadeeshanjayawardana/linphone-iphone/liblinphone-sdk/armv7-apple-darwin.ios/lib/libopencore-amrnb.a
-- Installing: /Users/nadeeshanjayawardana/linphone-iphone/liblinphone-sdk/armv7-apple-darwin.ios/lib/mediastreamer/plugins/libmsx264.a
[100%] Completed 'EP_dummy_libraries'
[100%] Built target EP_dummy_libraries
[x86_64 arm64 armv7] Mixing libantlr3c.a in liblinphone-sdk/apple-darwin/lib/libantlr3c.a
[x86_64 arm64 armv7] Mixing libavcodec.a in liblinphone-sdk/apple-darwin/lib/libavcodec.a
[x86_64 arm64 armv7] Mixing libavutil.a in liblinphone-sdk/apple-darwin/lib/libavutil.a
[x86_64 arm64 armv7] Mixing libbcg729.a in liblinphone-sdk/apple-darwin/lib/libbcg729.a
[x86_64 arm64 armv7] Mixing libbellesip.a in liblinphone-sdk/apple-darwin/lib/libbellesip.a
[x86_64 arm64 armv7] Mixing libbzrtp.a in liblinphone-sdk/apple-darwin/lib/libbzrtp.a
[x86_64 arm64 armv7] Mixing libcunit.a in liblinphone-sdk/apple-darwin/lib/libcunit.a
[x86_64 arm64 armv7] Mixing libgsm.a in liblinphone-sdk/apple-darwin/lib/libgsm.a
[x86_64 arm64 armv7] Mixing liblinphone.a in liblinphone-sdk/apple-darwin/lib/liblinphone.a
[x86_64 arm64 armv7] Mixing liblinphonetester.a in liblinphone-sdk/apple-darwin/lib/liblinphonetester.a
[x86_64 arm64 armv7] Mixing libmediastreamer_base.a in liblinphone-sdk/apple-darwin/lib/libmediastreamer_base.a
[x86_64 arm64 armv7] Mixing libmediastreamer_voip.a in liblinphone-sdk/apple-darwin/lib/libmediastreamer_voip.a
[x86_64 arm64 armv7] Mixing libopencore-amrnb.a in liblinphone-sdk/apple-darwin/lib/libopencore-amrnb.a
[x86_64 arm64 armv7] Mixing libopencore-amrwb.a in liblinphone-sdk/apple-darwin/lib/libopencore-amrwb.a
[x86_64 arm64 armv7] Mixing libopenh264.a in liblinphone-sdk/apple-darwin/lib/libopenh264.a
[x86_64 arm64 armv7] Mixing libopus.a in liblinphone-sdk/apple-darwin/lib/libopus.a
[x86_64 arm64 armv7] Mixing libortp.a in liblinphone-sdk/apple-darwin/lib/libortp.a
[x86_64 arm64 armv7] Mixing libpolarssl.a in liblinphone-sdk/apple-darwin/lib/libpolarssl.a
[x86_64 arm64 armv7] Mixing libspeex.a in liblinphone-sdk/apple-darwin/lib/libspeex.a
[x86_64 arm64 armv7] Mixing libspeexdsp.a in liblinphone-sdk/apple-darwin/lib/libspeexdsp.a
[x86_64 arm64 armv7] Mixing libsrtp.a in liblinphone-sdk/apple-darwin/lib/libsrtp.a
[x86_64 arm64 armv7] Mixing libswresample.a in liblinphone-sdk/apple-darwin/lib/libswresample.a
[x86_64 arm64 armv7] Mixing libswscale.a in liblinphone-sdk/apple-darwin/lib/libswscale.a
[x86_64 arm64 armv7] Mixing libtunnel.a in liblinphone-sdk/apple-darwin/lib/libtunnel.a
[x86_64 arm64 armv7] Mixing libvo-amrwbenc.a in liblinphone-sdk/apple-darwin/lib/libvo-amrwbenc.a
[x86_64 arm64 armv7] Mixing libvpx.a in liblinphone-sdk/apple-darwin/lib/libvpx.a
[x86_64 arm64 armv7] Mixing libx264.a in liblinphone-sdk/apple-darwin/lib/libx264.a
[x86_64 arm64 armv7] Mixing libmsamr.a in liblinphone-sdk/apple-darwin/lib/mediastreamer/plugins/libmsamr.a
[x86_64 arm64 armv7] Mixing libmsbcg729.a in liblinphone-sdk/apple-darwin/lib/mediastreamer/plugins/libmsbcg729.a
[x86_64 arm64 armv7] Mixing libmsopenh264.a in liblinphone-sdk/apple-darwin/lib/mediastreamer/plugins/libmsopenh264.a
[x86_64 arm64 armv7] Mixing libmssilk.a in liblinphone-sdk/apple-darwin/lib/mediastreamer/plugins/libmssilk.a
[x86_64 arm64 armv7] Mixing libmswebrtc.a in liblinphone-sdk/apple-darwin/lib/mediastreamer/plugins/libmswebrtc.a
[x86_64 arm64 armv7] Mixing libmsx264.a in liblinphone-sdk/apple-darwin/lib/mediastreamer/plugins/libmsx264.a
NOTE: the following libraries were STUBBED:
libopenh264
libopencore-amrwb
libvo-amrwbenc
libtunnel
libmsamr
libx264
libmsopenh264
libopencore-amrnb
libmsx264