TagLib is a library for reading and editing the meta-data of several popular
audio formats. Currently it supports both ID3v1 and ID3v2 for MP3 files, Ogg
Vorbis comments and ID3 tags and Vorbis comments in FLAC, MPC, Speex, WavPack
TrueAudio, WAV, AIFF, MP4 and ASF files.
Provides
Requires
License
LGPL-2.1-or-later
Changelog
* Wed Oct 21 2026 Antonio Teixeira <antonio.teixeira@suse.com>
- Add fix-32bit-overflow.patch
* Fix 32-bit overflows and i586 test suite
* Sat Oct 17 2026 Martin Pluskal <mpluskal@suse.com>
- Update to version 2.3.2 (soname unchanged, libtag.so.2):
* 2.3.1: Matroska crash and element-length fixes, MP4 cnID
64-bit/chapter fixes, QT stsc allocation guard, XM save fix.
* 2.3.2: MP3 unsync/iTunes ID3 fixes, MP4 covr tolerance and
new codecs, Ogg muxed Vorbis comments, ASF property
improvements, RF64/BW64 support, Matroska scan/attachment
fixes, crafted-input hardening (DoS/resource exhaustion).
* Build: use Requires.private for zlib.
- Modernize spec (pkgconfig zlib, drop Group tags).
* Sun Jun 28 2026 Dirk Müller <dmueller@suse.com>
- update to 2.3:
* MP4: Support for chapters (Nero and QuickTime).
* WAV: Support for BEXT and iXML chunks.
* FLAC: Support for BEXT and iXML application blocks.
* Opus: New audio property `outputGain()`.
* Speed up Matroska reading by using seek head for element
lookup.
* Speed up Matroska writing by offering multiple write style
modes.
* More tolerant handling of files with oversized RIFF chunks,
zero size ID3v2
* frames and Matroska chapters without edition.
* Avoid wrong content-based detection as MPEG files.
* Fix bitrate calculations for MPEG ADTS and MP4 ESDS.
* Fix data race with multi-threaded use of `MP4::ItemFactory`.
* Fix unbounded recursion in EBML/Matroska `MasterElement` and
MP4 atoms.
* Limit number of MP4 atoms at top level.
* Fix writing too many offsets when updating MP4 stco/co64
atoms.
* Fix k bounds in Shorten Rice-Golomb coding.
* Tue Mar 24 2026 Dirk Müller <dmueller@suse.com>
- update to 2.2.1:
* Support edition, chapter and attachment UIDs in Matroska
simple tags.
* Avoid duplicates in Matroska complex property keys.
* Support for Matroska (MKA, MKV) and WebM files.
* Support for NI STEM in MP4 files.
* New method isDsd() in WavPack Properties.
* Stricter verification of ID3v2 frames.
* Fix setting the last header flag in Ogg FLAC files.
* Fix reading of the last page in Ogg streams.
* Avoid corrupting invalid Ogg FLAC files without Vorbis
comment.
* Windows: Support MP4 files with 64-bit atoms.
* Fix use of property keys with non-ASCII characters in C
bindings.
* Fix building with Android NDK 29.
- drop
0001-Do-not-warn-when-seeing-FLAC-picture-block-in-Ogg-fi.patch,
0002-Set-last-header-flag-in-FLAC-Metadata-block-type-fie.patch,
0003-Avoid-corrupting-an-invalid-FLAC-Ogg-file-without-Vo.patch,
0004-Fix-reading-of-last-page-in-ogg-stream.patch: upstream
* Tue Jan 13 2026 Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Fix writing of Vorbis comment for FLAC in Ogg, add patches:
* 0001-Do-not-warn-when-seeing-FLAC-picture-block-in-Ogg-fi.patch
* 0002-Set-last-header-flag-in-FLAC-Metadata-block-type-fie.patch
* 0003-Avoid-corrupting-an-invalid-FLAC-Ogg-file-without-Vo.patch
* 0004-Fix-reading-of-last-page-in-ogg-stream.patch
- Remove obsolete library dependency, obsolete with SOVERSION bump.
- Remove long obsolete susehelp fragments, drop corresponding
taglib.desktop file, remove deprecated update-desktop-file.
* Thu Sep 25 2025 Marius Grossu <marius.grossu@suse.com>
- Update to version 2.1.1
* Map ID3v2.3 IPLS frames to both ID3v2.4 TIPL and TMCL to have a consistent behavior when using MusicBrainz tags
* Fix missing include for wchar_t when using C bindings with MinGW.
* Mon Jun 02 2025 Martin Hauke <mardnh@gmx.de>
- Update to version 2.1
* Support for Shorten (SHN) files.
* Compile time configuration of supported formats: WITH_APE,
WITH_ASF, ...
* Compile time configuration of data and temporary directories
for unit tests: TESTS_DIR and TESTS_TMPDIR.
* C bindings: Added taglib_file_new_wchar() and
taglib_file_new_type_wchar().
* Preserve unicode encoding when downgrading to ID3v2.3.
* Do not store FLAC metadata blocks which are too large.
* Fix segfaults with String and ByteVector nullptr arguments.
* Tue Aug 27 2024 Antonio Teixeira <antonio.teixeira@suse.com>
- Update to 2.0.2:
* Fix parsing of ID3v2.2 frames.
* Tolerate MP4 files with unknown atom types as generated by Android tools.
* Support setting properties with arbitrary names in MP4 tags.
* Windows: Fix "-p" option in tagwriter example.
* Support building with older utfcpp versions.
* Thu Jul 25 2024 Dirk Müller <dmueller@suse.com>
- update to 2.0.1:
* Fix aborting when _GLIBCXX_ASSERTIONS are enabled.
* Fall back to utf8cpp header detection in the case that its
CMake configuration is removed.
* Improve compatibility with the SWIG interface compiler.
* Build system fixes for testing without bindings, Emscripten
and Illumos.
* C bindings: Fix setting UTF-8 encoded property values.
* Windows: Fix opening long paths.
* Wed May 08 2024 Dominique Leuenberger <dimstar@opensuse.org>
- USe %autosetup macro: allows us to eliminate usage of
deprecated %patchN syntax.
* Wed Jan 24 2024 Jonas Kvinge <jonaski@opensuse.org>
- Update to version 2.0:
* New major version, binary incompatible, but source-compatible with the
latest 1.x release if no deprecated features are used.
* Requires a C++17 compiler and uses features of C++17.
* Major code cleanup, fixed warnings issued by compilers and static analyzers.
* Made methods virtual which should have been virtual but could not be
changed to keep binary compatibility, remove related workarounds.
* Removed deprecated functions:
- APE::Item::Item(const String &, const String &)
- APE::Item::toStringList(): Use values()
- APE::Item::value(): Use binaryData()
- ASF::Properties::setLength()
- ByteVector::checksum()
- ByteVector::isNull(): Use isEmpty()
- ByteVector::null
- FLAC::File::setID3v2FrameFactory()
- FLAC::File::streamInfoData()
- FLAC::File::streamLength()
- FLAC::Properties::Properties(File *, ReadStyle)
- FLAC::Properties::sampleWidth(): Use bitsPerSample()
- File::isReadable(): Use system functions
- File::isWritable(): Use system functions
- FileName::str()
- FileRef::create(): Use constructor
- MP4::Tag::itemListMap(): Use itemMap()
- MPC::File::remove(): Use strip()
- MPC::Properties::Properties(const ByteVector &, long, ReadStyle)
- MPEG::File::save(int, ...): Use overload
- MPEG::File::setID3v2FrameFactory(): Use constructor
- MPEG::ID3v2::Frame::Header::Header(const ByteVector &, bool)
- MPEG::ID3v2::Frame::Header::frameAlterPreservation(): Use
fileAlterPreservation()
- MPEG::ID3v2::Frame::Header::setData(const ByteVector &, bool)
- MPEG::ID3v2::Frame::Header::size(unsigned int): Use size()
- MPEG::ID3v2::Frame::Header::unsycronisation(): use unsynchronisation()
- MPEG::ID3v2::Frame::checkEncoding(const StringList &, String::Type): Use
checkTextEncoding(const StringList &, String::Type)
- MPEG::ID3v2::Frame::headerSize(): Use Header::size()
- MPEG::ID3v2::Frame::headerSize(unsigned int): Use
Header::size(unsigned int)
- MPEG::ID3v2::FrameFactory::createFrame(const ByteVector &, bool)
- MPEG::ID3v2::FrameFactory::createFrame(const ByteVector &, unsigned int):
Use createFrame(const ByteVector &, const Header *)
- MPEG::ID3v2::RelativeVolumeFrame::channelType()
- MPEG::ID3v2::RelativeVolumeFrame::peakVolume(): Use peakVolume(ChannelType)
- MPEG::ID3v2::RelativeVolumeFrame::setChannelType()
- MPEG::ID3v2::RelativeVolumeFrame::setPeakVolume(const PeakVolume &): Use
setPeakVolume(const PeakVolume &, ChannelType)
- MPEG::ID3v2::RelativeVolumeFrame::setVolumeAdjustment(float): Use
setVolumeAdjustment(float, ChannelType)
- MPEG::ID3v2::RelativeVolumeFrame::setVolumeAdjustmentIndex(short): Use
setVolumeAdjustmentIndex(short, ChannelType)
- MPEG::ID3v2::RelativeVolumeFrame::volumeAdjustment(): Use
volumeAdjustment(ChannelType)
- MPEG::ID3v2::RelativeVolumeFrame::volumeAdjustmentIndex(): Use
volumeAdjustmentIndex(ChannelType)
- MPEG::ID3v2::Tag::footer()
- MPEG::ID3v2::Tag::render(int): Use render(Version)
- MPEG::XingHeader::xingHeaderOffset()
- Ogg::Page::getCopyWithNewPageSequenceNumber()
- Ogg::XiphComment::removeField(): Use removeFields()
- PropertyMap::unsupportedData(): Returns now const reference, use
addUnsupportedData() to add keys
- RIFF::AIFF::Properties::Properties(const ByteVector &, ReadStyle)
- RIFF::AIFF::Properties::Properties(const ByteVector &, int, ReadStyle)
- RIFF::AIFF::Properties::sampleWidth(): Use bitsPerSample()
- RIFF::WAV::File::save(TagTypes, bool, int): Use
save(TagTypes, StripTags, Version)
- RIFF::WAV::File::tag(): Returns now a TagUnion, use ID3v2Tag() to get an
ID3v2::Tag
- String::isNull(): Use isEmpty()
- String::null
- TrueAudio::File::setID3v2FrameFactory(): Use constructor
- WavPack::Properties::Properties(const ByteVector &, long, ReadStyle)
* Made methods const: Frame::Header::size(), Frame::headerSize(),
MP4::Atom::findall(), MP4::Atoms::find(), MP4::Atoms::path().
* Made classes non-virtual: APE::Footer, APE::Item, ASF::Attribute,
ASF::Picture, MP4::CoverArt, MP4::Item, ID3v2::ExtendedHeader, ID3v2::Footer,
ID3v2::Header, MPEG::Header, MPEG::XingHeader, Ogg::Page, Ogg::PageHeader.
* Removed type definitions in TagLib namespace: wchar, uchar, ushort, uint,
ulong, ulonglong, wstring: Use the standard types.
* Removed include file taglib_config.h and its defines TAGLIB_WITH_ASF,
TAGLIB_WITH_MP4: They were always 1 since version 1.8.
* Behaviora