Chapter 140: getCanExtractFramesFast()
Core Idea
:::warning From v4. 0 on, frames can always be extracted fast and therefore the function has been removed.
Key Concepts
- When to use this API
- How to act on the results
- Reencoding a video
- Arguments
- src
ffmpegExecutable
ffprobeExecutable
- Return value
Code Examples
const result = await getCanExtractFramesFast({
src: '/var/path/to/video.mp4',
});
console.log(result.canExtractFramesFast); // false
console.log(result.shouldReencode); // true
- What it demonstrates: Usage pattern for getCanExtractFramesFast() from the official docs.
Key Takeaways
- Understand when to use this api when working with getCanExtractFramesFast().
- Understand how to act on the results when working with getCanExtractFramesFast().
- Understand reencoding a video when working with getCanExtractFramesFast().
- Understand arguments when working with getCanExtractFramesFast().
- Understand src when working with getCanExtractFramesFast().
Connects To
- Chromium Flags: related page in the Rendering & SSR section.
- Compare ssr: related page in the Rendering & SSR section.
- Dataset Render: related page in the Rendering & SSR section.