mifi / mifi/editly

[ Bug Report ] the video does not synchronize with sound when i merge with multiple videos

Open
#108 6 comments 1 reaction 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.