Code Monkey home page Code Monkey logo

amrtomp3's Introduction

AmrToMp3

AmrToMp3基本功能是将amr或wav格式的音频文件通过转换成为音频通用格式,程序使用goroutine并行处理增大 程序处理性能。环境依赖linux系统调用ffmpeg,如果没有对应运行环境可以下载docker镜像直接运行。 镜像地址为:docker.io/liyinda/alpine_amrtomp3

目录

环境

下载

Binary can be downloaded from Releases page.

编译

build binary

go get  github.com/liyinda/AmrToMp3
go build main.go

build docker image

#go version 1.9.7 & docker-ce 18.09.0
docker build --network="bridge"  -t "docker.io/liyinda/amrtomp3" .
docker pull docker.io/liyinda/alpine_amrtomp3 

运行

1)目录含义
./work #音频转换工作目录
./bak #音频文件备份目录
./audio #音频文件转换后生产目录

2)运行
nohup go run main.go &

run docker

docker run docker.io/liyinda/alpine_amrtomp3

运行参数

./main -h
Usage of ./main:
  -log string
        Log File Name (default "audio.log")
  -path string
        Audio Conversion Path (default ".")

amrtomp3's People

Contributors

liyinda246 avatar bjlfp avatar

Stargazers

江南一根葱 avatar  avatar Mauro Risonho de Paula Assumpção avatar buzai avatar Yiping Lu avatar  avatar  avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

bjlfp

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.