/srv/irclogs.ubuntu.com/2021/06/15/#ubuntu-us-mi.txt

waldo323__my google skills are failing me, i'm looking for a way to convert wav files to a lower bitrate and keep them as wav files to reduce the space they are taking up. if it isn't possible we can go the route of changing to a different format but thats not whats been requested20:19
waldo323__anyone here have advice or examples? my initial thought was to use ffmpeg but when i tried what i thought was the correct command for lowing the bitrate, it did not work20:20
cmaloneysox might be the way to do, but what you're looking for is sample rate20:23
cmaloneyor a combination of the two20:23
cmaloneythat said, be sure you want to do this. It can really damage the audio quality and lead to some unpleasant effects if done improperly20:24
waldo323__yeah, the idea is to backup/archive originals and keep something we can understand 20:27
cmaloneyThe Speex codec is really good for this20:27
cmaloneyand is OSS20:27
waldo323__also needs to be natively accessible on windows :-\20:28
waldo323__converting from wav to flac was around a 60% improvement, mp3 was a better size but definite drop in quality but was still understandable20:29
cmaloneyhttps://www.speex.org/samples/20:30
waldo323__oh neat20:31
waldo323__thanks, i'll see where this gets me- i think the right track20:35
cmaloneynp20:37
cmaloneyNote that the samples on that site are still .wav files20:37
cmaloneybut the quality for speech is really impressive20:37
waldo323__I saw that note and i was hoping to see what they used to do that :)20:39
cmaloneyheh20:43
waldo323__for some of the files we have them created from multiple sources and one is using a bit rate of 128k and the other is 13k and the 128k bit rate files are using tons of space20:56
cmaloneymp3 or wav file?20:59
waldo323__that reads less clearly than i'd like.  some audio files are the same audio but created from difference sources so there are duplicates of some of these but the higher bitrate files use a lot of space21:00
waldo323__they are all wav21:00
cmaloneyYeah, because .wav isn't compressed21:00
waldo323__the higher bit rate files are encoded 16-bit Signed Integer PCM and the smaller are gsm21:01
cmaloneyit's the same as running reel-to-reel tape at 1/4" vs 2" per second 21:01
cmaloneyThat's why I'm recommending not using wav files21:01
cmaloneybecause you're going to get more compression with something like mp3 or flac21:01
cmaloneyand you're not going to have to fiddle with .wav settings (which can make files that are unreadable)21:02
cmaloneya 64kbps mp3 file with VBR mono should suffice for archive.21:02
waldo323__i agree with and like your logic. 21:03
waldo323__i was strongly encouraged to keep the filename the same21:07
waldo323__which was the wrench i didn't want21:07
cmaloneythat is unfortunate21:58
cmaloneybecause it means losing data is going to be easier21:58
jrwrenmp3 is 30yr old tech at this point.22:38
jrwrenAAC would be a much better choice IMO.  only 20yr old tech ;)22:38
cmaloneyOnly Apple fanboys recommend AAC. ;)23:50

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!