Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Store recordings in Opus or AAC to save space #104

Open
shvchk opened this issue Jul 15, 2023 · 0 comments
Open

FR: Store recordings in Opus or AAC to save space #104

shvchk opened this issue Jul 15, 2023 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@shvchk
Copy link

shvchk commented Jul 15, 2023

If I understand correct, WAV is what Vosk requires, so initial recording could be left as is, but after speech recognition it could be encoded with Opus or AAC. This could save quite some space for heavy users.

In WAV, 12 seconds recording is ~1 MB. In Opus (free and open format), this could be ~140 KB (at 96 kb/s, which is more than enough for mono, even if this is a music recording) or ~96 KB (at 64 kb/s, which is ok for mono voice recordings).

At first glance on code, AAC is already used on iOS.

@maxkrieger maxkrieger added help wanted Extra attention is needed enhancement New feature or request labels Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants