Skip to content

fix: resolve compositor crash for H.264 MP4 files with container duration issues#132

Merged
hm21 merged 1 commit into
stablefrom
fix/ios-render-duration-exceed
May 10, 2026
Merged

fix: resolve compositor crash for H.264 MP4 files with container duration issues#132
hm21 merged 1 commit into
stablefrom
fix/ios-render-duration-exceed

Conversation

@hm21
Copy link
Copy Markdown
Owner

@hm21 hm21 commented May 10, 2026

Description

Resolve a crash occurring when rendering H.264 MP4 files with a container duration that exceeds the video track's actual frame duration. The compositor now clamps the time range to the video track's real duration, preventing requests for frames without available pixel buffers. A fallback to output a black frame has been added to handle cases where no source tracks are available.

Related Issue: Closes #131

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 hm21 merged commit 0f7f2ab into stable May 10, 2026
1 check passed
@hm21 hm21 deleted the fix/ios-render-duration-exceed branch May 10, 2026 08:00
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.

[Bug]: renderVideoToFile fails with "No source tracks available for compositing (sourceTrackIDs: 0, configTrackID: 1)" on iOS for certain H.264 mp4s

1 participant