Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Recommended speech codec for audiobooks on Android (Read 14649 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Recommended speech codec for audiobooks on Android

I'm looking for a low bit rate speech codec to encode audio books, podcasts, lectures etc and play back on an Android phone (galaxy nexus)
My main requirement is to minimize storage, and be compatible with audiobook player apps that remember last stopped positions (e.g.  MortPlayer AudioBook)
From what I've seen so far amrwb codec in 3gp container seems good. Opus looks excellent but I don't think Android supports it yet. Is there anything else out there HA experts would recommend for my use case?

Thanks!

Recommended speech codec for audiobooks on Android

Reply #1
Well, if you can afford some more bits, you can also consider using HE-AAC(mono) or HE-AACv2(stereo). This example is encoded by FhG encoder and around 26kbps or so.
[attachment=7262:Diner.zip]

Recommended speech codec for audiobooks on Android

Reply #2
Rockbox on android (I think you still need a development build) can play opus or speex. I've been putting voice at 12 kb/s.  Another choice is a low bitrate mp3 on google music.  (mono, and 22 khz sample rate)

Recommended speech codec for audiobooks on Android

Reply #3
Thanks for your reply and the samples.
I see your samples are at 32 44.1 khz and stereo. Wouldn't a lower sampling rate such as 22khz and mono be more than enough for speech? I would like to have bit rates at 16kbps or lower.
Is there an he-aac encoder available on Linux?
I see aac encoding available in ffmpeg
Code: [Select]
ffmpeg -codecs |grep -i aac
DEA D  aac             Advanced Audio Coding
D A D  aac_latm        AAC LATM (Advanced Audio Codec LATM syntax)

but I don't know if that's the right codec

 

Recommended speech codec for audiobooks on Android

Reply #4
As for sample rate, if I feed 20.05kHz input to winamp FhG encoder, it seem to encode into 44.1kHz HE-AAC(v2) and the result gets more bloated. Therefore I chose 32k.

On linux you can try Nero or FDK AAC encoder natively. If you want to use the latter, you have to build libfdk-aac, and also ffmpeg/libav yourself with libfdk-aac enabled.
However, if you want to go as low as 16kbps, HE-AAC(v2) might not be your choice anyway.