Giter Site home page Giter Site logo

silk2audio's Introduction

📽Silk2Audio

silk转wav,mp3的go实现

感恩 😘 silk-v3-decoder提供的silk转码

工作流程

  • 使用silk-v3-decoder编译对应平台的静态库,放入silk/
  • cgo调用silk-v3-decoder将silk文件编译为pcm
  • 使用ffmpeg 将pcm转码为wav,mp3实现

Tip1 --windows下学习

  • 模板中实现了windows版本的编译,可以直接运行,便于学习

  • linux版本需要在linux平台编译silk-v3-decoder,获得libSKP_SILK_SDK.a,替换掉silk/原有的

  • ffmpeg.exe也替换成linux下的ffmpeg执行文件即可


Tip2 --ubuntu

  • 通过 Go Plugin建立模块包(linux下支持)

    • 1.编译go文件为so模块包(项目附带ubuntu/arm64 编译的so包)
      go build  -buildmode=plugin silk.go
    • 2.运行test.go测试 (silk文件夹下放ffmpeg文件)
      go run test.go

silk2audio's People

Contributors

lisabiya avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

coolwind8214

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.