Skip to content

feat: Implement audio pre-rendering for custom tracks#133

Merged
hm21 merged 2 commits into
stablefrom
fix/audio-stutter
May 10, 2026
Merged

feat: Implement audio pre-rendering for custom tracks#133
hm21 merged 2 commits into
stablefrom
fix/audio-stutter

Conversation

@hm21
Copy link
Copy Markdown
Owner

@hm21 hm21 commented May 10, 2026

Description

Implemented audio pre-rendering for custom tracks to ensure gap-less playback and eliminate audible clicks during looping. Updated the composition building process to handle temporary audio files, ensuring proper cleanup after export.

Related Issue: Closes #

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

hm21 added 2 commits May 10, 2026 23:40
- Added AudioPreRenderer to pre-render custom audio tracks into PCM WAV files, ensuring gap-less playback and eliminating audible clicks during looping.
- Updated AudioSequenceBuilder to utilize AudioPreRenderer for inserting audio tracks into AVMutableComposition.
- Modified CompositionBuilder to handle temporary file URLs for pre-rendered audio, ensuring proper cleanup after export.
- Enhanced RenderVideo and ApplyComposition to accommodate changes in audio handling and temporary file management.
@hm21 hm21 merged commit d5014ad into stable May 10, 2026
1 check passed
@hm21 hm21 deleted the fix/audio-stutter branch May 10, 2026 17:02
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.

1 participant