aac

How do I programmatically convert mp3 to an itunes-playable aac/m4a file?

I've been looking for a way to convert an mp3 to aac programmatically or via the command line with no luck. Ideally, I'd have a snippet of code that I could call from my rails app that converts an mp3 to an aac. I installed ffmpeg and libfaac and was able to create an aac file with the following command: ffmpeg -i test.mp3 -acodec lib...

What is the easiest way to wrap a raw .aac file into a .m4a container

This question is overflow from the following question: http://stackoverflow.com/questions/70096/how-do-i-programmatically-convert-mp3-to-an-itunes-playable-aacm4a-file Anyway, I learned how to create an aac file and then i found out that an aac is not just an m4a file with a different file extension. In fact, I need to somehow wrap th...

Best he-aac encoder on linux ?

I need an encoder that can convert mp3 files to he-aac (aka aac+). So far the best one I have found is nero aac encoder . I have two problemes with it : - Only one input format : wav . It is a little bit slow to transform mp3 files to wav and then to he-aac. - a free license for non commercial use. Too bad ffmpeg does not support h...

Looking for open-source library for editing AAC metadata (M4A files)

I'm looking for an open-source library for editing AAC metadata in M4A files (as appearing in iTunes). Specifically, I need to be able to add an album art tag. It should be something similar to id3lib, which works with ID3 tags on MP3 files. ...

How do I create a Kindle and iPod-compatible audiobook file with section markers?

I've looked for references on the Audible format, and it appears that people are only interested in cracking/converting out of it. I've got a collection of MP3 files that I want to convert into Audible format for use on my Kindle and iPod. Does anybody have a good reference on the Audible or protected AAC formats and how section marker...

Creating ADTS frame on iPhone.... problem

Hello all, I am getting raw aac data from web stream and try to put it in ADTS frame in order to play it on iPhone. It works for 10 seconds then sound stops and restart but seems accelerated or mixed with others audio data. Quicktime and others audio app are unable to open my file. It seems my ADTS header is wrong but I am unable to...

How to programatically combine two aac files into one?

I'm looking for a cat for aac music files (the stuff iTunes uses). Use Case: My father in law will not touch computers except for audiobooks he downloads to his iPod. I have taught him some iTunes (Windows) basics, but his library is a mess. It turns out, that iTunes is optimized for listening to podcasts and random songs from your libr...

What are the ways to convert/encode to AAC in Cocoa?

Is there a way to programmatically convert and/or encode to AAC/m4a format in Cocoa without the use of any libraries or programs that don't ship with Mac OS X? I don't want to use for example, faac or ffmpeg, to do the encoding. ...

Server-side AAC audio with Android

As I understand it, Android will only play AAC format audio if it's encoded as MPEG-4 or 3GPP. I'm able to play AAC audio encoded as M4A when it's local to the app, but it fails when obtaining it from a server. The following works, as the m4a file is held locally in the res/raw directory. MediaPlayer mp = MediaPlayer.create(this, R.ra...

read or write ratings from AAC file

I'm trying to figure out how to read the "ratings" from an AAC file on Windows 7. This data is somehow persisted in the file as the Windows 7 shell and WMP can read / write the ratings. In MP3 the ratings data is stored in the PopularimeterFrame of the Id3v2 but AAC does not use Id3v2 tags. Does anyone happen to know how to get at this...

AAC/MP4 not working in ActionScript 3's NetStream

I'm trying to play a remote AAC file in ActionScript 3 in Flash CS3 and am currently using this code: var url:String = "http://a1.phobos.apple.com/us/r1000/020/Music/d4/50/94/mzm.kjjofihr.aac.p.m4a"; var connect_nc:NetConnection = new NetConnection(); connect_nc.connect(null); var stream_ns:NetStream = new NetStream(connect_nc); stream...

How to analyze the BPM of AAC file or any library for converting AAC to MP3

Hello Friends, I am iphone developer and developing one mac application now. This is my first project ever in mac platform. I have to analyze the BPM of the songs files. I have done this work for MP3 using FMOD and SoundTouch library. But i have to analyze for AAC (M4A ) also but this library doesn't support to AAC format. I tried to...

How to Add AAC/AAC+ Support into Commercial Audio Software for Free?

How to add AAC/AAC+ playback support (or even encoding features) into a small commercial software? I'm very confused by all these statements: http://www.vialicensing.com/licensing/AAC_fees.cfm http://www.dolby.com/professional/technology/broadcast/dolby-pulse.html To whom we must prepare money? How will we report them (patent holders) a...

How do you use afconvert to convert from wav to aac caf WITHOUT RESAMPLING

I'm making an Iphone game, we need to use a compressed format for sound, and we want to be able to loop SEAMLESSLY back to a specific sample in the audio file (so there is an intro, then it loops back to an offset) currently THE ONLY export process I have found that will allow seamless looping (reports the right priming and padding fram...

Encode audio to aac with libavcodec

I'm using libavcodec (latest git as of 3/3/10) to encode raw pcm to aac (libfaac support enabled). I do this by calling avcodec_encode_audio repeatedly with codec_context->frame_size samples each time. The first four calls return successfully, but the fifth call never returns. When I use gdb to break, the stack is corrupt. If I use a...

Add chapters to m4a (mp4) files

I used ChapterTool from Apple, but it's broken and discontinued since 2005.. Is there any other similar command line tool, or library (I'm writing in ruby..) ? ...

Question About MP4(AAC) Binary Tree

I'm in the very early stages of working on a tag editor for mp4 files and more specifically iTunes AAC ones. After doing some snooping around it seems that the file's structure is not as complicated as I first thought and is built in a sort of tree like the following 4 Bytes [Atom Length] 4 Bytes [Atom Name] X Bytes [Atom Data] An ...

What's in a name? .aac V .m4a? aac->Works on website quicktime. m4a->works on iPad

What is the difference between an .aac file and an .m4a file? If I just change the file extension of an audio file recorded and then converted into "AAC" between .aac/.m4a it drastically affects how the file is treated. AAC: Plays in a web browser, not on the iPad M4A: Plays on the iPad, not on a web browser. Is there a real conversio...

Ruby: play, pause, resume aac (audio) files

I need to play, pause and resume AAC (audio) files from a ruby console program (much like iTunes or any music player). After much searching, I've come across these libraries: mp3info metadata id3lib-ruby rvideo (uses ffmpeg) These seem to help me in getting track length and tags which i also need, but I need something to p...

Flash/Flex: play embedded AAC audio?

Is it possible to play an embedded AAC file in Flash/Flex somehow? I know you can playback embedded MP3 files, but I hear that you can't do that with AAC. Anyone know any sneaky ways to get around this? By way of illustration, here's come code. [Embed(source='../../audio/music02.m4a', mimeType="audio/aac")] private static const __Exam...