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
6
votes
3 answers

Unexpected status line: ICY 200 OK for URL openStream() method?

According to changes for kitakt 4.4 there were some problems with playing shoutcast streams (those returning "ICY" instead of "HTTP/1.x" response). So solution for kitkat was to reregister "icy" protocol prefix in JVM once before we opened a stream…
deadfish
  • 11,996
  • 12
  • 87
  • 136
6
votes
3 answers

AVAudioPlayer initWithContentsOfURL returns nil for AAC/M4A files

I use the following code to play an audio file. It plays fine for MP3 files, but when I try to play an AAC file, the [[AVAudioPlayer alloc] initWithContentsOfURL:] returns nil and I get the following error: Error Domain=NSOSStatusErrorDomain…
RawMean
  • 8,374
  • 6
  • 55
  • 82
6
votes
1 answer

Output audio settings when append one AAC file to another

My app records two audio files one by one using AVAudioRecorder with audio parameters: NSDictionary *outputSettings = [NSDictionary dictionaryWithObjectsAndKeys: [NSNumber numberWithInt:…
somedev
  • 791
  • 11
  • 29
6
votes
1 answer

Parallelize encoding of audio-only segments in ffmpeg

We are looking to decrease the execution time of segmentation/encoding from wav to aac segmented for HTTP live streaming using ffmpeg to segment and generate a m3u8 playlist by utilizing all the cores of our machine. In one experiment, I had ffmpeg…
NeverFall
  • 229
  • 5
  • 10
6
votes
1 answer

Is there a way to get exactly a 1 second clip using ffmpeg with the came codec AAC to AAC

If I have an .mp4 file with a video stream and an audio stream. I f I execute this command: ffmpeg -i input.mp4 -ss 00:00:14.000 -t 00:00:01.000 -vn -c:a libfaac audio.m4a The result is Duration: 00:00:01.02, start: 0.021179. I want to make sure…
6
votes
1 answer

How to find AAC-LC (non-ADTS) audio packet length

I have AAC-LC audio stream coming directly from audio encoder. Its a raw stream, No ADTS headers, no container data as I want to stream encoded audio directly as it arrives.(before file gets saved). I want to determine the frame boundaries/frame…
mrsatish
  • 429
  • 2
  • 7
  • 15
6
votes
1 answer

Raw Audio File to AAC using Windows Media Foundation on Windows 7

Thanks for taking some time to read my question. I'm developping a C++ application using Qt and windows API. I'm recording the microphone output in small 10s audio files in raw format, and I want to convert them to aac format. I have tried to read…
Eyal Hadida
  • 81
  • 1
  • 4
6
votes
2 answers

How to reduce audio file size in IOS

I am doing an application which get songs from mediapicker and saving it to my application.i want to reduce the size of file,but i got a sample named "AACConverter",i test the application but it is not reducing the file size.could any one help me…
girish
  • 900
  • 12
  • 23
6
votes
5 answers

Determine whether an audio file is encoded in Apple Lossless (ALAC)

There are a number of audio files that have .m4a suffix and these are encoded in one of AAC or Apple Lossless (ALAC). I want to choose only audio files encoded in Apple Lossless of them. Is there any way to determine this? I tried FFmpeg, but it…
minhee
  • 5,688
  • 5
  • 43
  • 81
5
votes
1 answer

MediaElement and AAC stream support on Windows Phone 7

According to this link the Windows Phone 7 supports the AAC encoded audio stream in the browser and via the MediaElement API as well. We have tested few the icecast streams (e.g. this) it on our devices (e.g. HTC HD7 T9292, with latest updated - ver…
STeN
  • 6,262
  • 22
  • 80
  • 125
5
votes
7 answers

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…
kwork
5
votes
2 answers

Problem using FFmpeg to convert MKV with A/52 B audio (aka E-AC3) to AAC

I've got a number of MKV files which are (per VLC) encoded with A/52 B (aka E-AC3) audio codecs. I would like to convert these to AAC, but I'm having trouble doing this with FFmpeg. The command I'm running is: ffmpeg -hwaccel auto -i…
nxl4
  • 714
  • 2
  • 8
  • 17
5
votes
2 answers

How can I append to a recorded MPEG4 AAC file?

I'm recording audio on an iPhone, using an AVAudioRecorder with the following settings: NSMutableDictionary *recordSettings = [[NSDictionary alloc] initWithObjectsAndKeys: [NSNumber numberWithInt: kAudioFormatMPEG4AAC], AVFormatIDKey, …
teedyay
  • 23,293
  • 19
  • 66
  • 73
5
votes
1 answer

Multiple audio tracks from one source in ffmpeg

I'm transcoding my video using ffmpeg but I am unable to figure out how I can get both a 2 channel aac option (downmuxed) and a surround AC3 option in one go. My current command is: ffmpeg -i input.mp4 \ -c:v libx265 -preset medium -crf 21 -pix_fmt…
IanBauters
  • 123
  • 1
  • 2
  • 8
5
votes
2 answers

AAC Codec Library (libFAAC alternative)

I'm looking for an AAC encoder/decoder library that works on Linux and Windows (for a C\C++ app). This is for a commercial product, so libFAAC is not an option. I've looked at the one from Nero and MainConcept, but I'd prefer something with a LGPL…
tjd
  • 467
  • 1
  • 8
  • 14