fetch-video-metadata

1.2.2 • Public • Published

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...

Readme

Keywords

none

Package Sidebar

Install

npm i fetch-video-metadata

Weekly Downloads

3

Version

1.2.2

License

ISC

Unpacked Size

26.2 MB

Total Files

6

Last publish

Collaborators

  • impin2rex