Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
rife-fps
Advanced tools
Readme
This package uses pre-built Rife binaries in order to interpolate video frames. You can use this to increase the framerate, for example from 30FPS to 60FPS.
npm install rife-fps
import rife from "rife-fps"
/*The multiplier multiplies the framerate. To interpolate a 30FPS video into 60FPS set it to 2.*/
await rife.interpolateVideo("./videos/input.mp4", "./videos/input2.mp4", {multiplier: 2}, progress)
/*Just a directory of image frames.*/
await rife.interpolateDirectory("./input_images", "./output_images", {multiplier: 2}, progress)
/*You can track progress with a callback.*/
let progress = (percent: number) => {
console.log(percent)
}
export interface RifeOptions {
multiplier?: number
ffmpegPath?: string
sdColorSpace?: boolean
framerate?: number
quality?: number
rename?: string
rifePath?: string
threads?: number
speed?: number
reverse?: boolean
pitch?: number
noResume?: boolean
pngFrames?: boolean
transparentColor?: string
}
FAQs
Video framerate interlopation with rife
The npm package rife-fps receives a total of 17 weekly downloads. As such, rife-fps popularity was classified as not popular.
We found that rife-fps demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.