m4a

What is the difference between M4A and AAC Audio Files?

泄露秘密 提交于 2019-11-30 06:27:32
is there a difference between M4A audio files and AAC audio files or are they exactly the same thing but with a different file extension ? .M4A files typically contain audio only and are formatted as MPEG-4 Part 14 files ( .MP4 container). .AAC is not a container format and instead it is a raw MPEG-4 Part 3 bitstream with audio stream encoded. Note that M4A does not have to contain exactly AAC audio, there are other valid options as well. There are raw video and audio streams, this streams cannot be played directly on most video/audio player, they need to be "encapsulated" on a transport, a

m4a mp4 file format what's the difference or are they the same?

冷暖自知 提交于 2019-11-30 03:23:05
问题 I've looked and can't seem to find a concrete answer. My client wants to play sound clips on his website, currently he has over 2000 clips which are in m4a format. A lot of the audio players I have looked at say they support mp4 but no mention of m4a. From the wiki on mp4 it says they are both the same except that m4a is a container for mp4 or something along those lines. So my question is can i play m4a files with an mp4 player? The alternative is for my client to convert all his files to

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

偶尔善良 提交于 2019-11-29 21:04:50
问题 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 libfaac -ab 163840 dest.aac When i change the output file's name to dest.m4a, it doesn't play in iTunes. Thanks! 回答1: FFmpeg provides AAC encoding facilities if you

Streaming AAC audio with Android

廉价感情. 提交于 2019-11-29 20:43:34
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.raw.*file*); mp.start(); The following doesn't work. (But does with MP3's). Uri uri = Uri.parse("http://*example.com*/blah.m4a"); MediaPlayer mp = MediaPlayer.create(this, uri); mp.start(); Can anyone shed any light on why it fails when the m4a audio file is not

Streaming AAC audio with Android

不打扰是莪最后的温柔 提交于 2019-11-28 16:49:53
问题 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.raw.*file*); mp.start(); The following doesn't work. (But does with MP3's). Uri uri = Uri.parse("http://*example.com*/blah.m4a"); MediaPlayer mp = MediaPlayer