AMRWB codec is by default disabled in linphone as these are not free codecs. AMRWB widely used libraries are opencoreamr (for decoding) and Vo amr (for encode). Below given the steps to enable the AMRWB in the build process.
./prepare.py --debug -DENABLE_NON_FREE_CODECS=ON -DENABLE_AMRWB=OFF&& make
this command forces the non free codec AMRWB to be included in the build process. Once the prepare.py command start execution, it can be noted like below in the build console.
[ 50%] Completed 'EP_ms2'
[ 52%] Built target EP_ms2
[ 52%] Forcing build for 'EP_opencoreamr'
[ 53%] Performing build step for 'EP_opencoreamr'
[ 41%] Built target opencore-amrwb
[100%] Built target opencore-amrnb
[ 54%] Performing install step for 'EP_opencoreamr'
[ 41%] Built target opencore-amrwb
[100%] Built target opencore-amrnb
Install the project...
-- Install configuration: "Debug"
-- Installing: /Users/rr/linphone-iphone/liblinphone-sdk/arm64-apple-darwin.ios/lib/libopencore-amrnb.a
-- Installing: /Users/rr/linphone-iphone/liblinphone-sdk/arm64-apple-darwin.ios/lib/libopencore-amrwb.a
[ 54%] Completed 'EP_opencoreamr'
[ 56%] Built target EP_opencoreamr
[ 56%] Performing configure step for 'EP_voamrwbenc'
loading initial cache file /Users/rr/linphone-iphone/WORK/ios-arm64//tmp/EP_voamrwbenc/EP_voamrwbenc-cache-Debug.cmake
-- Using sysroot path: /Users/rr/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk
-- Using sdk version: 10.2
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/rr/linphone-iphone/WORK/ios-arm64/Build/voamrwbenc
[ 56%] Forcing build for 'EP_voamrwbenc'
[ 57%] Performing build step for 'EP_voamrwbenc'
[100%] Built target vo-amrwbenc
[ 57%] Performing install step for 'EP_voamrwbenc'
[100%] Built target vo-amrwbenc
Install the project...
-- Install configuration: "Debug"
[ 58%] Completed 'EP_voamrwbenc'
[ 60%] Built target EP_voamrwbenc
[ 61%] Performing configure step for 'EP_msamr'
loading initial cache file /Users/rr/linphone-iphone/WORK/ios-arm64//tmp/EP_msamr/EP_msamr-cache-Debug.cmake
-- Using sysroot path: /Users/rr/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk
-- Using sdk version: 10.2
-- Setting install rpath to /Users/rr/linphone-iphone/liblinphone-sdk/arm64-apple-darwin.ios/lib
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/rr/linphone-iphone/WORK/ios-arm64/Build/msamr
[ 62%] Forcing build for 'EP_msamr'
[ 62%] Performing build step for 'EP_msamr'
Scanning dependencies of target msamr-static
[ 33%] Building C object src/CMakeFiles/msamr-static.dir/amrwb.c.o
[ 66%] Linking C static library libmsamr.a
[100%] Built target msamr-static
[ 62%] Performing install step for 'EP_msamr'
[100%] Built target msamr-static
Install the project...
-- Install configuration: "Debug"
-- Installing: /Users/rr/linphone-iphone/liblinphone-sdk/arm64-apple-darwin.ios/lib/mediastreamer/plugins/libmsamr.a
[ 63%] Completed 'EP_msamr'
[ 65%] Built target EP_msamr
In the above process, it builds the opencore AMR decoder and VO AME encoder. Also the media streamer plugin for the AMR is built.
the final library feels can be found under liblinphone-sdk
[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 libmsamr.a in liblinphone-sdk/apple-darwin/lib/mediastreamer/plugins/libmsamr.a
Great, thats it, it is built.
references:
http://linphone.org/
./prepare.py --debug -DENABLE_NON_FREE_CODECS=ON -DENABLE_AMRWB=OFF&& make
this command forces the non free codec AMRWB to be included in the build process. Once the prepare.py command start execution, it can be noted like below in the build console.
[ 50%] Completed 'EP_ms2'
[ 52%] Built target EP_ms2
[ 52%] Forcing build for 'EP_opencoreamr'
[ 53%] Performing build step for 'EP_opencoreamr'
[ 41%] Built target opencore-amrwb
[100%] Built target opencore-amrnb
[ 54%] Performing install step for 'EP_opencoreamr'
[ 41%] Built target opencore-amrwb
[100%] Built target opencore-amrnb
Install the project...
-- Install configuration: "Debug"
-- Installing: /Users/rr/linphone-iphone/liblinphone-sdk/arm64-apple-darwin.ios/lib/libopencore-amrnb.a
-- Installing: /Users/rr/linphone-iphone/liblinphone-sdk/arm64-apple-darwin.ios/lib/libopencore-amrwb.a
[ 54%] Completed 'EP_opencoreamr'
[ 56%] Built target EP_opencoreamr
[ 56%] Performing configure step for 'EP_voamrwbenc'
loading initial cache file /Users/rr/linphone-iphone/WORK/ios-arm64//tmp/EP_voamrwbenc/EP_voamrwbenc-cache-Debug.cmake
-- Using sysroot path: /Users/rr/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk
-- Using sdk version: 10.2
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/rr/linphone-iphone/WORK/ios-arm64/Build/voamrwbenc
[ 56%] Forcing build for 'EP_voamrwbenc'
[ 57%] Performing build step for 'EP_voamrwbenc'
[100%] Built target vo-amrwbenc
[ 57%] Performing install step for 'EP_voamrwbenc'
[100%] Built target vo-amrwbenc
Install the project...
-- Install configuration: "Debug"
[ 58%] Completed 'EP_voamrwbenc'
[ 60%] Built target EP_voamrwbenc
[ 61%] Performing configure step for 'EP_msamr'
loading initial cache file /Users/rr/linphone-iphone/WORK/ios-arm64//tmp/EP_msamr/EP_msamr-cache-Debug.cmake
-- Using sysroot path: /Users/rr/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk
-- Using sdk version: 10.2
-- Setting install rpath to /Users/rr/linphone-iphone/liblinphone-sdk/arm64-apple-darwin.ios/lib
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/rr/linphone-iphone/WORK/ios-arm64/Build/msamr
[ 62%] Forcing build for 'EP_msamr'
[ 62%] Performing build step for 'EP_msamr'
Scanning dependencies of target msamr-static
[ 33%] Building C object src/CMakeFiles/msamr-static.dir/amrwb.c.o
[ 66%] Linking C static library libmsamr.a
[100%] Built target msamr-static
[ 62%] Performing install step for 'EP_msamr'
[100%] Built target msamr-static
Install the project...
-- Install configuration: "Debug"
-- Installing: /Users/rr/linphone-iphone/liblinphone-sdk/arm64-apple-darwin.ios/lib/mediastreamer/plugins/libmsamr.a
[ 63%] Completed 'EP_msamr'
[ 65%] Built target EP_msamr
In the above process, it builds the opencore AMR decoder and VO AME encoder. Also the media streamer plugin for the AMR is built.
the final library feels can be found under liblinphone-sdk
[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 libmsamr.a in liblinphone-sdk/apple-darwin/lib/mediastreamer/plugins/libmsamr.a
Great, thats it, it is built.
references:
http://linphone.org/
is the support of AMR_WB available on android 7 and above ? Has anybody tried ?
ReplyDelete-- Living Mobile --: Enabling Amr Wb Codec In Linphone >>>>> Download Now
ReplyDelete>>>>> Download Full
-- Living Mobile --: Enabling Amr Wb Codec In Linphone >>>>> Download LINK
>>>>> Download Now
-- Living Mobile --: Enabling Amr Wb Codec In Linphone >>>>> Download Full
>>>>> Download LINK 3C