Questions tagged [aac]

Advanced Audio Coding (AAC) is a standardized, lossy compression and encoding scheme for digital audio. Designed to be the successor of the MP3 format, AAC generally achieves better sound quality than MP3 at similar bit rates.

Advanced Audio Coding (AAC) is a standardized, lossy compression and encoding scheme for digital audio. Designed to be the successor of the MP3 format, AAC generally achieves better sound quality than MP3 at similar bit rates.

AAC has been standardized by ISO and IEC, as part of the MPEG-2 and MPEG-4 specifications.[3][4] Part of the AAC known as High-Efficiency Advanced Audio Coding (HE-AAC) which is part of MPEG-4 Audio is also adopted into digital radio standards like DAB+ and Digital Radio Mondiale, as well as mobile television standards DVB-H and ATSC-M/H.

AAC can be encapsulated in MP4, ADTS and ADIF formats. Use as well if the question is related to AAC encapsulated in ADTS and if the question is related to AAC encapsulated in MP4 container.

More information at AAC in wikipedia

614 questions
5
votes
0 answers

FFMPEG: AAC Number of bands exceeds limit

I am using the FFMPEG C API to decode the audio in an MP4 file. My code works when decoding an OGG or MP3 file, but fails on the first frame of AAC audio in an MP4 I get this error from avcodec_send_packet(codecContext, packet) [aac @…
opus111
  • 2,744
  • 4
  • 25
  • 41
5
votes
3 answers

FFmpeg - What muxer do i need to save an AAC audio stream

I'm developing Android application, and im using ffmpeg for conversion of files. I want my binary file to be as slim as possible since i don't have many input formats and output formats, and my operation is quite basic.And of course not to bloat the…
David Barishev
  • 534
  • 7
  • 30
5
votes
0 answers

How to configure Media Codec AAC Decoder (Audio sent with Gstreamer)

I want to build an app that plays AAC audio stream sent by my Raspberry Pi with Gstreamer. This is the pipeline I set in Gstreamer: gst-launch-1.0 audiotestsrc ! faac "bitrate=64000" ! "audio/mpeg, mpegversion=4, rate = 44100, channels = 1" ! mux.…
J.Ney
  • 201
  • 1
  • 2
  • 11
5
votes
2 answers

Stream AAC on Android

I'm working on an app for a client that requires streaming of an AAC audio stream. Unfortunately, there's nothing I can do about the stream format on the server. I'm working on Android and have discovered that Android's media player does not…
Chris Thompson
  • 35,167
  • 12
  • 80
  • 109
5
votes
0 answers

AAC Stream Encoder/Decoder in C#

I'm coding a media streaming system in C# that needs to stream audio in the first place, the source is RAW PCM data as byte stream, but it needs to encode it to AAC (no other format is accepted), than it is needed to be forwarded as byte stream,…
beatcoder
  • 683
  • 1
  • 5
  • 19
5
votes
0 answers

change .mp3 file format to .aac file format in android using java programming

I have one .mp3 file and I have to convert it into .aac file format.I have made one android app and it will only use .aac files.I have seen many questions on stackoverflow based on this.But didn't get any right solution with code. So please help…
Udit Kumawat
  • 654
  • 1
  • 8
  • 21
5
votes
1 answer

How to add metadata to AAC files recorded with AVAudioRecorder?

Is there any way to set metadata like artist, title, genre etc. for an AAC file recorded with AVAudioRecorder? For MP3 files there is the ID3 tag. However, I haven't been able to find an equivalent for AAC files. I have searched through the Apple…
Mischa
  • 15,816
  • 8
  • 59
  • 117
5
votes
0 answers

Decoding raw AAC with MediaCodec without using MediaExtractor

I successfully decoded and play the mp4 (AAC) file using MediaExtractor and MediaCodec with the code below.I want to decode raw AAC (in another file, with same encoding format) to PCM. The problem is that I don't know how to set SampleSize and…
SohailAziz
  • 8,034
  • 6
  • 41
  • 43
5
votes
2 answers

Specified sample format s16 is invalid or not supported

I am encoding PCM data to AAC format using ffmpeg: Following is my code to setup the context object: -(id)encode:(short*)data{ AVCodecContext *audioCodec; AVCodec *codec; avcodec_register_all(); //Set up audio encoder codec =…
user2955351
  • 273
  • 4
  • 18
5
votes
1 answer

Why is firefox able to read m4a/aac file but not if embedded with HTML5?

I understand that Firefox has decided not to support AAC because of licensing issue but how come is it possible to read m4a files directly in Firefox ? (I'm using 28.0) For instance with this file…
Such
  • 910
  • 1
  • 9
  • 20
5
votes
1 answer

How to record raw AAC audio files in Android using MediaRecorder? AAC_ADTS doesn't work

I'm using the Android MediaRecorder to record AAC encoded audio files. Setting the output format to MPEG-4 worked pretty well. But as my audio player supports neither MPEG-4 nor 3GP I tried to get raw AAC files by using the output format AAC_ADTS,…
Kirby
  • 86
  • 1
  • 8
5
votes
3 answers

Is it possible to play AAC provided by SHOUTcast with HTML5?

I tried the following code below: I'm using Mac and this code worked fine with Safari but not with Chrome or Firefox. Is there any solution using only HTML5? If not, can I make a…
Caio Tarifa
  • 5,973
  • 11
  • 46
  • 73
5
votes
0 answers

How to concatenate two AAC files smoothly?

To save time, I want to segment and transcode a large video file on multiple computers. I use ffmpeg to transcode the segments of the large video file with: ffmpeg -i large_movie.mp4 -ss 00:00:00 -t 00:01:00 -acodec libfaac seg0.flv ffmpeg -i…
James Deng
  • 51
  • 1
  • 4
5
votes
1 answer

AAC format in Android

I have a problem with audio on android. Short Question: I need to play and record audio in aac format an all Android devices. I found that it is possible starts from API 10, but on my BLU device(2.3.5) it works by using MediaRecorder and…
Yanny
  • 490
  • 4
  • 16
5
votes
1 answer

aac-eld decoding in Linux

I was in Vietnam and tried to learn Vietnamese. The difficult thing is to learn the pronunciation and I made an Android App to record voices. Vietnamese people are very nice and I collected more than 500 sound files. Now I'm trying to make a…
bernard
  • 306
  • 1
  • 8