Skip to content

impin2rex/media-metadata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Video's MetaData Reader [fetch-video-metadata]

This package is built on top of MediaInfo. You can view any public video's metadata from the URL, or simply by inputting the file path.

Installation

Install my-project with npm

  npm install fetch-video-metadata

Usage/Examples

const { fetchMediaInfoFromUrl, fetchMediaInfoFromFile} = require("fetch-video-metadata");

(async () => {
  const metadataFromUrl = 
    await fetchMediaInfoFromUrl('https://media.istockphoto.com/videos/female-streamer-playing-games-on-her-computer-video-id1296587040');
  console.log('metadataFromUrl', metadataFromUrl);

  const metadataFromFile = await fetchMediaInfoFromFile('/Users/rex/Downloads/video.mp4');
  console.log('metadataFromFile', metadataFromFile);
})();

Roadmap

  • Additional demo page at web

  • CLI for operations

🚀 About Me

I'm a full stack developer...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages