Skip to content

Support more audio formats in useWindowedAudioData #5315

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

samohovets
Copy link
Member

@samohovets samohovets commented May 23, 2025

This closes #5314

  • Use useWindowedAudioData in music visualization template
  • AudioDecoder queue will grow without any control and cause memory problems. Implement throttling for parsing as it's faster than decoding.
  • Test with really long audio files (1hr+)
  • There are visible jumps between windows, need smarter strategy to concatenate windows
  • Add getPartialAudioData API to @remotion/webcodecs
  • Move useWindowedAudioData to the new package @remotion/audio-utils

Copy link

vercel bot commented May 23, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
bugs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 27, 2025 4:37pm
remotion ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 27, 2025 4:37pm

@JonnyBurger JonnyBurger linked an issue May 30, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

useWindowedAudioData: support more audio formats WebCodecs-based API for reading audio data partially
2 participants