Skip to content

Latest commit

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

node-ffmetadata

Read and write media file meta data (e.g., MP3 ID3 tags) using ffmpeg's metadata framework.

Example

varffmetadata=require("ffmetadata"),fs=require("fs");// Read song.mp3 metadataffmetadata.read("song.mp3",function(err,data){if(err)console.error("Error reading metadata, err");elseconsole.log(data);});// Set the artist for song.mp3ffmetadata.write("song.mp3",{artist: "Me",},function(err){if(err)console.error("Error writing metadata");elseconsole.log("Data written");});

Installation

The ffmpeg command-line tool (or the libav fork) must be installed.

npm install ffmetadata

About

Read and write media metadata using ffmpeg

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages