|
NAMEopustags - Ogg Opus tag editorSYNOPSISopustags --helpopustags [OPTIONS] INPUT opustags OPTIONS -i FILE... opustags OPTIONS -o OUTPUT INPUT DESCRIPTIONopustags can read and edit the comment header of an Ogg Opus file. It basically has two modes: read-only, and read-write for tag editing.In read-only mode, only the beginning of INPUT is read, and the tags are printed on standard output. INPUT can either be the name of a file or - to read from standard input. You can use the options below to edit the tags before printing them. This could be useful to preview some changes before writing them. In editing mode, you need to specify an output file with --output, or use --in-place to overwrite the input files. If the output is a regular file, the result is first written to a temporary file and then moved to its final location on success. On error, the temporary output file is deleted. Tag editing can be performed with the --add, --delete and --set options. Options can be specified in any order and don’t conflict with each other. First the specified tags are deleted, then the new tags are added. You can delete all the tags with --delete-all. This operation can be combined with --add to set new tags without being bothered by the old ones. If you want to replace all the tags, you can use the --set-all option which will cause opustags to read tags from standard input. The format is the same as the one used for output: newline-separated FIELD=Value assignment. All the previously existing tags as deleted. The Opus format specifications requires that tags are encoded in UTF-8, so that's the only encoding opustags supports. If your system encoding is different, the tags are automatically converted to and from your system locale. When the conversion is lossy, the incompatible characters are transliterated and a warning is displayed. Even if you edit an Opus file whose tags contains characters unsupported by your system encoding, the original UTF-8 values will be preserved for the tags you don't explictly modify. OPTIONS
EXAMPLESList all the tags in file foo.opus:opustags foo.opus Copy in.opus to out.opus, with the TITLE tag added: opustags in.opus --output out.opus --add "TITLE=Hello world!" Replace all the tags in dest.opus with the ones from src.opus: opustags src.opus | opustags --in-place dest.opus --set-all Remove the previously existing ARTIST tags and add the two X and Y ARTIST tags, then display the new tags without writing them to the Opus file: opustags in.opus --add ARTIST=X --add ARTIST=Y --delete ARTIST Edit tags interactively in Vim: EDITOR=vim opustags --in-place --edit file.opus CAVEATSopustags currently has the following limitations:
Internally, the OpusTags packet in an Ogg Opus file may contain extra arbitrary binary data after the comments. This block of data is currently not editable, but is always preserved. The same applies for the vendor string. If you need a feature not currently supported, feel free to open an issue or send an email with your use case. AUTHORFrédéric Mangano-Tarumi <fmang+opustags@mg0.fr>Report bugs at <https://github.com/fmang/opustags/issues>
Visit the GSP FreeBSD Man Page Interface. |