taglib-ruby icon indicating copy to clipboard operation
taglib-ruby copied to clipboard

Opus support

Open meew0 opened this issue 4 years ago • 3 comments

TagLib supports reading Ogg Opus files: https://taglib.org/api/classTagLib_1_1Ogg_1_1Opus_1_1File.html

However, taglib-ruby only appears to support Ogg Vorbis. Opening opus files with taglib-ruby's vorbis wrapper works in principle, but it does not parse any tags — the tag property will be nil.

Would it be possible to add opus support to taglib-ruby?

meew0 avatar May 07 '20 18:05 meew0

I'm sure it would be possible, yeah! It would be nice if someone added, I've marked this issue as help-wanted now.

robinst avatar Jun 25 '20 12:06 robinst

FYI, taglib 1.11.1 has a long running issue that cause corruption of Ogg (Vorbis?) files: https://github.com/taglib/taglib/issues/864 Fix is in 1.12-beta, don't know when the final version will be available, though. I havn't tested anything, but since Opus files uses the Ogg container, there's a chance for Opus files to be impacted too.

I'm not sure if support for Opus with the risk of corrupting files is better than no support for Opus. It might be worth waiting for 1.12...

Sigill avatar Jun 25 '20 13:06 Sigill

Hmm good to know.

robinst avatar Jun 25 '20 13:06 robinst