Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Compression Techniques Encodig Audio from Raw PCM bytes in Java Android

  • Encodig Audio from Raw PCM bytes in Java Android

    Posted by Momin Ali on April 30, 2017 at 5:42 pm

    Hello, I am a beginner in using FFMPEG. Please understand and help me. I have successfully installed FFmpeg in my project but the problem I am facing is that I am recording Audio using AudioRecord class in Android Java and I do not know how to encode it in different formats. How can I encode the Raw Audio Bytes using FFmpeg? Which commands should I use? I get these bytes in a byte[] buffer. Should I create a new audio stream before I can encode in real-time or I can do that directly? I want to be able to save the recorded audio in different formats such as 3GP, AAC, AMR, FLAC, M4A, MP3, MP4, OGG, WAV etc.

    Momin Ali replied 9 years, 2 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy