mp3 music file wont play

Ryoshu

Veteran
Veteran
Joined
Mar 11, 2013
Messages
134
Reaction score
7
First Language
english
ok ive ever had this issue before until now. ive searched the forums and foud one similar thread but their issue was their files werent ogg or mp3. in my case my files are already in mp3 format. its odd because other files work its just only these 2 music files wont. anyone know why?
 

_Shadow_

Tech Magician Level:
Moderator
Joined
Mar 2, 2014
Messages
4,078
Reaction score
2,654
First Language
Greek
Primarily Uses
RMMZ
Assuming mp3 is playable on a media player:

I can't be sure but mp3s come with a variety of bit rate (44100 is the default).

Imagine bit rate as what resolution is for a picture.

Now some of them have dynamic bit rate, not static. This is done so some parts have higher bit rate than others, because of different sound quality needs on the same song.

Thus high quality is obtained in  less space, in an optimal way.

This needs a special decoder of course.

If such encoding was used, you should recode them to static encoding bit rate 44100, for the whole length of the song.

Question: Why not ogg?
 
Last edited by a moderator:

Ryoshu

Veteran
Veteran
Joined
Mar 11, 2013
Messages
134
Reaction score
7
First Language
english
didnt have a converter for it and i have troub le trusting free online converters
 

Solo

Veteran
Veteran
Joined
Jul 26, 2013
Messages
1,104
Reaction score
154
First Language
English
Primarily Uses
RMVXA
Hm, so does VXA not support VBR MP3s?
 

Diretooth

Lv. 25 Werewolf
Veteran
Joined
Mar 10, 2013
Messages
1,231
Reaction score
444
First Language
English
Primarily Uses
RMMV
Audacity is a good free audio editor. All you have to do is label the sections where the music would loop, make sure that the timer at the bottom of the screen is set to 'samples', and when you go to export it, you'd have to add an extra row and label both rows at the bottom as 'Loopstart' and 'Looplength'. (Then, you'd input the nine numbers for where the loop starts, and the numbers for the loop length.)

If you're in a hurry, I could do this for you. I'd need the file to do it, though.
 

_Shadow_

Tech Magician Level:
Moderator
Joined
Mar 2, 2014
Messages
4,078
Reaction score
2,654
First Language
Greek
Primarily Uses
RMMZ
Hm, so does VXA not support VBR MP3s?
I am not sure. I just suggest solutions.

Never tried VBR and only once imported mp3.

And then I decided that ogg is my way.

What I am sure about is that VX Ace works with standard mp3.

That's what I suggest here.
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Converting to ogg would be better anyway, because even if you get your mp3 to play, it's larger and it won't loop properly.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
Just as general info:


MP3 is not a single audio format, it's a family of audio codecs. And in the quest for smaller download sizes there have been a lot of different audio compression codecs been added to the MP3 family. The different bitrate option mentioned above are only one of several possible differences between MP3-Files.


But because of the different codecs, it is not guaranteed that any computer can play any MP3-File - and especially older programs can have problems with playing files that use newer codecs.


The only possible solution in such a case is to recode the MP3 into a different (and hopefully compatible) compression codec.


Usually that is to recode into an ogg file instead of mp3 file, because ogg has fewer compatibility problems, but you can try to recode into a different MP3 instead of ogg. However, you still need a program to recode audio to do this. Audacity is one of the better free programs to do this.
 

_Shadow_

Tech Magician Level:
Moderator
Joined
Mar 2, 2014
Messages
4,078
Reaction score
2,654
First Language
Greek
Primarily Uses
RMMZ
Converting to ogg would be better anyway, because even if you get your mp3 to play, it's larger and it won't loop properly.
This is absolutely true.

Just as general info:

MP3 is not a single audio format, it's a family of audio codecs. And in the quest for smaller download sizes there have been a lot of different audio compression codecs been added to the MP3 family. The different bitrate option mentioned above are only one of several possible differences between MP3-Files.

But because of the different codecs, it is not guaranteed that any computer can play any MP3-File - and especially older programs can have problems with playing files that use newer codecs.

