Interactive demo of Mediabunny v1.14.0 with metadata capabilities
import { Input, Output, Mp3OutputFormat } from 'https://cdn.jsdelivr.net/npm/mediabunny@1.14.0/+esm';
// Create a new MP3 file with metadata
const output = new Output({
format: new Mp3OutputFormat(),
});
// Add metadata tags
output.setMetadataTags({
title: 'Supernova',
artist: 'aespa',
album: 'Armageddon - The 1st Album',
date: new Date('2024-01-01'),
trackNumber: 1,
tracksTotal: 10,
genre: 'Korean Pop',
albumArtist: 'aespa',
// Copy cover art from existing file
images: tags.images,
});| Format | Metadata Type | Read | Write |
|---|---|---|---|
| MP3 | ID3v1 | ✓ | ✓ |
| ID3v2.3 | |||
| ID3v2.4 | |||
| FLAC | Vorbis Comments | ✓ | ✓ |
| OGG Vorbis | Vorbis Comments | ✓ | ✓ |
| MP4/M4A | iTunes | ✓ | ✓ |
| QuickTime | |||
| WebM | Matroska | ✓ | ✗ |
This is a demo playground for Mediabunny v1.14.0 - no actual files are processed.
Built with ❤️ by berrry.app