Page MenuHomePhabricator

Compress audio before uploading?
Open, Needs TriagePublicFeature


Should LinguaLibre upload its pronunciations in FLAC format instead of uncompressed Wave files? FLAC compression is lossless, so it would save space (and bandwidth for users) without quality reduction. The only downside is that LinguaLibre’s server would use a bit more CPU for compressing the file. But that’s probably a very minor issue since it’s only needed once per file. To convert to FLAC in maximal compression, you can use something ffmpeg -i input.wav -compression_level 12 output.flac. Wikimedia Commons automatically transcodes FLAC to Vorbis and to MP3; see example FLAC file. Just a thought, not sure if it’s worth it.

Event Timeline

Sascha created this task.Jan 11 2019, 11:08 AM
KaMan added a subscriber: KaMan.Jan 11 2019, 8:39 PM
Pamputt moved this task from Backlog to RecordWizard on the Lingua Libre board.May 31 2020, 1:29 PM
Pamputt changed the subtype of this task from "Task" to "Feature Request".Oct 6 2020, 8:16 PM

I support flac, but ffmpeg produces non-standard flac files. For that reason, we should use the official flac encoder.