manimaran96 / Spell4Wiki

Spell4Wiki is a mobile application to record and upload audio for Wiktionary words to Wikimedia Commons. Spell4Wiki also a multilingual Wiki-Dictionary.
https://commons.wikimedia.org/wiki/Commons:Spell4Wiki
GNU General Public License v3.0
24 stars 14 forks source link

Record as ogg #1

Closed tshrinivasan closed 4 years ago

tshrinivasan commented 5 years ago

Record the audio as ogg

manimaran96 commented 5 years ago

OggHandler has no longer supports recent releases of MediaWiki. https://www.mediawiki.org/wiki/Extension:OggHandler

sivaraam commented 5 years ago

Hi @manimaran96,

I could see that you've already tried to solve this issue. Could you please elaborate on what issues you were facing with implementing the solution? It could be useful information here.

manimaran96 commented 5 years ago

In my knowledge. .ogg format supported in android. No one sample code available for record as .ogg Some site mentioned make .ogg using c/c++ languages due to performance related issues.

Below I share somes links https://github.com/naman14/TAndroidLame https://stackoverflow.com/questions/40019666/android-convert-file-from-wav-to-ogg https://stackoverflow.com/questions/17531435/converting-wav-file-to-ogg-in-javascript https://www.codeproject.com/Articles/824199/The-OGG-Wrapper-An-audio-converter https://github.com/naman14/TAndroidLame

sivaraam commented 5 years ago

No one sample code available for record as .ogg

As I mentiomed previously in my email few months back, I use a call recorder (which is open source) which seems to be recording audio in .ogg format. The source code could be found at

https://gitlab.com/axet/android-call-recorder

It's available from F-droid:

https://f-droid.org/en/packages/com.github.axet.callrecorder/

I haven't explored the source code yet but I believe it could possibly help you with recording in the .ogg format.

tshrinivasan commented 5 years ago

This is related project. But records as wav only. We may get some more ideas from this repo. https://github.com/Atul22/wikiAudio

manimaran96 commented 5 years ago

This is related project. But records as wav only. We may get some more ideas from this repo. https://github.com/Atul22/wikiAudio

Yes, We mostly follow this repo.

manimaran96 commented 4 years ago

Record as .wav then convert to .ogg using FFmpeg library. https://github.com/bravobit/FFmpeg-Android