Whisper-generated timeline bars don't align with the waveform

オープン
#17,244 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
44/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
csharp

調査の方向性

Start by reproducing the reported timing difference in Subtitle Edit v5.5.0-beta15 with Purfview Faster-Whisper-XXL, then trace how Whisper timestamps become timeline bar positions and compare them with waveform playback. The issue gives example generated and listened start times, but names no files or tests and does not establish whether the offset comes from transcription timestamps or timeline rendering. Done means identifying and correcting the cause so displayed subtitle timings match the speech timing.

索引モデルが issue の本文から書いたものです。

説明

First of all, I'm absolutely delighted with the new timeline track font size and bar color settings!

The improved readability has made positioning subtitles so much easier and more comfortable.
These changes have made a real difference to my daily workflow.

A huge thank you to Nick for implementing these settings,
and to bichitoxxx for creating issue #17119 and bringing attention to this improvement!

By the way,
while working with the timeline, I noticed something I'd like to bring up.

Why don't the Whisper-generated timeline bars align with the waveform?

I tested this using Purfview Faster-Whisper-XXL in Subtitle Edit v5.5.0-beta15.

For example,
I generated subtitles for the section from 00:30:42.626 to 00:30:53.618. Whisper produced the following start times:

・ 00:30:43.710

・ 00:30:46.870

・ 00:30:50.990

However, based on my own listening, I would place the starts at:

・ 00:30:44.310

・ 00:30:47.360

・ 00:30:51.680

This means the generated subtitles start approximately 490–690 ms earlier than where I hear the speech beginning.

The offset is not consistent, either.
(Is this just Whisper-kun being a little too tege-tege? 😄)

Since these timeline bars represent actual subtitle timings,
shouldn't they accurately correspond to the speech visible in the waveform?

主要言語
C#
スター
15.1k
フォーク
1.4k
平均マージ
1時間 58分
マージ済み PR(30日)
564

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

SubtitleEdit/subtitleedit のほかの issue

SubtitleEdit/subtitleedit の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。