Simple and lightweight application written in C++ for playing Ogg OPUS files. This is only can parse OGG Opus files, in future it may read OPUS codec data from other formats too (e.g mka).
Make sure that these dependencies are avialable in the environment you’re going to compile it,
on GNU/Linux it’s quite easy to install using a package manager. win32
branch already includes
a complete setup. On, MinGW/Cygwin you need to do this manually.
- Cross platform (with PortAudio).
- File globbing (only on UNIX).
queue multiple files at once for playback, like a playlist (e.g*.opus
selects all of the OPUS files in the current directory). - Very very lightweight.
This is the *nix style of building the application from the source. If you're looking for the Windows way to build this, head to the
win32
branch for that (MSVC toolchain and Visual Studio are required).All the libraries and DLLs are prebuilt for windows for the Win32 target (works for most processors supported by Windows), this reduces the fuss of linking libraries and DLLs. All the binaries and DLLs go to the
bin
directory.
This is the most traditional way to build up from source in *NIX based systems:
make build
sudo make install
make clean # optional: cleanup isn't required unless cleaning mess
Play a file from the examples/
directory in the repository.
$ opusplayer 'examples/tetris.opus'
...
* examples/tetris.opus [83.61s]
Play multiple files from the examples/
directory.
$ opusplayer 'examples/*.opus'
* examples/sine.opus [5.00s]
* examples/tetris.opus [83.61]