How to port mp3 code to a ARM board

1.1k views Asked by At

can anyone guide me the steps and knowledge needed to port a codec in ARM board. Like a development board below

http://www.arm9board.net/sel/prddetail.aspx?id=348&pid=200&AspxAutoDetectCookieSupport=1

i want to gain expertise in audio and video codec for embedded systems. My experience level is novice but i am ready to learn.

Need the pointers to start with

2

There are 2 answers

4
old_timer On BEST ANSWER

If you are looking to run on linux for example then there really is nothing to it, just compile as if you were running on a desktop/server. You might have performance issues, but those can and have been worked through in many ways.

If you are looking to go embedded, there are a lot more resources out there now than when I tried to do exactly what you are trying. In particular open source fixed point solutions. With arm becoming the leading processor in the world and most of them being fixed point this was solved many times over so there is plenty of code out there to play with.

That is a nice board you have found, on initial glance I didnt see if their core has a fpu or not, for that core it is optional. Just from the advertising I would assume out of the box that board/package does video and audio and all you need to do is turn it on and copy your videos our audio files over and play them.

If you want to learn the nuts and bolts of the codecs, then purchase the specs from ISO/IEC, probably a hundred to two hundred bucks each. And refresh your calculus, there is a lot of it.

0
Yax On

Try to look at this project: http://embdev.net/articles/ARM_MP3/AAC_Player It's a MP3/AAC player based on AT91SAM7S256 microcontroller.

Check also this https://datatype.helixcommunity.org/Mp3dec decoder. It's optimized for ARM.