Enforces rules in Gabe's discord server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Geometer1729 7e6807c787
make count more interesting
3 years ago
..
src Add thicc node modules 3 years ago
test Add thicc node modules 3 years ago
.eslintrc.json Add thicc node modules 3 years ago
.travis.yml Add thicc node modules 3 years ago
LICENSE Add thicc node modules 3 years ago
README.md Add thicc node modules 3 years ago
output.opus Add thicc node modules 3 years ago
package.json Add thicc node modules 3 years ago

README.md

prism-media

Build Status dependencies devDependencies

Makes programmatically transcoding media easier

npm install --save hydrabolt/prism-media

const Prism = require('prism-media');
const fs = require('fs');

const prism = new Prism();

const transcoder = prism.transcode({
  type: 'ffmpeg',
  media: './test/test.mp3',
  ffmpegArguments: [
    '-analyzeduration', '0',
    '-loglevel', '0',
    '-f', 's16le',
    '-ar', '48000',
    '-ac', '2',
  ],
});

transcoder.output.pipe(fs.createWriteStream('./test/test.pcm'));