OpenCut-app / OpenCut-app/OpenCut

[BUG] The result of "Generate transcript" is inaccurate

Open
#703 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
89.8k
Forks
8.9k
PR merge metrics
No merged PRs in 30d

Description

Platform

mac

Browser

Chrome 144

Current Behavior

the result of "Generate transcript" is inaccurate,due to audio data samplerate mismatch.
whisper require samplerate=16000, not 44100。

Image

in my case, audio duration is 22s,but transcript result duration is 60.6s, 22 * 44100 / 16000 = 60.6

Expected Behavior

No response

Recurrence Probability

Always

Steps To Reproduce
  1. update an audio/video
  2. click "Generate transcript"
  3. wait for result
  4. result duration mismatch
Anything else?

No response

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

Trace the “Generate transcript” flow from the audio/video upload and inspect where the audio sample rate is passed to Whisper. Reproduce the issue with the listed steps, then verify that 16 kHz input produces transcript timing matching the source duration.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
audio-video-rtc
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.