VXAce Which music format is better: m4a or OGG?

Or should I use both formats? What's the difference between the two? Do both formats have music looping? I didn't want duplicate files in my project, so which format to use for in-game music?
Not much of a specific rpg maker question so google would ideally be your first option. Anyhow, hope this helps:

Neither M4A nor OGG is universally "better," as the choice depends on your priorities:
use M4A for Apple device compatibility and potentially higher quality with the lossless ALAC codec, and use OGG for its open-source nature, better quality at lower bitrates, and wide use in gaming and streaming, though it has less native support on Apple devices.


M4A

  • Best for: Apple users (iTunes, iPods), or when you need the absolute highest quality via the lossless ALAC codec.
  • Pros:
    • Can be lossless (ALAC), offering original quality with no data loss.
    • Generally provides good sound quality with lossy codecs like AAC, even at lower bitrates (e.g., 128kbps)
      • Used by Apple's iTunes Store.
  • Cons:
    • Less native support on non-Apple devices compared to MP3 or OGG.
OGG

  • Best for: Open-source projects, streaming, gaming, and when you need a smaller file size at a given quality level.
  • Pros:
    • Open-source and royalty-free, making it ideal for developers.
    • Offers superior sound quality compared to MP3 at lower bitrates.
    • Supports variable and multi-channel audio, which can lead to more efficient compression.
  • Cons:
    • Limited native support on certain platforms, especially older Apple products.
    • Can be more difficult to find commercially available music in this format
As said above, it depends on the situation and target, although the poster above missed one target group for M4A.

The problem with M4A is the required licensing for any player. Any commercial product needs to pay if they want to include any m4a player, which is why the RM engine cannot contain a software player without raising the price quite a bit.

Apple is one of the companies that purchase that licence for their devices - but all mobiles (no matter the producer) contain a hardware chip for m4a decoding as well, which is why any android device can use the m4a in addition to the already mentions iOS devices.

But for the other possible deployment targets you'll need to use OGG due to the open source player for OGG being free for Windows, Linux and so on.
But for the other possible deployment targets you'll need to use OGG due to the open source player for OGG being free for Windows, Linux and so on.
Windows seems to play M4A just fine. At least my last 2 computers did without special software that I was aware of.
Doesn't OGG allow for seamless looping in an RPG Maker by entering some frame values in the metadata?
Ive saved a tremendous amount of disk space (including backups) due to .OGG often being lighter than MP3. In a weird way, Im glad its forced on the engine's user. Its not hard to mass convert either, so I learned from that experience.

@Darth Equus Correct! <3

Original thread: https://forums.rpgmakerweb.com/threads/which-music-format-is-better-m4a-or-ogg.180827/