mp4-dummy

1.2.1 • Public • Published

Simple browser/node module to generate a dummy mp4 file of a specific duration. The mp4 file contains a fixed black image and a silent audio track.

Installation

$ npm install mp4-dummy

Usage

const mp4Dummy = require('mp4-dummy');

// Generates a 10 second mp4 file
const mp4File = mp4Dummy(10)

API

mp4Dummy(nbSeconds: number): ArrayBuffer

Package Sidebar

Install

npm i mp4-dummy

Weekly Downloads

1

Version

1.2.1

License

MIT

Unpacked Size

8.21 kB

Total Files

5

Last publish

Collaborators

  • maximedupre