I am using this library (https://github.com/theeasiestway/android-opus-codec) to encode and decode audio files. I can store the encoded opus file then decode and play via AudioTrack. But i need to save it as .opus/.ogg file with its header, then only i can play via android inbuilt opus decoder (for mediaplayer). At present i am converting the decoded PCM to WAVE to play via media Player. Any help will be appreciated, forgive my bad English.
How to save encoded Opus stream file as .ogg/.opus with its header in Android
911 Views Asked by arun At
1
There are 1 best solutions below
Related Questions in ANDROID
- Creating global Class holder
- Flutter + Dart: Editing name of a tab shows up a black screen
- android-pdf-viewer Received status code 401 from server: Unauthorized
- Sdk 34 WRITE_EXTERNAL_STORAGE not working
- ussd reader in Recket Native module
- Incorrect display of LinearGradientBrush in IOS
- The Binary Version Of its metadata is 1.8.0, expected Version is 1.6.0 build error
- I can't make TextInput to auto expand properly in Android
- Creating multiple instances of a class with different initializing values in Flutter
- How to create a lottie animation
- making android analyze with coverity sast tool
- Flutter plugin development android src not opening after opening example
- I initialize my ViewModel in the Activity with several fragments as tabs, but the fragments(tabs) return null for the updated livedata
- Node.js Server + Socket.IO + Android Mobile Applicatoin XHR Polling Error...?
- How I can use the shared preferences class?
Related Questions in AUDIO
- how to play a sounds in c# forms?
- Winsound not working isn't working at all
- Ringing noise overpowering voice / Recording audio with Max 9814 microphone on Raspberry pi pico using ADC Pin / Circuitpython
- How to take first x seconds of Audio from a wav file read from AWS S3 as binary stream using Python?
- gluon attach audio doesn't play any sound on android
- Implementing trim and fade filters with ffmpeg - MP3
- Unable to set device connection state as INPUT device type is none
- Is there a way to differentiate music and talking from a video?
- How to concatenate audio tracks and make them start a certain moment using Python?
- Combine two audio in different languages to one natural sounding
- STM32 - Serial Audio Interface (SAI) - dual data line transmit possible?
- playing mp3 downloaded via curllib gets cut short
- How to stream PCM audio to a speakers both on mac and linux in Node.js?
- Scikit-Maad -From the function rois.find_rois_cwt, I want to get a csv of the outputs so I can do my own analysis on it
- Using MediaPlayer slows down SoundPool sound effect
Related Questions in OGG
- Encode PCMBuffer to Ogg with Opus in iOS 8
- Ffmpeg - Convert Wav to OGG on Android (wrong metadata on some devices)
- Pygame: pygame.error: Unable to open file .ogg
- Android - create waveform of the audio file (OGG)
- Is WAV needed for html5 audio fully cross-browser?
- Why do .ogg files loop?
- Good practices for 100% compatible <audio> file formats
- Convert PCM to MP3/OGG
- Video file formats for H.264
- Convert mp3 to ogg with Java and no external libraries
- < video > with h264/ogg/webm and flash with h264 fallback, or just < video > with h264 and flash with h264 fallback?
- Create OGG Files from Java
- Firefox loads and plays same .ogv file twice concurrently when with 'autoplay'
- Java API to Split Oggs
- tag audio and ogg
Related Questions in OPUS
- Parsing VP8/OPUS frames
- Encode PCMBuffer to Ogg with Opus in iOS 8
- Mos score calculation of opus codec with E-Model algorithm
- Why isn't opus_encode_float output acceptable input to decodeAudioData?
- Webm (VP8 / Opus) file read and write back
- how opus adapts to variable bandwidth?
- I am trying to compile my jnicode it showing error _JNIEnv::GetShortArrayElements(JNIEnv*&, _jshortArray*&, int)'
- Record and playback with Opus Codec in Android
- Encoding PCM with Opus in JavaScript?
- Compiling Opus 1.1-rc2 for iOS with XCode 5
- How can I use Opus Codec from JavaScript
- Using Opus with PortAudio
- Is it really possible for webRTC to stream high quality audio without noise?
- How should I encode an audio stream for Google Voice recognition in golang?
- Impossible to play audio from URI after closing and re-opening my app
Related Questions in VORBIS
- Convert oga to wav using NAudio VorbisWaveReader exception: could not initialize container
- How can I configure my CMake project to install dependency packages?
- Opus audio, opus_decode() always fills output buffer with zeros
- Why this ffmpeg mp4/mkv/wmv/flv/avi to webm command line with cuda is as slow as with CPU?
- Decoding with OGG/Vorbis gives no sound
- Encode WAV [or raw PCM data] to WebM in JavaScript?
- cmake cant generate sfml build files
- Vorbis Library in a project for Mac OS X
- How to save encoded Opus stream file as .ogg/.opus with its header in Android
- unsupported audio file format even after adding vorbisspi to classpath
- How to get audio file metadata container's data for flac and ogg
- Process opus audio stream in Javascript to find volume
- Split ogg vorbis stream without BOS
- how compile .c file when using vorbis library. undefined reference to vorbis_info_init
- Live stream audio files using NAudio and Vorbis
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I solved the issue with the help of this library( https://github.com/Gagravarr/VorbisJava ).