m4a

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...

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. ...

abstracting the conversion between id3 tags, m4a tags, flac tags...

I'm looking for a resource in python or bash that will make it easy to take, for example, mp3 file X and m4a file Y and say "copy X's tags to Y". Python's "mutagen" module is great for manupulating tags in general, but there's no abstract concept of "artist field" that spans different types of tag; I want a library that handles all the ...

How to get bitrate of audio file in cocoa

I need to get bitrate information from audio files, for some reason AudioFileGetProperty function with kAudioFilePropertyBitRate constant always returns 0 for me. The same with kAudioFilePropertyInfoDictionary, the resulting dictionary doesnt contain bitrate info. I would try to manualy get this from raw data in case of mp3, but I need t...

How can I query chapter metadata from a m4a file?

I need to write some code that will let me query a m4a file and extract the chapter information out. Including: chapter name chapter start time chapter artwork I did some quick searching and it seems this is viewed as proprietary information by Apple? I found some discussions, but most were from 2005. Also there have been some si...

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...

XCode crashes when adding .m4a file to resources

I created my own small .m4a file with GarageBand, for use in my app on the iPhone. Everytime I try to Add existing file, XCode crashes when I select the .m4a file. The file itself will play nicely in QuickTime Player and iTunes. Any workarounds? ...

Playback skipping/seeking in an MP4 file

I'm trying to figure out the proper technique for performing skipping ahead or seeking within an mp4 (or m4a) audio file while playing it using the AudioFileStream and AudioQueue APIs on the iPhone. If I pass the complete mp4 header (up to the mdat box) to an open AudioFileStream, the underlying audio file type is properly identified (...

How to read tags out of m4a files in .NET?

I've got some heavily modified code that ultimately came from the Windows Media SDK that works great for reading tags out of MP3 and WMV files. Somewhere along the line, Windows Media Player added support for .m4a files (was it in Windows 7?) but the Windows Media API doesn't seem to reflect that addition (or at least IWMMetadataEditor2:...

WPF MediaPlayer doesn't play M4A?

I am trying to use a MediaPlayer instance to play M4A files. For those of you that aren't familiar, MediaPlayer is the non-XAML version of a MediaElement. There are pretty much the same, but I don't want any XAML, so I use a MediaPlayer instead. Anyways, it plays some M4A files just fine. The NaturalDuration of other M4A files is 0, but ...

upload an m4a file in flex, saving it as a blob in oracle, and retrieving metadata info from it

Hi, I currently have a FileUpload.mxml component that uploads a .m4a to an oracle database, retrieves metadata from the file and saves the metadata info in the database. to acheive this I use FileReference() and set up, amoung others, the dispatcher.addEventListener(DataEvent.UPLOAD_COMPLETE_DATA, completeHandler); So the file is pos...

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...

Java M4A atom tagging free space issue

Hey, I've been trying to be able to read and write iTunes style M4A atoms and while I've successfully done the reading part, I've come to a bit of a halt in regards to the free space atoms. I figured that I should be able edit and shift the padding around to accommodate writing an atom with more data than it originally had. I've been stu...

How do you read/write/update m4u and mp3 file meta data using cocoa/objective c?

Are there some particular library files available on OS/X that are relevant, I am just not sure where to start. ...

iPhone - How to convert aiff audio files into aac?

I'm developing an iphone app that records audio, right now it records aiff files, I need to convert these files to aac... any idea how to do this? ...

Wpf Mediaelement and .m4a files, SpeedRatio not working?

Hi, Im working with a simple mediaplayer based on this msdn example where the user can control volume, playback speed (SpeedRatio) and seek (position) using 3 sliders. Everything works correctly when I play .mp3 files, but as soon as I play an .m4a file the song playback speed, controlled by the MediaElement.SpeedRatio, is ignored. Vol...

Play M4A Files on Website

Hey, how can I play m4a audio files on my website? None of the regular mp3 players are working. Thanks ...