Skip to content

cleroux/mp4meta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

mp4meta

Create or update metadata in an MP4 file.
Supports the title, album, and artist fields.

Usage:

// Create an Mp4Meta object, passing in an Array of bytes representing the MP4 file.
// setTitle(), setArtist(), and setAlbum() are optional and chainable.
var myMp4 = new Mp4Meta(songData)
  .setTitle(title)
  .setArtist(artist)
  .setAlbum(album);

// apply() updates the MP4's metadata and returns the buffer array of binary data
var buffer = mp4.apply();

// toBase64() is also available to convert the binary MP4 data to base64
var base64 = mp4.toBase64();

About

Create or update metadata in an MP4 file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published