[ Bug Report ] the video does not synchronize with sound when i merge with multiple videos
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- TypeScript
- Stars
- 5.5k
- Forks
- 374
- PR merge metrics
- No merged PRs in 30d
Description
Version
ffmpeg v4.2
editly v0.11.1@latests
systemn window10
Steps to reproduce
await editly({
defaults: {
transition: null,
layer: { fontPath: fontPath }
},
width: config.videoConfig.short.width,
height: config.videoConfig.short.height,
outPath: this.output,
// here is multiple video clips
clips,
outputVolume: 0.5,
loopAudio: true,
keepSourceAudio: true,
fast: false
}).catch(console.error);
the clips kind of like below
this.data.map((post, index) => {
clips.push({
duration: parseInt(post.duration),
layers: [
{
left: 0,
top: 0,
width: 1,
height: 1,
type: "video",
path: post.originalPath,
resizeMode: ""
}
]
});
clips.push({
duration: 1,
layers: [
{
left: 0,
top: 0,
width: 1,
height: 1,
type: "video",
path: bPath,
resizeMode: "cover"
}
]
});
});
What is expected?
videos synchronize with sound, even with multiple videos.
What is actually happening?
the video does not synchronize with sound when i merge with multiple videos
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
Start by reproducing the supplied editly configuration with multiple video clips using ffmpeg 4.2 and editly v0.11.1. Compare the resulting audio and video timing across clip boundaries; the issue is done when merged videos remain synchronized with their sound.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100