Giter VIP home page Giter VIP logo

g722enc's Introduction

G722 and G722.1 Encoders for FreeSWITCH

These encoders convert 16 bit, linear PCM, 16 kHz, mono WAV files into raw G722 and G722.1 files that can be used with FreeSWITCH to play audios and avoid transcoding. For this to happen you will need to enable the mod_native_file module in FreeSWITCH and use the G722 and G7221 file extensions.

Requirements

You need to install the following three libraries to be able to compile the encoders:

libsndfile and libtiff

sudo apt-get install libsndfile-dev libtiff-dev

libspandsp

From within the FreeSWITCH directory run the following commands:

./bootstrap.sh
cd libs/spandsp
./configure
make
sudo make install
sudo ldconfig

libg722_1

After running the previous commands and going back to the FreeSWITCH directory run:

cd libs/libg722_1
./configure
make
sudo make install
sudo ldconfig

Compiling

In order to compile the encoders run:

make
sudo make install

Usage

The encoders have the following syntax:

g722enc <WAV file> <G722 file>

and:

g7221enc <WAV file> <G7221 file>

g722enc's People

Contributors

jcomellas avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.