BGS Audio Not Playing

As the title states, the BGS won't play. I have both MP4 and OGG Files in the correct area, and made sure it appeared in the Maker List. When I select it and press Play, nothing comes out.

Furthermore, the default BGS do work, but when I use my Custom ones, and they play nothing, if I go back to the Default BGS, they do the same and not play anything. I find it odd and can't seem to figure out why it's doing that. As soon as I Play the Custom BGS, it cuts out all Audio.

When I Play Test, the BGS doesn't play either. Actually, the Play Test crashes if I have the Custom BGS on. I'm sooooo confused. Thoughts?
Are you talking about it dose not play when you export or just from the engine it self?
what is the filename for the custom BGS? If that filename breaks the networking rules then the engine will have problems loading it.

one person who had a similar problem simply had the sound set to zero in the game options

it can be a case of wrong audio codec if you tried to use a very new and extreme compression method
Are you talking about it dose not play when you export or just from the engine it self?
So, these are Custom Files I got online, and when I threw them into the BGS Folder (both MP4 and OGG), they appeared in the list with the other BGS Options, similar to SE and the others. When I select them to play and launch the game, it doesn't play any audio and crashes the game. There's no audio from the Play option in the file menu either.
what is the filename for the custom BGS? If that filename breaks the networking rules then the engine will have problems loading it.

one person who had a similar problem simply had the sound set to zero in the game options

it can be a case of wrong audio codec if you tried to use a very new and extreme compression method
Both file names for MP4 and OGG are "Blacksmith1" and the Audio level is at 40% Game Settings. When I Play Test, BGM works fine, along with SE, but after about 10 seconds, the BGM cuts and it crashes.

This has to be because of the BGS, since when I remove it, it no longer crashes.
can you give a screenshot of the crash error message?

If you don't get a message and it crashes the browser itself, then it's definately something in the audiodata itself - I suggest to recode it using audacity or a similar program to remove the problematic data (recoding means opening it with the audio program and then exporting the music again with default audio codec settings under a different name)
can you give a screenshot of the crash error message?

If you don't get a message and it crashes the browser itself, then it's definately something in the audiodata itself - I suggest to recode it using audacity or a similar program to remove the problematic data (recoding means opening it with the audio program and then exporting the music again with default audio codec settings under a different name)
Yea, I don't get any error message. I'll see what I can do, thanks for the advice, cheers!
Did you try with only the ogg in the folder?
Or only with the MP4
If you get both, I don't know whitch one the game will choose, but maybe the other one works.
Did you try with only the ogg in the folder?
Or only with the MP4
If you get both, I don't know whitch one the game will choose, but maybe the other one works.
I thought that you needed both Files in order to play the sound? Unless I'm mistaken, but I'll go ahead and try that, thank you for the suggestion!
@hinola @EclipseVRP
the format depends on the device. The engine itself will not select, it depends on deployment.

Windows and MacOS use OGG because that is easier for them and is licence-free. Android and iOS use m4a because that is smaller files and they have the required licence in their hardware.

You need both in the project to enable all deployment options, but only for deployment.
I noticed the original poster always says "MP4" in their posts. But the required file type is ".m4a"

Maybe that's what is causing the crash? I'd say double check that the files are .ogg and .m4a.

Johnsensei, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/bgs-audio-not-playing.120971/