Skip to content

thurti/wo-audio-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Audio File Converter

Repo for https://worksoffline.app/audio-converter

Dev

npm install
npm run copy-ffmpeg
npm run dev

FFmpeg Update

FFmpeg gets cached on its own. To update ffmpeg copy new files to public/lib/ffmpeg and set new version number in .env. This would udpate the cached version.

Browser & Server Requirements

Browser must support Shared Array Buffer. Cross Origin Isolation Headers: https://developer.chrome.com/blog/enabling-shared-array-buffer/#cross-origin-isolation

FFMPEG References

format options
wav https://trac.ffmpeg.org/wiki/audio%20types
mp3 https://trac.ffmpeg.org/wiki/Encode/MP3
https://en.wikipedia.org/wiki/MP3#Bit_rate
ogg  https://wiki.hydrogenaud.io/index.php?title=Recommended_Ogg_Vorbis#Recommended_Encoder_Settings
mp4/aac https://trac.ffmpeg.org/wiki/Encode/AAC
flac https://www.ffmpeg.org/ffmpeg-codecs.html#flac-2

Credits

This project was only made possible by the work of wonderful people who publish open source libraries.