Mp3 player
#1
what would i need to include in an xbox application that would play only mp3's?  would i need to use something like xbmc's dll loader with mplayer or just ffmpeg or what? i'm rather confused on this subject and any shove in the right direction would be awesome. as of now i have the entire playlist format written and the only thing left to integrate is the actual playing of the mp3's and the identification of id3 tags.
Reply
#2
i'd say have a look at porting libmad directly...

http://www.underbit.com/products/mad/

also includes an id3 library..
Reply
#3
lbmad does look rather interesting, the only problem is that i have never ported anything and wouldn't know where to start porting it to the xbox. i was looking at the xbmc mplayer because i believe it is already set up for the xbox.  how difficult would it be to port libmad to the xbox? is there a place i could go to learn about porting /implementing it? also, it says that mad does not support mpeg-2 multichannel audio. does this mean that if i were to play mp3s in my car it would only show up in the first two speakers? thank you very much for the reply and suggestion!
Reply
#4
well,

i have never looked at libmad myself but i'd say that it probably is designed with portability in mind (mplayer uses it btw).
as a mp3-player mplayer+the dll loader is simply an overkill..

i'm sure there is some good win32 -> xbox porting document out there somewhere..

as for it not supporting multi channel mpeg2 audio.. this has nothing to do with the output rather the decoding of 5.1 (> 2 channels atleast) content in mpeg2 format. the output would be up to you to set up according to your speaker configuration..

btw, are you sure that non of the other opensource apps out there feature an mp3 player (nexgen?)
Reply
#5
another option would be sdl which is ported to the xbox already and is able to play mp3.

http://www.lantus-x.com/sdlx/
read the xbmc online-manual, faq and search the forums before posting! do not e-mail the xbmc-team asking for support!
read/follow the forum rules! note! team-xbmc never have and never will host or distribute ms-xdk binaries/executables!
Reply
#6
sdlx has been recommended to me before, and i kinda dismissed it, but now its been recommended to me again so i took a good look at it. after reading a bit about it, sdlx appears to be exactly what i need, unfortunately, i have no idea where to start as i would have to completely (i think) revamp and recode my mp3 player. before, the xbox application was based off the gamepad sample from the xdk and because i have a very limited knowledge of c++ and .net it would be extremely dificult for me to recode the entire thing to fit with sdlx. i suppose i will try and find out if it is possible to only implement the mp3 area of sdlx or if i should try and port the libmad. thank you very much for the directions and help!
Reply
#7
Sad 
@snowmanx, please excuse we for being so bold/direct and asking but what does your mp3 player have to do with xbmc / xbmc development?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#8
ah, i've been thoroughly caught! i suppose it does not really have anything to do with xbmc other than i am learning from a lot of the source, and i'm posting questions here. i've kinda just been going to whatever development forums i can find (x-s, lantus, and xbmc) to try and weasel some answers out.  i'm sorry i bothered you guys; i really just could not find a better place to ask these types of questions than a group of dedicated xbox media coders!  i shant post here again unless it will benefit the xbmc project and once again i thank everyone for their generosity.

thanks you,

snowmanx
Reply

Logout Mark Read Team Forum Stats Members Help
Mp3 player0