2013-01-01 22:50:25 +01:00
|
|
|
opustags
|
|
|
|
========
|
|
|
|
|
2018-12-18 02:50:50 +01:00
|
|
|
View and edit Ogg Opus comments.
|
2013-01-01 22:50:25 +01:00
|
|
|
|
2018-12-18 02:50:50 +01:00
|
|
|
opustags is designed to be fast and as conservative as possible, to the point that if you edit tags
|
|
|
|
then edit them again to their previous values, you should get a bit-perfect copy of the original
|
|
|
|
file. No under-the-cover operation like writing "edited with opustags" or timestamp tagging will
|
|
|
|
ever be performed.
|
2017-10-01 12:26:56 +02:00
|
|
|
|
2018-12-18 02:50:50 +01:00
|
|
|
It currently has the following limitations:
|
2017-10-01 12:26:56 +02:00
|
|
|
|
2018-12-18 02:50:50 +01:00
|
|
|
- The total size of all tags cannot exceed 64 kB, the maximum size of one Ogg page.
|
|
|
|
- Multiplexed streams are not supported.
|
|
|
|
- Newlines inside tags are not supported by `--set-all`.
|
2017-10-01 12:26:56 +02:00
|
|
|
|
2018-12-18 02:50:50 +01:00
|
|
|
If you'd like one of these limitations lifted, please do open an issue explaining your use case.
|
|
|
|
Feel free to ask for new features too.
|
2017-10-01 12:26:56 +02:00
|
|
|
|
2013-01-02 10:04:25 +01:00
|
|
|
Requirements
|
|
|
|
------------
|
|
|
|
|
2018-10-30 23:28:12 +01:00
|
|
|
* a POSIX-compliant system,
|
2020-08-31 21:25:03 +02:00
|
|
|
* a C++17 compiler,
|
2021-01-08 19:05:31 +01:00
|
|
|
* CMake ≥ 3.11,
|
2018-12-18 02:50:50 +01:00
|
|
|
* libogg 1.3.3.
|
|
|
|
|
|
|
|
The version numbers are indicative, and it's very likely opustags will build and work fine with
|
|
|
|
other versions too, as CMake and libogg are quite mature.
|
2013-01-02 10:04:25 +01:00
|
|
|
|
2013-01-01 22:50:25 +01:00
|
|
|
Installing
|
|
|
|
----------
|
|
|
|
|
2018-10-31 00:14:34 +01:00
|
|
|
opustags is a commonplace CMake project.
|
|
|
|
|
2018-11-25 18:11:36 +01:00
|
|
|
Here's how to install it in your `.local`, under your home:
|
2018-10-31 00:14:34 +01:00
|
|
|
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=~/.local ..
|
2013-01-01 22:50:25 +01:00
|
|
|
make
|
2018-10-31 00:14:34 +01:00
|
|
|
make install
|
|
|
|
|
|
|
|
Note that you don't need to install opustags in order to run it, as the executable is standalone.
|
2013-01-01 22:50:25 +01:00
|
|
|
|
|
|
|
Documentation
|
|
|
|
-------------
|
|
|
|
|
|
|
|
Usage: opustags --help
|
|
|
|
opustags [OPTIONS] FILE
|
2020-09-26 13:12:15 +02:00
|
|
|
opustags OPTIONS -i FILE...
|
2013-01-01 22:50:25 +01:00
|
|
|
opustags OPTIONS FILE -o FILE
|
|
|
|
|
|
|
|
Options:
|
2018-12-18 02:00:27 +01:00
|
|
|
-h, --help print this help
|
|
|
|
-o, --output FILE specify the output file
|
2020-09-26 13:12:15 +02:00
|
|
|
-i, --in-place overwrite the input files
|
2018-12-18 02:00:27 +01:00
|
|
|
-y, --overwrite overwrite the output file if it already exists
|
|
|
|
-a, --add FIELD=VALUE add a comment
|
|
|
|
-d, --delete FIELD[=VALUE] delete previously existing comments
|
|
|
|
-D, --delete-all delete all the previously existing comments
|
|
|
|
-s, --set FIELD=VALUE replace a comment
|
|
|
|
-S, --set-all import comments from standard input
|
2020-10-24 12:00:19 +02:00
|
|
|
-e, --edit edit tags interactively in VISUAL/EDITOR
|
2020-12-26 13:16:52 +01:00
|
|
|
--raw disable encoding conversion
|
2013-01-01 22:50:25 +01:00
|
|
|
|
|
|
|
See the man page, `opustags.1`, for extensive documentation.
|