fetch-video-metadata
v1.2.2
Published
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.
Downloads
86
Readme
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...