Rakesh Sharma
Rakesh Sharma

Reputation: 1

encoding and decoding of audio files to send over the internet to decrease size. android

i am making an android app in which we transfer audio files over the internet . But as the file size is large we need to encode and decode mp3 and other formats which we are unable to find a way till now .Like whatsapp they decreasses the size by appreciable amount . Can u help me and tell us a better way to encode and decode in android and i want to do similar things in php website . Please guide me .

Upvotes: 0

Views: 465

Answers (1)

Prerna Jain
Prerna Jain

Reputation: 1240

As per my understanding of your question, CODEC is what exactly you need to use.

CODEC is actually a piece of code or a program that compresses data to enable faster transmission and decompresses received data.

Since your application will be dealing with the transfer of audio files, you can go for Audio codecs or if any other rich media you want, accordingly you can choose the suitable one.

And even for different audio formats to be supported and their conversion, FFmpeg is what you can refer, also to the formats and codecs.

To decide which codec to use and which not,refer here.

Hope it helps and you can further ask for assistance needed in any case.

Upvotes: 3

Related Questions