libvorbis VS opus

Compare libvorbis vs opus and see what are their differences.

libvorbis

Haskell binding for libvorbis, for decoding Ogg Vorbis audio files (by the-real-blackh)

opus

Modern audio compression for the internet. (by xiph)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
libvorbis opus
3 26
1 2,103
- 1.3%
0.0 9.6
over 1 year ago 6 days ago
C C
BSD 3-clause "New" or "Revised" License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

libvorbis

Posts with mentions or reviews of libvorbis. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-24.
  • 3D graphics on Haskell in 2023
    6 projects | /r/haskell | 24 Mar 2023
    And that's PNG, for reading something more hard to come by, like OggVorbis, there's just one tiny mid-level library called libvorbis. (btw does anyone know a working email of the maintainer of that package, I have an update for that too)
  • Should raw library bindings drop the namespace prefix?
    5 projects | /r/haskell | 11 Dec 2022
    For context, I have written complete bindings to five different C libraries (freetype2, libvorbis, libspng, al, Chipmunk2D) and the question in the title may very well be the last one I have concerning FFI for quite some time. The question originates from the fact that chiphunk strips prefixes, something no other low-level library I've seen does.
  • Managing structs within low-level FFI bindings
    2 projects | /r/haskell | 15 May 2022
    Over the past few years I've written several low-level bindings: freetype2 (actually on Hackage), libvorbis (still waiting for a review on that one) and libpng (package name for that is free, I've just never submitted anything to Hackage myself).

opus

Posts with mentions or reviews of opus. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-08.
  • TSAC: Low Bitrate Audio Compression
    4 projects | news.ycombinator.com | 8 Apr 2024
    Opus doesn't support 44.1 kHz because compatibility and effort/benefit ratio:

    https://github.com/xiph/opus/issues/43

    The browser audio limitation is presumably a workaround to some bug or performance limitation that was relevant at some point in history (the site was created in 2014).

  • Permutation Iteration and Random Access
    4 projects | news.ycombinator.com | 23 Aug 2023
    There is a pattern here (that also goes with the author's prior article on inverting gauss' sum formula): Generally if if you can make a formula that counts the combination of things you can convert that into a code to encode and decode those combinations into indexes.

    So for example the opus audio codec needs to encode/decode vectors of dimension n whos absolute values sum to k. https://github.com/xiph/opus/blob/master/celt/cwrs.c#L74

    Or this rolling cuckoo filter that optimally encode/decode four sorted numbers in a range 0..2N with the constraint that the they span a range of N. https://github.com/sipa/bitcoin/blob/202006_cuckoo_filter/sr...

    If you're lucky there will be closed form expressions for the encoding and decoding equations. (There for both of the above, at least for some parameters, but in both those examples the implementations use small tables because for the ranges involved the tables end up being faster than sqrts).

  • A CPU in Sunvox
    1 project | news.ycombinator.com | 18 Aug 2023
    Too bad 10Hz is a too slow to generate audio-rate bitops music.

    (e.g. https://github.com/xiph/opus/blob/master/tests/test_opus_enc... )

  • L’avenir de la loi Hadopi suspendu à une décision de la justice européenne
    1 project | /r/france | 16 Apr 2023
  • Global Underground Disk Images
    1 project | /r/House | 22 Mar 2023
    Could anyone help me get a disk image files for older Global Underground CDs? I encoded my old CDs into subpar mp3 files, and I'd now like to have high-quality Opus encodings and experiment across various bitrates.
  • Which is better Opus or AC3?
    1 project | /r/AskReddit | 18 Mar 2023
    Presumably, OP is referring to the Opus audio codec versus Dolby's AC3 codec.
  • HD: Opus?
    1 project | /r/pixelbuds | 8 Mar 2023
    Indeed. https://opus-codec.org/
  • Multiple tags with the same name in metadata
    2 projects | /r/ffmpeg | 8 Jan 2023
    If there are multiple tags with the same name, Ffmpeg will only use the last tag. If you really need to have multiple tags with the same name in your OPUS files, use opusenc instead (https://opus-codec.org/). Beware that some playback software does not display multiple artists gracefully.
  • I built a Zoom clone 100% IN RUST
    12 projects | /r/rust | 24 Oct 2022
    AFAIK ogg isn't really suitable for low latency audio streaming. Consider the Opus codec instead.
  • ffmpeg libopus producing larger file size for the same bitrate as compared to vorbis
    1 project | /r/opus | 12 Oct 2022
    I have asked on GitHub also https://github.com/xiph/opus/issues/263 in anyone wants to respond there.

What are some alternatives?

When comparing libvorbis and opus you can also consider the following projects:

ffmpeg-libav-tutorial - FFmpeg libav tutorial - learn how media works from basic to transmuxing, transcoding and more. Translations: 🇺🇸 🇨🇳 🇰🇷 🇪🇸 🇻🇳 🇧🇷

go-m3u8 - Parse and generate m3u8 playlists for Apple HTTP Live Streaming (HLS) in Golang (ported from gem https://github.com/sethdeckard/m3u8)

HCodecs - A library to read, write and manipulate MIDI, WAVE, and SoundFont2 files

argos-translate - Open-source offline translation library written in Python

logic-TPTP - Import, export etc. for TPTP, a syntax for first-order logic

vorbis - Reference implementation of the Ogg Vorbis audio format.

mime - A Haskell MIME library

vgmstream - vgmstream - A library for playback of various streamed audio formats used in video games.

simple-tar - A very simple tar archive processing library

libopenaptx - Open Source implementation of Audio Processing Technology codec (aptX)

minimp3 - Minimalistic MP3 decoder single header library

vgmstream - vgmstream - A library for playback of various streamed audio formats used in video games. [Moved to: https://github.com/vgmstream/vgmstream]