1.2.4 • Published 9 months ago

media2wav v1.2.4

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
9 months ago

media2wav

convert audio or video to wav

Getting Started

npm i media2wav

Usage

const {
    wav,
    streamify,
    bufferify,
    streamTo,
} = require('.')

bufferify(
    streamify('./media/test.mp4'),
    wav(),
    // first 30 seconds
    // wav(['-t', '30']),
)
.then(console.log)
.catch(console.log)

// streamify('./media/test.mp4')
// .pipe(wav())
// .pipe(wav(['-t', '3']))
// .pipe(streamTo('./media/qqxy.wav'))

License

MIT

1.2.4

9 months ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago