elliotttate / beatsaver-laravel

Rewrite of beatsaver.com (https://github.com/beatsaver/beatsaver) using the laravel framework
https://discord.gg/8B44zqM
MIT License
39 stars 19 forks source link

mp3 preview file conversion script #78

Open ngokevin opened 5 years ago

ngokevin commented 5 years ago

For retroactive conversions, alongside https://github.com/elliotttate/beatsaver-laravel/pull/73

73 required first to provision ffmpeg on the server / machine.

mp3

Convert OGG to MP3 and store in storage for audio preview. For easy access to song file without unzipping and to support iOS / Safari on browser previewers (e.g., BeatSaver Viewer).

Usage

Built with Node, uses ffmpeg. From the root folder:

cd scripts/mp3
npm install
node index.js
ngokevin commented 5 years ago

Thanks for the updates! When do you think we are planning to run this script?