feat(video): add video transcripts (#559)

* feat(video): generate transcripts with the local embedding server

* feat(video): show saved transcripts in the player

* fix(video): preserve transcript seek timestamps

* fix(video): refine transcript viewing and generation

* feat(video): resize transcripts and follow playback earlier

* fix(video): animate transcript playback scrolling

* fix(video): transcribe from the smallest full proxy

* fix(video): refine the sync to playback button

* feat(video): edit transcript segment text inline

* fix(video): keep transcript segment highlighted over edit button

* docs(video): note embedding server version for transcripts
This commit is contained in:
Yiling-J
2026-12-04 13:49:25 +08:00
committed by GitHub
parent e420f03b35
commit d3899d1257
69 changed files with 7635 additions and 174 deletions
+28 -1
View File
@@ -1810,5 +1810,32 @@
"internal_comment_tooltip": "Internal comment — hidden from public share links",
"internal_reply_locked_tooltip": "Replies to internal comments are always internal",
"remove_timestamp": "Remove timestamp",
"failed_to_update_comment": "Failed to update comment"
"failed_to_update_comment": "Failed to update comment",
"generate_transcripts": "Generate Transcripts",
"transcript_language_auto": "Auto",
"transcript_queued": "Transcript generation queued.",
"transcript_generating": "Generating transcript…",
"transcript_completed": "Transcript generated.",
"transcript_no_speech": "No speech detected.",
"transcript_no_audio": "This video has no audio track.",
"transcript_proxy_required": "A full video proxy must be ready before you can generate transcripts.",
"transcript_audio_too_large": "The audio exceeds the embedding server’s upload limit.",
"transcript_failed": "Transcript generation failed.",
"transcript_submit_failed": "Could not start transcript generation.",
"transcript_already_exists": "A transcript already exists for this language.",
"transcript_languages_unavailable": "Could not load transcription languages.",
"transcript_no_languages_found": "No matching languages.",
"transcript_status_unavailable": "Could not check transcript status.",
"transcript_title": "Transcript",
"transcript_view": "Show transcript",
"transcript_close": "Close transcript",
"transcript_resize": "Resize transcript",
"transcript_search": "Search transcript",
"transcript_search_count": "{current} / {total}",
"transcript_previous_match": "Previous match",
"transcript_next_match": "Next match",
"transcript_sync_to_playback": "Sync to playback",
"transcript_load_failed": "Could not load this transcript.",
"transcript_edit_segment": "Edit segment text",
"transcript_save_failed": "Could not save this segment."
}
+28 -1
View File
@@ -1740,5 +1740,32 @@
"internal_comment_tooltip": "내부 댓글 — 공개 공유 링크에는 표시되지 않음",
"internal_reply_locked_tooltip": "내부 댓글에 대한 답글은 항상 내부 댓글로 작성됩니다",
"remove_timestamp": "타임스탬프 제거",
"failed_to_update_comment": "댓글을 수정하지 못했습니다"
"failed_to_update_comment": "댓글을 수정하지 못했습니다",
"generate_transcripts": "전사 생성",
"transcript_language_auto": "자동 감지",
"transcript_queued": "전사 작업이 대기열에 추가되었습니다.",
"transcript_generating": "전사를 생성하는 중…",
"transcript_completed": "전사를 생성했습니다.",
"transcript_no_speech": "음성이 감지되지 않았습니다.",
"transcript_no_audio": "이 동영상에는 오디오 트랙이 없습니다.",
"transcript_proxy_required": "전체 동영상 프록시 준비가 완료되면 전사를 생성할 수 있습니다.",
"transcript_audio_too_large": "오디오가 임베딩 서버의 업로드 한도를 초과합니다.",
"transcript_failed": "전사 생성에 실패했습니다.",
"transcript_submit_failed": "전사 생성을 시작할 수 없습니다.",
"transcript_already_exists": "이 언어의 전사가 이미 있습니다.",
"transcript_languages_unavailable": "전사 언어를 불러올 수 없습니다.",
"transcript_no_languages_found": "일치하는 언어가 없습니다.",
"transcript_status_unavailable": "전사 상태를 확인할 수 없습니다.",
"transcript_title": "전사",
"transcript_view": "전사 보기",
"transcript_close": "전사 닫기",
"transcript_resize": "전사 패널 크기 조정",
"transcript_search": "전사 검색",
"transcript_search_count": "{current} / {total}",
"transcript_previous_match": "이전 검색 결과",
"transcript_next_match": "다음 검색 결과",
"transcript_sync_to_playback": "재생 위치에 맞추기",
"transcript_load_failed": "이 전사를 불러올 수 없습니다.",
"transcript_edit_segment": "구간 텍스트 편집",
"transcript_save_failed": "이 구간을 저장할 수 없습니다."
}
+28 -1
View File
@@ -1810,5 +1810,32 @@
"internal_comment_tooltip": "内部评论 — 不会在公开分享链接中显示",
"internal_reply_locked_tooltip": "回复内部评论时只能发送内部评论",
"remove_timestamp": "移除时间戳",
"failed_to_update_comment": "更新评论失败"
"failed_to_update_comment": "更新评论失败",
"generate_transcripts": "生成转录",
"transcript_language_auto": "自动检测",
"transcript_queued": "转录任务已加入队列。",
"transcript_generating": "正在生成转录…",
"transcript_completed": "转录已生成。",
"transcript_no_speech": "未检测到语音。",
"transcript_no_audio": "此视频没有音轨。",
"transcript_proxy_required": "视频代理转码完成后才能生成转录。",
"transcript_audio_too_large": "音频超出嵌入服务器的上传大小限制。",
"transcript_failed": "转录生成失败。",
"transcript_submit_failed": "无法启动转录生成。",
"transcript_already_exists": "此语言的转录已存在。",
"transcript_languages_unavailable": "无法加载转录语言。",
"transcript_no_languages_found": "没有匹配的语言。",
"transcript_status_unavailable": "无法获取转录状态。",
"transcript_title": "转录",
"transcript_view": "显示转录",
"transcript_close": "关闭转录",
"transcript_resize": "调整转录面板宽度",
"transcript_search": "搜索转录",
"transcript_search_count": "{current} / {total}",
"transcript_previous_match": "上一个结果",
"transcript_next_match": "下一个结果",
"transcript_sync_to_playback": "同步到播放位置",
"transcript_load_failed": "无法加载此转录。",
"transcript_edit_segment": "编辑片段文本",
"transcript_save_failed": "无法保存此片段。"
}