Ogg Vorbis utilities
oggdec
oggdec
(Figure 4) is a simple converter between file formats. The command structure is:
oggdec FILE.ogg
Multiple output files can be specified with a space-separated list, and output files are created using original file names for the name and adding a different extension. If you are importing a single file, you can use --outputfile=File
to change the file name. The default output is a .wav
file, the format usually used on a CD.
The option -bits=NUMBER
can be used to specify an 8- or 16-bit file. You can also create an output in RAW format by specifying --raw
as an option. For 16-bit files, you can also specify endianness with the option --endian=
, using 1
for small-endian and
for big-endian, or signedness with sign=
, using
for unsigned and 1
for signed. However, today usually you should not need to consider either of these optons.
vcut
vcut
(Figure 5) creates copies of an existing .ogg
file, beginning and ending at the specified locations, which are designated in seconds. The format is:
vcut SOURCE OUTPUT START-POINT +ENDPOINT
The original file is not affected.
vorbiscomment
Music players generally include options for displaying files by categories such as artist, title, track number, and genre. vorbiscomment
(Figure 6) is a utility for editing those comments and adding new categories. These comments are usually ripped along with the file and can be edited or expanded as you choose.
To see the existing comments, enter:
vorbiscomment --list FILE.ogg
A number of comments are standard to all files, but you can add your own with the options:
--append --comment 'NAME=VALUE'
Alternatively, you can place all the comments and modifications you want to make in a file, one per line, and add them to the file using the options --append --comment
. Use the option --append FILE.ogg
, press Return, add a comment in the format NAME=VALUE
(one per line), and press Ctrl+D when finished. Existing comments can be replaced by using the --write
option alongside the --append
and --comment
options. Comments can be written in UTF-8 format by the addition of --write
.
« Previous 1 2 3 Next »
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
New Steam Client Ups the Ante for Linux
The latest release from Steam has some pretty cool tricks up its sleeve.
-
Gnome OS Transitioning Toward a General-Purpose Distro
If you're looking for the perfectly vanilla take on the Gnome desktop, Gnome OS might be for you.
-
Fedora 41 Released with New Features
If you're a Fedora fan or just looking for a Linux distribution to help you migrate from Windows, Fedora 41 might be just the ticket.
-
AlmaLinux OS Kitten 10 Gives Power Users a Sneak Preview
If you're looking to kick the tires of AlmaLinux's upstream version, the developers have a purrfect solution.
-
Gnome 47.1 Released with a Few Fixes
The latest release of the Gnome desktop is all about fixing a few nagging issues and not about bringing new features into the mix.
-
System76 Unveils an Ampere-Powered Thelio Desktop
If you're looking for a new desktop system for developing autonomous driving and software-defined vehicle solutions. System76 has you covered.
-
VirtualBox 7.1.4 Includes Initial Support for Linux kernel 6.12
The latest version of VirtualBox has arrived and it not only adds initial support for kernel 6.12 but another feature that will make using the virtual machine tool much easier.
-
New Slimbook EVO with Raw AMD Ryzen Power
If you're looking for serious power in a 14" ultrabook that is powered by Linux, Slimbook has just the thing for you.
-
The Gnome Foundation Struggling to Stay Afloat
The foundation behind the Gnome desktop environment is having to go through some serious belt-tightening due to continued financial problems.
-
Thousands of Linux Servers Infected with Stealth Malware Since 2021
Perfctl is capable of remaining undetected, which makes it dangerous and hard to mitigate.