Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Opus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexander Traud
Opus
Commits
4468c75a
Commit
4468c75a
authored
14 years ago
by
Jean-Marc Valin
Browse files
Options
Downloads
Patches
Plain Diff
draft update, instructions
parent
ed8e1b49
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
INSTALL
+1
-0
1 addition, 0 deletions
INSTALL
README
+28
-12
28 additions, 12 deletions
README
configure.ac
+1
-1
1 addition, 1 deletion
configure.ac
doc/draft-valin-codec-prototype.xml
+19
-5
19 additions, 5 deletions
doc/draft-valin-codec-prototype.xml
with
49 additions
and
18 deletions
INSTALL
+
1
−
0
View file @
4468c75a
See README file for details
This diff is collapsed.
Click to expand it.
README
+
28
−
12
View file @
4468c75a
This is a prototype codec and for now it doesn't do anything useful. To get
the celt and silk submodules, you need to do:
This is a prototype codec and for now it has limited functionality.
% git submodule init
% git submodule update
To build from a distribution tarball, you only need to do the following:
Compiling is currently tricky. You first need to configure the CELT directory:
% ./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
% cd celt
% ./autogen.sh
% ./configure --disable-shared
%
cd ..
%
make
Then you can use the top-level Makefile by typing:
% 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
If you're lucky, then everything works. Most likely there will be an error in
one of the paths that are hardcoded into one of the makefiles. This should
improve in the future.
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)
This diff is collapsed.
Click to expand it.
configure.ac
+
1
−
1
View file @
4468c75a
...
...
@@ -3,7 +3,7 @@
AC_PREREQ([2.59])
AC_INIT(src/hybrid.h)
AM_INIT_AUTOMAKE(
lib
ietfcodec,
0.0.0
)
AM_INIT_AUTOMAKE(ietfcodec,
20100708
)
# Checks for programs.
AC_PROG_CC
...
...
This diff is collapsed.
Click to expand it.
doc/draft-valin-codec-prototype.xml
+
19
−
5
View file @
4468c75a
...
...
@@ -2,7 +2,7 @@
<!DOCTYPE rfc SYSTEM 'rfc2629.dtd'>
<?rfc toc="yes" symrefs="yes" ?>
<rfc
ipr=
"trust200902"
category=
"std"
docName=
"draft-valin-codec-prototype-0
0
"
>
<rfc
ipr=
"trust200902"
category=
"std"
docName=
"draft-valin-codec-prototype-0
1
"
>
<front>
<title
abbrev=
"Codec Prototype"
>
Prototype for IETF Interactive Audio Codec
</title>
...
...
@@ -39,7 +39,7 @@
</author>
<date
day=
"
5
"
month=
"July"
year=
"2010"
/>
<date
day=
"
8
"
month=
"July"
year=
"2010"
/>
<area>
General
</area>
...
...
@@ -107,6 +107,17 @@ of the (now expired) <xref target="CELT">CELT Internet-Draft</xref>.
The main changes
include better support for 20 ms frames as well as the ability to encode
only the higher bands using a range coder partially filled by the SILK layer.
</t>
<t>
In addition to their frame size, the SILK and CELT codecs require
a look-ahead of 5.2 ms and 2.5 ms, respectively. SILK's look-ahead is due to
noise shaping estimation (5 ms) and the internal resampling (0.2 ms), while
CELT's look-ahead is due to the overlapping MDCT windows. To compensate for the
difference, the CELT encoder input is delayed by 2.7 ms. This ensures that low
frequencies and high frequencies arrive at the same time.
</t>
<section
title=
"Source Code"
>
<t>
The source code is currently available in a
...
...
@@ -284,7 +295,10 @@ in encoders are typically rarer, the same applies to the encoder. Malicious
audio stream must not cause the encoder to misbehave because this would
allow an attacker to attack transcoding gateways.
</t>
<t>
In its current version, this prototype codec likely does NOT meet these
security considerations, so it should be used with caution.
</t>
</section>
...
...
@@ -294,12 +308,12 @@ This document has no actions for IANA.
</t>
</section>
<!--
<section
anchor=
"Acknowledgments"
title=
"Acknowledgments"
>
<t>
Thanks to all other developers, including Soeren Skak Jensen, Gregory Maxwell,
Christopher Montgomery, Karsten Vandborg Soerensen, and Timothy Terriberry.
</t>
</section>
-->
</middle>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment