polina4096 / voices

record and listen to voice messages in your favorite IDE by JetBrains
GNU General Public License v3.0
411 stars 7 forks source link

Use ogg/mp3/aac or anything else, instead of wav #10

Open Mart-Bogdan opened 1 year ago

Mart-Bogdan commented 1 year ago

I have noticed that recordings are WAV files.

10 seconds(!) of recording consumes 1MiB of space!

$ ffmpeg -i 1695305588170.wav 1695305588170.ogg
.... [ lots of lines of output, skipped from this issue]...

$ ls -lh 1695305588170.*
-rw-r--r-- 1 winnie winnie   96K вер 21 17:17 1695305588170.ogg
-rw-r--r-- 1 winnie winnie 1022K вер 21 17:13 1695305588170.wav
polina4096 commented 1 year ago

i'll look into using other formats later