Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 567 Bytes

README.md

File metadata and controls

14 lines (12 loc) · 567 Bytes

This is a simple fetch and convert app using ffmpeg

param

  • from: the from url where the resource is
  • inputformat, e.g. mp3
  • outputformat, e.g. ogg
  • param: additional ffmpeg args separated by ",". e.g. param=-ar,8000,-ac,1

config

You should change the paths in the config file. Copy and modify from config.js.sample

  • dataPath: where you save input and output file
  • httpPath: if you use a static file server, you can rewrite the path in the return js

install libs

Make sure ffmpeg is installed properly, such as libavcodec-extra-53, libmp3lame, etc...