Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jcomellas/g722enc
G722 and G722.1 file encoders for FreeSWITCH
https://github.com/jcomellas/g722enc
Last synced: about 2 months ago
JSON representation
G722 and G722.1 file encoders for FreeSWITCH
- Host: GitHub
- URL: https://github.com/jcomellas/g722enc
- Owner: jcomellas
- Created: 2010-12-20T16:57:26.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2014-09-22T21:33:18.000Z (over 10 years ago)
- Last Synced: 2024-05-09T21:51:39.031Z (8 months ago)
- Language: C
- Homepage:
- Size: 103 KB
- Stars: 8
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
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](http://www.freeswitch.org/) to play audios and avoid
transcoding. For this to happen you will need to enable the [mod_native_file](http://wiki.freeswitch.org/wiki/Mod_native_file)
module in [FreeSWITCH](http://www.freeswitch.org/) 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 ldconfigCompiling
---------In order to compile the encoders run:
make
sudo make installUsage
-----The encoders have the following syntax:
g722enc
and:
g7221enc