1.2.4 • Published 1 year ago

media2wav v1.2.4

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
1 year 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

1 year ago

1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago