How do I use one long music track and multiple audio files for each clip?
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.5k
- Forks
- 374
- PR merge metrics
- No merged PRs in 30d
Description
I've tried this setup, but the music file starts again on every clip.
{
width: 1280, height: 720, fps: 30,
outPath: './commonFeatures.mp4',
defaults: {
transition: { name: 'random' },
},
clips: [
{ duration: 13, layers: [{type: 'detached-audio', path: './assets/winxp.mp3', mixVolume: 50, cutFrom: 0.5 }] },
{ duration: 13, layers: [{type: 'detached-audio', path: './assets/winxp.mp3', mixVolume: 50, cutFrom: 0.5 }] },
{ duration: 13, layers: [{type: 'detached-audio', path: './assets/winxp.mp3', mixVolume: 50, cutFrom: 0.5 }] },
],
audioTracks: [
{ path: './assets/High [NCS Release] - JPB (No Copyright Music)-R8ZRCXy5vhA.m4a', cutFrom: 18 },
],
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the shown clips, detached-audio layers, and audioTracks configuration first. Reproduce the example and determine whether the long track is expected to continue across clips or whether the configuration needs a documented change; there are no files or tests named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- audio-video-rtc, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100