mifi / mifi/editly

set duration from audio file length

Open
#17 2 comments 0 reactions 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

I wonder what you think about this:

clips: [{ audio: './audioclip.ogg', layers: [{ type: "fabric", func }] }]

if duration isn't set then it will set the duration to the length of the audio file?

maybe the default could be to use the length of the video first but a person could set duration to be the length of the audio:

defaults: {
    duration = audio,
},
clips: [{ audio: './audioclip.ogg', layers: [{ type: "fabric", func }] }]

or

clips: [{ duration: length('./audioclip.ogg'), audio: './audioclip.ogg', layers: [{ type: "fabric", func }] }]

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

No files, tests, or entry points are identified in the issue. Start by reviewing how the shown clip configuration handles duration and decide which proposed behavior is intended. Done means the chosen duration rule is implemented and covered by appropriate validation or tests.

Written by the indexing model from the issue text.

Assessment

Domain
audio-video-rtc
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.