{"id":13670386,"url":"https://github.com/347830076/video-str","last_synced_at":"2025-04-27T13:32:13.417Z","repository":{"id":217142377,"uuid":"409820255","full_name":"347830076/video-str","owner":"347830076","description":"视频自动生成字幕str文件","archived":false,"fork":false,"pushed_at":"2021-09-24T10:50:19.000Z","size":18228,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-11T08:40:33.779Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/347830076.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-24T03:32:50.000Z","updated_at":"2023-06-27T05:30:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"a32cb154-e879-4186-8dc4-a93038fc2a68","html_url":"https://github.com/347830076/video-str","commit_stats":null,"previous_names":["347830076/video-str"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/347830076%2Fvideo-str","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/347830076%2Fvideo-str/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/347830076%2Fvideo-str/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/347830076%2Fvideo-str/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/347830076","download_url":"https://codeload.github.com/347830076/video-str/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251145611,"owners_count":21543073,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T09:00:40.546Z","updated_at":"2025-04-27T13:32:13.396Z","avatar_url":"https://github.com/347830076.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# srt-tool\n\n讯飞语音识别生成视频字幕文件~\n\n## 使用引导 \n\n### Step 1. 克隆代码，安装依赖\n```shell\ngit clone https://github.com/Simbachen/srt-tool\ncd srt-tool\nnpm install\nnpm link\n```\n### Step 2. 注册讯飞开发者账号\nhttps://xfyun.cn/ ,注册好后，创建一个新的APP，将id和key填到配置文件，新开发账户有免费的50个小时~可以开始使用了\n\n\n```javascript\nconst config = {\n  // 请求地址\n  hostUrl: \"http://raasr.xfyun.cn/api/\",\n  // 在控制台-我的应用-语音转写获取\n  appId: \"xxxxxxx\",\n  // 在控制台-我的应用-语音转写获取\n  secretKey: \"xxxxxxxxxxxxxxxxxxxxxxxxxxxx\"\n}\n```\n\n### Step 3. 进入视频目录，执行命令\n```shell\nsrt -i xxx.mp4\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F347830076%2Fvideo-str","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F347830076%2Fvideo-str","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F347830076%2Fvideo-str/lists"}