Git Product home page Git Product logo

srt-tool's Introduction

srt-tool

讯飞语音识别生成视频字幕文件~

使用引导

Step 1. 克隆代码,安装依赖

git clone https://github.com/Simbachen/srt-tool
cd srt-tool
npm install
npm link

Step 2. 注册讯飞开发者账号

https://xfyun.cn/ ,注册好后,创建一个新的APP,将id和key填到配置文件,新开发账户有免费的50个小时~可以开始使用了

const config = {
  // 请求地址
  hostUrl: "http://raasr.xfyun.cn/api/",
  // 在控制台-我的应用-语音转写获取
  appId: "xxxxxxx",
  // 在控制台-我的应用-语音转写获取
  secretKey: "xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}

Step 3. 进入视频目录,执行命令

srt -i xxx.mp4

srt-tool's People

Contributors

simbachen avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.