Gathering detailed insights and metrics for prism-media
Gathering detailed insights and metrics for prism-media
Gathering detailed insights and metrics for prism-media
Gathering detailed insights and metrics for prism-media
prism-media-fork
Makes transcoding media easier (Fork from prism-media)
discord-ytdl-core
Simple ytdl wrapper for discord bots with custom ffmpeg args support.
@distube/prism-media
Easy-to-use stream-based media transcoding
@wozardlozard/prism-media
Easy-to-use stream-based media transcoding
npm install prism-media
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
Apache-2.0 License
254 Stars
229 Commits
56 Forks
2 Watchers
6 Branches
17 Contributors
Updated on Jul 02, 2025
Latest Version
1.3.5
Package Id
prism-media@1.3.5
Unpacked Size
44.05 kB
Size
13.63 kB
File Count
18
NPM Version
8.18.0
Node Version
18.8.0
Published on
Feb 27, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
4
An easy-to-use stream-based toolkit that you can use for media processing. All the features provided have predictable abstractions and join together coherently.
1// This example will demux and decode an Opus-containing OGG file, and then write it to a file. 2const prism = require('prism-media'); 3const fs = require('fs'); 4 5fs.createReadStream('./audio.ogg') 6 .pipe(new prism.opus.OggDemuxer()) 7 .pipe(new prism.opus.Decoder({ rate: 48000, channels: 2, frameSize: 960 })) 8 .pipe(fs.createWriteStream('./audio.pcm'));
The example above can work with either a native or pure JavaScript Opus decoder - you don't need to worry about changing your code for whichever you install.
The following dependencies are all optional, and you should only install one from each category (the first listed in each category is preferred)
ffmpeg-static
ffmpeg
from a normal installationCopyright 2019 - 2022 Amish Shah
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
8 existing vulnerabilities detected
Details
Reason
Found 4/29 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More