Please,if you know,tell me how to convert mp3 file to ogg in runtime.
Is there any command line program or dll?
To import MP3 files, I use a library called MPG123.
First you need to download this and place “libmpg123-0.dll” in the Plugins folder.
(if you don’t have that folder, just create it inside your assets folder) You need Pro to use plugins.
Then you need this script: http://pastebin.com/WbqLVKJz And put that in the Plugins folder too.
http://pastebin.com/Cwd1CJcg This is the script that needs to be added to a GameObject.
Now that’s done, it should work. You can add an Audiosource component to the GameObject if you want. If you don’t the script will add one.
This doesn’t convert the MP3 file to an ogg file. Instead, it takes the decoded samples and uses AudioClip.SetData to give the samples to a new AudioClip.
Im not sure about doing it in runtime, but i use Audacity to convert all my audio to .ogg files. Here is the link:
Hope this will work for you.
I know a very good OGG Converter providing a very nice solution to convert OGG to MP3. It is a very nice tool. You can find it here: Infinite Music, Infinite Fun - Bigasoft Audio Converter
In fact, it can convert among MP3, OGG, FLAC, WAV, AIFF, AAC, DTS, AC3, WMA, M4A, etc.
Pavtube Video Converter Ultimate is a suitable choice for MP3 to OGG conversion. It is simple to use and features fast conversion speed. Plus, for space-saving consideration, you can also compress your mp3 to small size with this tool.
use website https://h2converter.com convert mp3 to ogg free online!
All those who are fond of music, must have heard about FvdTube Mp3 downloader because a number of users rely on this astonishing downloader to save their favorite media file. Not only it lets you download the video files but also allows you to save the audio files. Using this platform, you can even convert any YouTube video to an audio file without any hassle. As it is available as an application, therefore, desktop computer and Android smartphone user can directly save high-quality media file into their device. One of the best things about FvdTube is Mp3 download is it is completely free of cost.