Modelling Music Albums In Modern File Formats

20
Modelling Music Albums Modelling Music Albums in Modern File Formats in Modern File Formats Michael Grafl @mykey_ Barcamp Klagenfurt 07.02.2010

description

Slides from session held at Barcamp Klagenfurt 2010. Video of the presentation is at http://ustre.am/:j1iT

Transcript of Modelling Music Albums In Modern File Formats

Page 1: Modelling Music Albums In Modern File Formats

Modelling Music Albums Modelling Music Albums in Modern File Formatsin Modern File Formats

Michael Grafl@mykey_

Barcamp Klagenfurt07.02.2010

Page 2: Modelling Music Albums In Modern File Formats

ContentContent

IntroductioniTunesLPMusicDNAMPEG-21 File Format (.m21)MPEG-21 Digital ItemMusic Album in .m21 File

VLC MPEG-21-PluginBackwards Compatibility

Conclusion

07.02.2010 Modelling Music Albums in Modern FileFormats Michael Grafl 2

Page 3: Modelling Music Albums In Modern File Formats

IntroductionIntroduction

07.02.2010 Modelling Music Albums in Modern FileFormats Michael Grafl 3

Store music album + metadata in a single file

Page 4: Modelling Music Albums In Modern File Formats

iTunesLPiTunesLP

07.02.2010 Modelling Music Albums in Modern FileFormats Michael Grafl 4

Page 5: Modelling Music Albums In Modern File Formats

07.02.2010 Modelling Music Albums in Modern FileFormats Michael Grafl 5

MusicDNAMusicDNA

Page 6: Modelling Music Albums In Modern File Formats

MPEG-21 File Format (.m21)MPEG-21 File Format (.m21)

Standardised, interoperable file format

Has common base with MP4: "MPEG-4 ISO Base Media File Format"

Can be played by VLC with a small plugin

Includes metadata in an XML-based format: DIDL

07.02.2010 Modelling Music Albums in Modern FileFormats Michael Grafl 6

Page 7: Modelling Music Albums In Modern File Formats

MPEG-21 Digital ItemMPEG-21 Digital Item

Fundamental concept in MPEG-21Structured digital objectUniquely identifiableBinds metadata to content

Digital Item Declaration Language (DIDL)XML-based representation

07.02.2010 Modelling Music Albums in Modern FileFormats Michael Grafl 7

Page 8: Modelling Music Albums In Modern File Formats

MPEG-21 Digital ItemMPEG-21 Digital Item

07.02.2010 Modelling Music Albums in Modern FileFormats Michael Grafl 8

Page 9: Modelling Music Albums In Modern File Formats

Album Album TrackTrack

ID (EAN, UPC, ...)ArtistTitleComposer, CompanyDate, Country, LanguageGenre CopyrightDescriptionHomepageParental-RatingCover Art

ArtistTitleComposer, CompanyDurationCoding-FormatSize, BitrateDateTrack-NumberGenreCopyrightLyrics

07.02.2010 Modelling Music Albums in Modern FileFormats Michael Grafl 9

Page 10: Modelling Music Albums In Modern File Formats

Music Album in .m21 FileMusic Album in .m21 File

Creation of .m21 files:Command line tool Based on GPAC Project on Advanced ContentUses MusicBrainz.org for initial metadata

.m21 file compatible with MP4

Media Player Plugin:Plugin for VLC Media PlayerBased on the built-in MP4-Plugin

07.02.2010 Modelling Music Albums in Modern FileFormats Michael Grafl 10

Page 11: Modelling Music Albums In Modern File Formats

VLC MPEG-21-PluginVLC MPEG-21-Plugin

Demultiplexer module

Detect and play .m21 files

Show tracks in the playlist

Show cover art

Show additional metadata

07.02.2010 Modelling Music Albums in Modern FileFormats Michael Grafl 11

Page 12: Modelling Music Albums In Modern File Formats

VLC MPEG-21-PluginVLC MPEG-21-Plugin

07.02.2010 Modelling Music Albums in Modern FileFormats Michael Grafl 12

Page 13: Modelling Music Albums In Modern File Formats

Backwards CompatibilityBackwards Compatibility

VLC can play .m21 files even without the pluginTreats the file as .mp4

07.02.2010 Modelling Music Albums in Modern FileFormats Michael Grafl 13

Page 14: Modelling Music Albums In Modern File Formats

ConclusionConclusion

Pack music album into a single file and play it with VLC

Add metadata (cover, lyrics, etc.)

Enhanced searchability

Technology could be used to pack an entire DVD-Video into a single file (like iTunesExtras)

To be released on http://sourceforge.net/projects/music-

07.02.2010 Modelling Music Albums in Modern FileFormats Michael Grafl 14

Page 15: Modelling Music Albums In Modern File Formats

THANK YOU FOR YOUR THANK YOU FOR YOUR ATTENTION!ATTENTION!

Page 16: Modelling Music Albums In Modern File Formats

(Backup Slides)(Backup Slides)

Page 17: Modelling Music Albums In Modern File Formats

MPEG-21 Part 9: File FormatMPEG-21 Part 9: File Format

ftyp box: major-brand = ‘mp21’, compatible-brands = ‘mp21’.

meta box: (container)handler box: hdlr = ‘mp21’XML box: contains the MPEG-21 DID XML,

with a relative URL “image.jpg” for the image

Item Location:itemID = 1, extent_count = 1,extent_offset = X, extent_length = Y;Item Info: itemID = 1, item_protection_index = 0

(unused),item_name = “image.jpg”,content_type = “image/jpeg”,content_encoding = “” (binary)

Media data box:JPEG Image (at file offset X, with length Y) Quelle: [3]

MPEG-21 File Format: Player & Authoring SW 1712.10.2009

Page 18: Modelling Music Albums In Modern File Formats

mp21_creatormp21_creator: Architecture: Architecture

MPEG-21 File Format: Player & Authoring SW 1812.10.2009

Page 19: Modelling Music Albums In Modern File Formats

File SizesFile Sizes

MPEG-21 File Format: Player & Authoring SW 19

Album: Jennifer Lopez -

"Como ama una mujer"

12.10.2009

Page 20: Modelling Music Albums In Modern File Formats

File Sizes (Detail)File Sizes (Detail)

MPEG-21 File Format: Player & Authoring SW 20

Album: Jennifer Lopez -

"Como ama una mujer"

12.10.2009