gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS Misc > MP3 playback in Moonshell v1.6 in an M3 Simply.

#116496 - alexandertyler - Fri Jan 26, 2007 10:58 am

I have recently purchased an M3 Simply with a 1 GB pqi TF card from Taiwan. I have the newest version of the M3 Simply software, 1.02 beta, as well as the appropriate Moonshell 1.6 version.

Everything works very well EXCEPT mp3 playback. *.dpg files run fine as do *.nds. The *.dpg files sound and look great (I use BatchDPG). *.nds run perfectly as well. The TF card is formatted with Fat16/32K clusters.

These are some of the errors I can see when I hold the start button on my DS Lite:

I found that every time Moonshell skips a beat, if I press start, the screen that pops up shows a CPU overflow in the following format:

strpcm:CPU overflow.

Does anybody know what that is? Also, if you hold select, it fast forwards the song and helps a bit. Maybe a buffer issue due to read speeds?

I also found:

decoding error 0x0101 (lost synchronization) at byte offset 8192

decoding error 0x0101 (lost synchronization) at byte offset 121948

decoding error 0x0235 (bad_main_data_begin_pointer) at byte offset 121948

I think it has something to do with the buffer but need your expert opinions to figure out exactly what is going on. I find it odd that the *.dpg files run without a hitch but simple mp3s get butchered. These are 128k variable and non-variable bitrate mp3s. Any help will be appreciated, maybe Moonlight/Infantile Paralyser will read this and implement a fix in the next Moonshell update?

I tried looking for something to change in the various *.ini files but found no way to increase the buffer size.

In case you were wondering, I just put the micro SD card into the adapter for my SD card reader -- makes it like a standard SD card -- and audio playback is flawless. Also I tried the micro SD card in the reader provided by M3 and, again, music playback is flawless.

Later,

Alex

#116503 - HyperHacker - Fri Jan 26, 2007 12:22 pm

I get that CPU overflow every time I press Start while playing music, I don't think it's anything to worry about.
_________________
I'm a PSP hacker now, but I still <3 DS.

#116541 - Dan2552 - Fri Jan 26, 2007 5:19 pm

not the best of solutions, but you could always put your music into a video (with a black image or something) and convert it to DPG

#116551 - Firon - Fri Jan 26, 2007 8:03 pm

I've played VBR files just fine. Only 320kbps files seem to skip.

Also, strpcm:CPU overflow. shows up whenever you pause, it's normal. Now, if you see a lot of that and you only paused once, then it just means that it can't decode fast enough (and again, only 320kbps files should do this).

decoding error 0x0235 (bad_main_data_begin_pointer) at byte offset 121948 probably means that the MP3 is corrupted.

It's also possible your SD card is slow, or has bad sectors, though not too likely since you have no problems with DPGs.

Make sure you turn off the "save resume every 5 seconds" option.

#116556 - alexandertyler - Fri Jan 26, 2007 8:36 pm

Firon wrote:
I've played VBR files just fine. Only 320kbps files seem to skip.

Also, strpcm:CPU overflow. shows up whenever you pause, it's normal. Now, if you see a lot of that and you only paused once, then it just means that it can't decode fast enough (and again, only 320kbps files should do this).

decoding error 0x0235 (bad_main_data_begin_pointer) at byte offset 121948 probably means that the MP3 is corrupted.

It's also possible your SD card is slow, or has bad sectors, though not too likely since you have no problems with DPGs.

Make sure you turn off the "save resume every 5 seconds" option.


I changed it in the moonshell config file and now my mp3s work 100% -- THANK YOU SOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO MUCH!!!

Later,

Alex

#116600 - tepples - Sat Jan 27, 2007 6:24 am

alexandertyler wrote:
decoding error 0x0101 (lost synchronization) at byte offset 8192

decoding error 0x0101 (lost synchronization) at byte offset 121948

decoding error 0x0235 (bad_main_data_begin_pointer) at byte offset 121948

I think it has something to do with the buffer but need your expert opinions to figure out exactly what is going on. I find it odd that the *.dpg files run without a hitch but simple mp3s get butchered. These are 128k variable and non-variable bitrate mp3s.

For the record, did you encode these MP3s from your own CDs? Or did you get these MP3s from a PP2P2P2PP2P network? If the latter, they may have corrupt frames in them. Are they also butchered in PC based players?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#116603 - alexandertyler - Sat Jan 27, 2007 6:34 am

tepples wrote:
alexandertyler wrote:
decoding error 0x0101 (lost synchronization) at byte offset 8192

decoding error 0x0101 (lost synchronization) at byte offset 121948

decoding error 0x0235 (bad_main_data_begin_pointer) at byte offset 121948

I think it has something to do with the buffer but need your expert opinions to figure out exactly what is going on. I find it odd that the *.dpg files run without a hitch but simple mp3s get butchered. These are 128k variable and non-variable bitrate mp3s.

For the record, did you encode these MP3s from your own CDs? Or did you get these MP3s from a PP2P2P2PP2P network? If the latter, they may have corrupt frames in them. Are they also butchered in PC based players?


No, they are my own files, no P2P stuff. But the problem was fixed by changing the moonshl.ini as mentioned above.

Thanks,

Alex