How can I encode raw PCM data to wma in real-time. The audio comes from android phone's microphone using AudioRecord (https://developer.android.com/reference/android/media/AudioRecord.html). Is there a encoder library available to do this?
FFmpeg includes WMAv1 and WMAv2 encoders. They may even be able to work in real time on your Android device.
AFAIK their quality is still quite low.
What is the end application that requires wma?
FFmpeg includes WMAv1 and WMAv2 encoders. They may even be able to work in real time on your Android device.
I can convert files and concatenate files but I do not know how to do real time encoding with FFMPEG.
AFAIK their quality is still quite low.
I know, but it would still be a good feature in a recorder app to encode wma.
What is the end application that requires wma?
A voice recorder app that lets users record audio in different file formats.
FFmpeg includes WMAv1 and WMAv2 encoders. They may even be able to work in real time on your Android device.
I can convert files and concatenate files but I do not know how to do real time encoding with FFMPEG.
Real time encoding is the same as converting a file, just you provide the data one buffer as a time as it is recorded.
What is the end application that requires wma?
A voice recorder app that lets users record audio in different file formats.
I know what you want, the question is why you want it.
What is the end application that requires wma?
A voice recorder app that lets users record audio in different file formats.
I know what you want, the question is why you want it.
I want it because other applications that my app would be in competition with gives this feature.
I'm really surprised anyone would want that on Android. The format has been dead for many years now, and is not even supported on most phones. If you want to encode it anyway, I think ffmpeg is your only option.