opus-tools icon indicating copy to clipboard operation
opus-tools copied to clipboard

How to modify metadata without re-encoding?

Open Zapeth opened this issue 2 years ago • 5 comments

As far as I can tell, the only way to modify metadata with opus tools is with opusenc during encoding? It doesn't support opus files as input, and opusinfo only displays information.

If there really is no official tool for this, I think an equivalent to metaflac or vorbiscomment would be needed in opus tools.

Zapeth avatar May 21 '22 09:05 Zapeth

There is no official tag editing tool in opus-tools, but other tools that support tag editing often work with Opus files. An official tool may be added to opus-tools in the future.

mark4o avatar May 29 '22 04:05 mark4o

Thanks for the info, in case someone else is looking for an open source tool, here are two mentioned https://github.com/xiph/opus-tools/issues/48 (opustags worked fine for me).

You can close this issue again if you want (the above mentioned issue is similar to this one, I just missed it when I created this issue).

Zapeth avatar May 30 '22 21:05 Zapeth

[Zapeth]

If there really is no official tool for this, I think an equivalent to metaflac or vorbiscomment would be needed in opus tools.

What do you mean by 'official'? According to <URL: https://stackoverflow.com/questions/49496995/how-can-i-add-metadata-in-opus-files > it can be done using

ffmpeg -i myfile.opus -metadata FOO="Bar Baz" -codec copy myfile-withmeta.opus

Happy hacking Petter Reinholdtsen

petterreinholdtsen avatar Oct 11 '22 07:10 petterreinholdtsen

What do you mean by 'official'?

That its developed/maintained by the people who created the format (in this case Xiph.Org Foundation), and ideally is bundled with the other set of tools to work with the format (I already gave metaflac and vorbiscomment as examples).

Zapeth avatar Oct 31 '22 11:10 Zapeth

I'd also be interested in something like this, ffmpeg's opus encoder currently doesn't support embedding images and I've had opustags fail on files with embedded thumbnails. Opuscomment does work well, however it isn't packaged on a lot of distros and it would be more convenient if it or something like it were to be bundled with opus-tools.

halcyonseeker avatar Jan 03 '23 01:01 halcyonseeker