Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Feature Request] Multiple audio clips per audio track + detach audio from video

未关闭
#2,340 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
rust, tauri, typescript

调研方向

The audio track logic is likely in the timeline component; look for audio track lane creation and the 'Add audio' affordance. The detach audio feature would involve modifying clip handling, possibly in the media or clip models. Start by exploring the codebase for audio track and video clip management to understand the current single-clip-per-lane constraint and audio-video linkage.

由索引模型根据 Issue 内容生成。

描述

Description

Two related limitations in the editor's audio workflow (Cap 0.6.1, Windows):

1. A single audio track can only ever hold one audio file.
When you add an audio file, Cap places it on its own track lane. Adding another
audio file always targets an empty lane (or creates a new one) — the "Add audio"
affordance only renders while a lane is empty, so once a lane contains a segment
there is no way to add another audio clip to that same lane. This makes it
impossible to build a single "music" or "SFX" track holding several clips, or to
place two audio clips back-to-back on one lane. Every extra sound also adds a
whole new track row, which clutters the timeline in projects with several
stingers/effects.

Expected: allow multiple audio segments on one audio track — e.g. add the next
audio at the playhead on the existing lane, and allow dragging audio segments
between lanes. Other editors (Premiere, DaVinci Resolve) treat a track as a
container for many clips, not as one file per lane.

2. There is no way to detach/extract the audio from a video clip into its own
audio segment.

A recording's microphone/system audio is locked to its video clip: the clip menu
exposes volume and mute, but there is no "Detach audio"/"Unlink" action, so you
cannot move the audio independently, trim it separately from the video, or
extract the audio of an imported video into an editable audio track.

Expected: a "Detach audio" (or "Extract audio") action on clips and/or imported
media that creates an audio segment on an audio track referencing the clip's
source audio, leaving the video with its own (optionally muted) copy — matching
Premiere's "Detach Audio" / Resolve's "Detach Clip".

Reproduction
  1. Open the editor for any Studio recording.
  2. Click "Add track" in the timeline gutter, pick Audio, and add a music file —
    it lands on Audio 1.
  3. Try to add a second audio file onto Audio 1: the lane no longer shows the
    "Add audio" affordance, and picking Audio from the track tray opens the picker
    for a new lane (Audio 2) instead.
  4. Right-click the recording's video clip or an audio segment: there is no
    detach/extract audio action.
Additional Context
  • Cap version: 0.6.1
  • Operating system, version: Windows 11 (x64)
  • Device (optional): [fill in your CPU/GPU/RAM]
  • Related: #2328 (timeline/audio editing feature requests) and PR #2308
    (imported media tracks & waveforms) — this request is specifically about
    multiple clips per audio track and detaching audio from video.

Happy to split this into two separate issues if maintainers prefer.

主要语言
Rust
星标
22.5k
派生
1.9k
平均合并
7 小时 43 分钟
30 天内合并 PR
80

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

CapSoftware/Cap 的其他 Issue

查看 CapSoftware/Cap 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。