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
-
Canonical Releases Ubuntu 24.04
After a brief pause because of the XZ vulnerability, Ubuntu 24.04 is now available for install.
-
Linux Servers Targeted by Akira Ransomware
A group of bad actors who have already extorted $42 million have their sights set on the Linux platform.
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.