summaryrefslogtreecommitdiff
path: root/README
blob: ac83683a750cbb53bb63ab9eee5250370a08ad7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
This is a prototype codec and for now it has limited functionality. 

To build from a distribution tarball, you only need to do the following:

% ./configure --disable-shared
% make

To build from the git repository, the following steps are necessary

0) Clone the repository:

% git clone git://git.xiph.org/users/jm/ietfcodec.git
% cd ietfcodec

1) Get the celt and silk submodules:

% git submodule update --init

2) Compiling

% ./autogen.sh
% ./configure --disable-shared
% make


Once you have compiled the codec, there will be a test_hybrid executable in
the src/ directory. This can be in the following way:

% ./test_hybrid 48000 1 960 80 input.sw output.sw

The arguments are:
1) The sampling rate (only 48000 supported for now)
2) The number of channels (only mono supported for now)
3) The frame size in samples (480 and 960 supported)
4) Input PCM file (16-bit, machine endian)
5) Output PCM file after encoding and decoding (16-bit machine endian)