You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: assemble_highlights silently drops audio when only some clips have a track #19
assemble_highlights includes audio only when every input clip has an audio track. If even one clip is video-only, the entire output loses audio with no warning.
Where
src/tools/assembleHighlights.ts: hasAudio = infos.every((i) => i.audioCodec !== null), consumed by buildAssembleArgs in src/utils/produce.ts.
Impact
A common case: stitching a title_card (has a silent track) with real clips works, but mixing an audio-bearing recording with any video-only clip drops all audio from the result. The user gets a silent video with no indication why.
Suggested fix
Normalize audio per clip: synthesize a silent track (anullsrc) for clips that lack one so the xfade/concat audio chain always has N audio inputs, OR surface a clear note/error when audio is dropped. Preferred: pad with silence so partial-audio sets keep their audio.
Activity
fix: assemble_highlights keeps audio on mixed inputs via generated si…