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
08062004
Commit
08062004
authored
14 years ago
by
Jean-Marc Valin
Browse files
Options
Downloads
Patches
Plain Diff
Minor draft distribution update
parent
ebf9c032
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
COPYING
+0
-4
0 additions, 4 deletions
COPYING
README
+14
-10
14 additions, 10 deletions
README
doc/build_draft.sh
+1
-0
1 addition, 0 deletions
doc/build_draft.sh
opus_extra.txt
+2
-0
2 additions, 0 deletions
opus_extra.txt
with
17 additions
and
14 deletions
COPYING
+
0
−
4
View file @
08062004
...
...
@@ -13,10 +13,6 @@ notice, this list of conditions and the following disclaimer.
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
- Neither the name of the Xiph.org Foundation nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
...
...
This diff is collapsed.
Click to expand it.
README
+
14
−
10
View file @
08062004
...
...
@@ -26,13 +26,17 @@ To build from the git repository, the following steps are necessary
Once you have compiled the codec, there will be a test_opus executable in
the src/ directory. This can be in the following way:
% ./test_opus 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) Number of compressed bytes per frame (80 here means 32 kb/s)
5) Input PCM file (16-bit, machine endian)
6) Output PCM file after encoding and decoding (16-bit machine endian)
% ./test_opus <mode (0/1/2)> <sampling rate (Hz)> <channels> <bits per second> [options] <input> <output>
mode: 0 for audo, 1 for voice, 2 for audio:
options:
-cbr : enable constant bitrate; default: VBR
-bandwidth <NB|MB|WB|SWB|FB> : audio bandwidth (from narrowband to fullband); default: sampling rate
-framesize <2.5|5|10|20|40|60> : frame size in ms; default: 20
-max_payload <bytes> : maximum payload size in bytes, default: 1024
-complexity <comp> : complexity, 0 (lowest) ... 10 (highest); default: 10
-inbandfec : enable SILK inband FEC
-dtx : enable SILK DTX
-loss <perc> : simulate packet loss, in percent (0-100); default: 0
input and output are 16-bit PCM files (machine endian)
This diff is collapsed.
Click to expand it.
doc/build_draft.sh
+
1
−
0
View file @
08062004
...
...
@@ -3,6 +3,7 @@
echo
packaging
source
code
rm
-rf
opus_source
cat
opus_sources.mk celt_sources.mk silk_sources.mk opus_headers.txt celt_headers.txt silk_headers.txt |
grep
'\.[ch]'
|
sed
-e
's/^.*=//'
-e
's/\\//'
>
all_files.txt
cat
opus_extra.txt
>>
all_files.txt
tar
czf tmp_draft.tar.gz
`
cat
all_files.txt
`
mkdir
opus_source
...
...
This diff is collapsed.
Click to expand it.
opus_extra.txt
0 → 100644
+
2
−
0
View file @
08062004
README
COPYING
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