Capítulo 142 de 988

Chapter 142: getSilentParts()

Core Idea

<YouTube minutes={2} href="https://www. youtube.

Key Concepts

  • Example
  • Arguments
  • source
  • noiseThresholdInDecibels?
  • minDurationInSeconds?
  • logLevel?
  • binariesDirectory?<AvailableFrom v="4.0.120" />
  • Return Value

Code Examples

const {silentParts, durationInSeconds} = await getSilentParts({
  src: '/Users/john/Documents/bunny.mp4',
  noiseThresholdInDecibels: -20,
  minDurationInSeconds: 1,
});

console.log(silentParts); // [{startInSeconds: 0, endInSeconds: 1.5}]
  • What it demonstrates: Usage pattern for getSilentParts() from the official docs.

Key Takeaways

  1. Understand example when working with getSilentParts().
  2. Understand arguments when working with getSilentParts().
  3. Understand source when working with getSilentParts().
  4. Understand noisethresholdindecibels? when working with getSilentParts().
  5. Understand mindurationinseconds? when working with getSilentParts().

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.