GithubHelp home page GithubHelp logo

damp11113 / xhe-opus Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 42.2 MB

Very High Performace Opus

License: MIT License

Python 100.00%
audio-codec audio-compression audio-converter codec compression opus opus-codec python python-library python-project

xhe-opus's Introduction

im making c++ version for more efficiency!

xHE-Opus

xHE-Opus

xHE-Opus is extended High Efficiency. It use Dual-Encoder to encode per channel and bitrate is divide 2 for per channel. It provides optimal coding efficiency with bitrates from 6 to 1020 kilobits per second and above. It has content loudness metadata on footer.

xHE-Opus v2

xHE-Opus v2 is extended High Efficiency. It use parametric stereo to encode stereo channel. It provides optimal coding efficiency with bitrates from 2.5 to 510 kilobits per second and above.

xheopusquality

Demo

test.mp4

Install

PyOgg (damp11113 moded)

Using

Gui

easy to use image

Cli

command line with encode.py and player.py

Encoder

to encode you can use

$ python3 encode.py
usage: encode.py [-h] [-sr SAMPRATE] [-b BITRATE] [-c COMPRESS] [-l LOSS] [-fs FRAMESIZE] [-bm BITMODE]
                 [-bw BANDWIDTH] [-a APP] [-v VER] [-pred] [-ph] [-dtx] [-sb]
                 input output
encode.py: error: the following arguments are required: input, output

simple example

$ python3 encode.py input.wav output.xopus

This will convert to xhe-opus with bitrate 64Kbps (32Kbps per channel), bitrate mode is CVBR, compression is 10 and app is hev2

or if you want to set bitrate you can use -b <bitrate> input bit per sec (bps) like

$ python3 encode.py input.wav output.xopus -b 16000

Decoder/Player

To player or decode this file you can use

$ python3 player.py input.xopus

or if you want only convert to wav you can use

$ python3 player.py input.xopus -o output.wav

Encode with foobar2000

you can encode xopus with foobar by follow this setup

image

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.