1c7 / 1c7/Translate-Subtitle-File

用谷歌转语音报错--code": 400, "message": "Specify FLAC encoding to match audio file.", "status": "INVALID_ARGUMENT"

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

Nobody has claimed this yet.

Dominant language
No language data
Stars
2.6k
Forks
195
PR merge metrics
No merged PRs in 30d

Description

实测结果
1)用GCP(在设置页面,测试配置显示“正确”)语音转文字时,如果视频语言是中文或日文,报错讯息如下:
code": 400, "message": "Specify FLAC encoding to match audio file.", "status": "INVALID_ARGUMENT"

2)转英文没有问题,正常出字幕。

还请解决,谢谢开发者!

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 at the settings page's GCP configuration test and the speech-to-text path used for video subtitles. Reproduce the difference between English and Chinese or Japanese audio, then trace how the audio encoding is supplied to Google Cloud. Done means Chinese and Japanese transcription no longer return the FLAC encoding error while English transcription still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, google-cloud
Domain
cloud, desktop
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.