The only possible solution in such a case is to recode the MP3 into a different (and hopefully compatible) compression codec.

Usually that is to recode into an ogg file instead of mp3 file, because ogg has fewer compatibility problems, but you can try to recode into a different MP3 instead of ogg. However, you still need a program to recode audio to do this. Audacity is one of the better free programs to do this.
@Andar I actually wonder why mp3 became the standard for every music playing device instead of ogg. I mean ogg files are well compressed having VERY satisfying quality. If you are looking for HI-FI sound you don't use mp3 anyway, you go straight to FLAC right? So what's the big deal about mp3? Ogg is better and works really sweet with VX Ace, while it saves a lot of disk space.  :)
 
Last edited by a moderator:

Maliki79

Veteran
Veteran
Joined
Mar 13, 2012
Messages
797
Reaction score
350
First Language
English
Primarily Uses
N/A
I don't know why MP3 is the standard from a technological perspective, but I suspect it may have some reason from a financial one.

Just like the whole VHS/Beta thing.

Beta video cassettes were cheaper and recorded higher quality video than VHS but those in charge decided to make VHS the standard anyway.

Talking about it makes me wanna go look it up!

Might do some hunting later.

#End Rant

:)

Edit:  Okay.  Turned out it was mostly VHS' superior recording time paired with it's slightly cheaper hardware that made the difference.
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
MP3 was developed earlier, OGG came later - a lot later. By the time OGG was a valid alternative, too many solutions (the DVD format for example) were set to MP3.
 

Galenmereth

Retired
Veteran
Joined
May 15, 2013
Messages
2,248
Reaction score
2,158
First Language
English
Primarily Uses
N/A
By the way, Ace has built-in support to play .ogg files; it does not have built-in support for the .mp3 format. This means that if a user doesn't have an mp3 codec installed on their computer, the audio either won't play, or the game will crash. For example, I had one player testing my game that had it crash a lot at two places. Nobody else could reproduce it, including me. So I got him to give me his Window's crash log, and lo and behold: ffdshow (one possible decoder for the format) crashed when the game tried to play a .mp3 sound effect. I converted it to .ogg, and the problem was solved.

tl;dr: Don't use .mp3 in your games.
 
Last edited by a moderator:

Solo

Veteran
Veteran
Joined
Jul 26, 2013
Messages
1,104
Reaction score
154
First Language
English
Primarily Uses
RMVXA
What about WMA? Is that better and less crash-prone than MP3?
 
Last edited by a moderator:

Galenmereth

Retired
Veteran
Joined
May 15, 2013
Messages
2,248
Reaction score
2,158
First Language
English
Primarily Uses
N/A
Hmm, it seems I might be wrong here. Ace uses DirectShow to play .mp3 files (and .wma) files, but this can fail on Windows 8 from what I understand. But in my case, the problem might've been the user having set another decoder than default in windows environment to deal with the .mp3 format, and this decoder crashed.

Even so, .ogg is the safest format as it doesn't rely on an external codec to play these off :)
 

_Shadow_

Tech Magician Level:
Moderator
Joined
Mar 2, 2014
Messages
4,078
Reaction score
2,654
First Language
Greek
Primarily Uses
RMMZ
MP3 was developed earlier, OGG came later - a lot later. By the time OGG was a valid alternative, too many solutions (the DVD format for example) were set to MP3.
That makes sense. Still ogg is been out there for a while. It is time to ogg the world I guess!

Good thing VX Ace supports it.   :p
 

Ryoshu

Veteran
Veteran
Joined
Mar 11, 2013
Messages
134
Reaction score
7
First Language
english
Hm, so does VXA not support VBR MP3s?
it does support mp3 files but just somehow something prevents these 2 files from working. i have many other mp3 files that work fine
 

Ryoshu

Veteran
Veteran
Joined
Mar 11, 2013
Messages
134
Reaction score
7
First Language
english
ok converting it into ogg did solve the problem thanks guys.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,049
Members
137,570
Latest member
fgfhdfg
Top