MP3, AAC and WMA loading?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Archaemic
Posts: 38
Joined: Sun Mar 18, 2007 7:23 am

MP3, AAC and WMA loading?

Post by Archaemic »

I was planning on writing an application that, in part of its operation, loads music from your music folder. However, so far, I've not been able to figure out how I would go about loading MP3, AAC and WMA. Is there something in the PSPSDK library that calls ones of the prxes in the official firmware to do this for me? Like one of the pspAudio or sceAudio calls? Or is this whole idea way too difficult for a simple project?
hallo007
Posts: 36
Joined: Sat May 13, 2006 6:15 pm

Post by hallo007 »

Archaemic
Posts: 38
Joined: Sun Mar 18, 2007 7:23 am

Post by Archaemic »

Oh yes, that really helps me. Tell the n00b to search for their answers, even if you don't know if that'll turn up any valuable knowledge. Must work every time!

All that searching does is bring up the PMP VLC Player/Mod thread and this thread. Unless there's some specific result that you're thinking of that would take me forever to find among those results.

Are you implying that I should just use the PMP VLC Player/Mod instead? Did you know that the function of this program is NOT a media player? This is for playing a user's music files as background music for a game.

Or were you just trying to be unhelpful/helpful at the same time?

PS: I'm not a n00b, I just don't have very many questions regarding PSP programming, so I don't post much.
User avatar
Raphael
Posts: 646
Joined: Tue Jan 17, 2006 4:54 pm
Location: Germany
Contact:

Post by Raphael »

MP3 - see yeldarbs tutorials lesson 4 (or 5?)
AAC/WMA - (ab)use ffmpeg/libavcodec

Alternatively:
try to dig out how hardware decoding of these formats works with the libAtrac3plus: http://forums.ps2dev.org/viewtopic.php? ... c&start=30
<Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki

Alexander Berl
Archaemic
Posts: 38
Joined: Sun Mar 18, 2007 7:23 am

Post by Archaemic »

Thank you for your help. I'd forgotten about yeldarb's tutorials.
Hmm...I think using ffmpeg would be a bit too complicated for me (although possibly not), and I've never heard of libavcodec.

Maybe I'll just do local MP3 and OGG Vorbis (placed in another folder?) instead.

Edit] It appears to be lesson 6 actually :P
Post Reply