Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Add support for MPEG 2/2.5 #8

Open
delthas opened this issue Jun 10, 2020 · 2 comments
Open

Add support for MPEG 2/2.5 #8

delthas opened this issue Jun 10, 2020 · 2 comments

Comments

@delthas
Copy link
Owner

delthas commented Jun 10, 2020

The project currently supports MPEG 1 files only.

@Monniasza
Copy link

Monniasza commented Nov 19, 2020

@delthas I have folowing file: error.zip, which doesn't play with JavaMP3, but plays with any other audio player. The error message is:

(SOUNDS) Failed to load MP3 file error.mp3 java.lang.NullPointerException
Caused by: Cause unknown null
(SOUNDS) fr.delthas.javamp3.Decoder.samples_III(Decoder.java:625)
(SOUNDS) fr.delthas.javamp3.Decoder.decodeFrame(Decoder.java:546)
(SOUNDS) fr.delthas.javamp3.Sound.decodeFullyInto(Sound.java:228)
(SOUNDS) mmb.DATA.contents.sound.Sounds.load(Sounds.java:50)
(SOUNDS) mmb.MODS.loader.AddonLoader.processFile(AddonLoader.java:204)
(SOUNDS) mmb.MODS.loader.AddonLoader.lambda$2(AddonLoader.java:166)
(SOUNDS) java.util.Hashtable.forEach(Unknown Source)
(SOUNDS) mmb.MODS.loader.AddonLoader.whenWorking(AddonLoader.java:165)
(SOUNDS) mmb.MODS.loader.AddonLoader.init(AddonLoader.java:115)
(SOUNDS) mmb.MODS.loader.AddonLoader.lambda$0(AddonLoader.java:75)
(SOUNDS) java.lang.Thread.run(Unknown Source)

@robertapengelly
Copy link

Any plans on adding MPEG 2/2.5 support? If not do you know of any website that explain the difference in encoding as all I've found is information about the bitrate and that mpeg 2 was created primarily for TV/DVD/Video or something like that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants