Compatible with MP3?

Status
Not open for further replies.

YEEART

Super Highschool Level...
Veteran
Joined
May 12, 2015
Messages
90
Reaction score
40
First Language
English
Primarily Uses
N/A
I've been wanting to import over some audio files in the format of MP3 from my prior game in VX Ace, but they don't seem to show up in the 'Sound Test' menu? Is RPGMAKERMV not compatible with the MP3 format by chance?
 

Ms Littlefish

Dangerously Caffeinated
Global Mod
Joined
Jan 15, 2014
Messages
6,417
Reaction score
8,104
First Language
English
Primarily Uses
RMMV
MV can use .ogg and .m4a. Any .mp3 files can be converted easily using an application such as Audacity or Switch Sound File Converter. Audacity often needs additional .dlls for format conversions, but I think to OGG Vorbis is a default one it will do.
 
Last edited by a moderator:

Zalerinian

Jack of all Errors
Veteran
Joined
Dec 17, 2012
Messages
4,696
Reaction score
935
First Language
English
Primarily Uses
N/A
No, the MP3 format is not supported. There are better formats available, like the supported OGG Vorbis and AAC m4a formats. These are the two audio formats that MV supports itself. MP3 files will technically work, as most browsers support the file directly, however you can't add them in through the editor, you'd have to set them to play by manually editing the JSON files that the editor creates, and that will not be a fun experience for you, I guarantee it.

You'd also have to edit one of the default scripts to make sure it loads the proper file format.

Alternatively, a way around this limitation is to name the file .mp3.ogg. This will trick MV into thinking the file is an ogg file, as it only checks the file extension and not the file contents. Keep in mind, however, keep in mind that doing this will mean you won't get any official support for audio fiels not playing, because you are using a unsupported format.
 

YEEART

Super Highschool Level...
Veteran
Joined
May 12, 2015
Messages
90
Reaction score
40
First Language
English
Primarily Uses
N/A
Arghh! That sucks, but fortunately I've been given solutions to counter this minor problem. Thanks, I'll take you guys suggestions into consideration.
 

Mako

Veteran
Veteran
Joined
Mar 13, 2012
Messages
276
Reaction score
48
First Language
English
Primarily Uses
MP3 format is covered by a patent... It is not free, nor is it sharable. Though everyone and their grandmother does it.
 

The_Golemancer

Villager
Member
Joined
Jul 11, 2015
Messages
15
Reaction score
4
First Language
English
Agreed, Mako. It's not that well known, since like Mako said everybody does it anyway, but it's technically illegal to distribute mp3s without buying a license from them first. mp3 is one of the best for file size, but not for quality. Much better to go with OGGs. Larger file size but with WAY better quality, and zero legal issues. :) I don't have much experience using m4a, but like OGG there are no licenses required to distribute or stream them.
 

KisaiTenshi

Veteran
Veteran
Joined
Oct 24, 2015
Messages
310
Reaction score
124
Agreed, Mako. It's not that well known, since like Mako said everybody does it anyway, but it's technically illegal to distribute mp3s without buying a license from them first. mp3 is one of the best for file size, but not for quality. Much better to go with OGGs. Larger file size but with WAY better quality, and zero legal issues. :) I don't have much experience using m4a, but like OGG there are no licenses required to distribute or stream them.
M4A (AAC audio) is actually smaller and higher quality than MP3 in all cases. People began distributing MP3's back in 1997 or so, so all patents on mp3 expire on 2017/04/16, and it's generally problematic to use since it's not always clear what patents need to be licensed.

AAC is free to use to stream and distribute, unlike MP3. There are still patent licenses involved for creating and distributing AAC codecs, but distributing the files in the format is not. Hence why web browsers support it.

M4A is a MPEG4 part 14 container for audio. So it doesn't necessarily mean the audio inside the M4A file is AAC, it could be ALAC/FLAC, MP3 (Mpeg 1 layer 3), ALS, SLS, and so forth.

Firefox support:

To avoid patent issues, support for MPEG 4, H.264, MP3 and AAC is not built directly into Firefox on desktop and mobile (Android and Firefox OS). Instead it relies on support from the OS or hardware (the hardware also needs to be able to support the profile used to encode the video, in the case of MP4). 
Chrome/Chromium (and thus node.js/node-webkit/cordova) support:

Codec Support

Chromium supports the following:

Vorbis audio codec

Theora video codec

Opus audio codec

VP8 video codec

VP9 video codec

PCM 8-bit unsigned integer

PCM 16-bit signed integer little endian

PCM 32-bit float little endian

Ogg container format

WebM container format

WAV container format

 

When building Google Chrome, the following codecs/containers are also included:

MP3 audio codec

AAC audio codec (Main only, not AAC-LC, AAC-SSR, HE-AAC)

H.264 video codec

MP4 container format
Note that RPG Maker MV only supports H.264/AAC on iOS/Android, while Chromium/Cordova/node.js/node-webkit do not support it

Due to licensing issues, the pre-built binary doesn't ship with the necessary codecs for patented media formats. If you require support for these formats, see the instructions below.

Consult a lawyer if you do not understand the licensing constraints and require patented media formats in your application.
 

Nimbus

Veteran
Veteran
Joined
Jun 30, 2014
Messages
56
Reaction score
12
First Language
English
Primarily Uses
Ugh, it seems like a major hassle to convert all of my old music to a new file format. But based on what I read and what you guys mentioned, it really does sound like OGG and M4A are superior formats to MP3 (and WAV). I guess if everyone just stuck with their old, inferior formats because it's a "standard" then that standard would never change. Embrace progress!

On a side note though, what about MIDI? I know it's suuuper old and outdated at this point, but VX Ace still supported it and I had a handful of projects that used them because of the unique sounds they produced. Any chance we'll ever see support for those?
 

KillaMaaki

Villager
Member
Joined
Nov 29, 2015
Messages
26
Reaction score
24
First Language
English
I'd warn against using MP3s for music anyway. MP3 can add a tiny amount of silence to the end of your song as part of how the format was designed, and this of course will completely destroy your loop.

I had this issue with a song of mine - directly exported from FL Studio as MP3, imported into VX Ace, and there was a tiny gap at the loop point which was totally unacceptable. But once I exported a WAV and converted that to OGG format, it was perfectly fine. I think OGG also sounds better at lower bitrates than MP3 does, IMHO.

EDIT: Ah crap, didn't read the time of last post. There I go necroposting again... d'oh.
 
Last edited by a moderator:
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.
time for a new avatar :)

Forum statistics

Threads
106,015
Messages
1,018,351
Members
137,801
Latest member
topsan
Top