Questions tagged [aac]

Advanced Audio Coding (AAC) is an encoding scheme for lossy compression of digital audio designed to be the successor of the MP3 format.

137 questions
64
votes
3 answers

Convert mp3 to wav using FFmpeg for VBR

What command should I use to convert a mp3 file to wav whose bitrate is variable. Or better how would I know whether that source audio is fixed bitrate or variable?
60
votes
8 answers

How to decode AAC (.m4a) audio files into WAV?

How would you convert (decode) AAC files into WAV format? (Or, if you prefer, how to decode & re-encode them into MP3 or Ogg Vorbis? But WAV is sufficient as I already have good tools for WAV ➔ MP3/Ogg conversion.) I'm mostly interested in Mac or…
Jonik
  • 5,940
44
votes
2 answers

How to extract an audio track from an MP4 video file on Windows?

Having an MP4 video file I'd like to get just the audio track of it. What makes my question different from the others is that I don't want to convert it (like to MP3 or anything) - I'd prefer to keep exactly the same AAC audio stream that is…
Ivan
  • 7,863
34
votes
2 answers

FFmpeg command to convert MP3 to AAC

I can issue this command: ffmpeg -i input.mp3 -acodec alac -ab 128k -ar 48000 -ac 2 -y output.m4a to create a m4a file. But when I issue this command ffmpeg -i input.mp3 -acodec alac -ab 128k -ar 48000 -ac 2 -y output.aac ffmpeg is throwing an…
32
votes
2 answers

Converting Audio to AAC using ffmpeg

I have the following setup for FFmpeg: ffmpeg version N-54790-g1816f55-syslint Copyright (c) 2000-2013 the FFmpeg developers built on Jul 17 2013 21:34:32 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-3) configuration:…
user1503606
  • 583
  • 3
  • 7
  • 10
23
votes
4 answers

How to use ffmpeg to add metadata to an AAC file without reencoding?

I'm using ffmpeg to extract just the audio stream from a video file: ffmpeg -i video.mp4 -vn -acodec copy audio.aac This produces a clean audio file but without any metadata. To add metadata, ffmpeg has a command line option: ffmpeg -i video.mp4…
Chris C.
  • 433
  • 1
  • 3
  • 9
17
votes
4 answers

Extract audio aac from mp4

Is there a command line tool for Windows to extract audio aac from mp4 ?
iceman
  • 2,510
16
votes
3 answers

Recommended settings to convert Opus to AAC

I am downloading some music from Youtube, and it seems that in most cases (popular videos), the best quality audio is an opus file. I know that (1) Opus is the newest and more efficient codec, and (2) converting from one lossy codec to another is…
Peter K.
  • 464
15
votes
5 answers

Convert MKV with DTS sound to MP4 video with AAC or AC3 audio

I've got a 4.3 GB 720p movie and want to convert this MKV with DTS sound to MP4 video with AAC or AC3 audio. I sometimes get: ffmpeg: unrecognized option '-c:v' …and: aac unrecognized ¬and other similar stuff. I want this movie to have small size…
dale
  • 259
12
votes
2 answers

Does ffmpeg's aac encoder need a audio bitrate?

What happens if you do not set a audio bitrate in the aac encoder ? -ab 128k Does it automaticly select the highest bitrate it can or something i am curious if i should do this or if it will be bad i see no difference.
C0nw0nk
  • 639
12
votes
9 answers

What is the best file format/bit rate to rip tracks from a CD into iTunes?

I know it sounds subjective but its not meant to be. I am very new to ripping CD's using iTunes, and I'm confused over the different formats available. I have read Wikipedia regarding the AAC and Apple Lossless Formats (ALAC). I read that Apple…
Taptronic
  • 1,121
12
votes
4 answers

I can't tag my AAC files with meta-data; what can I do instead?

I have an AAC file which I want to tag with information (artist, title, track number, album title etc.) ; unfortunately - it seems AAC does not support most of these tags, and tagger apps refuse to write them. Can I perhaps convert the file into a…
einpoklum
  • 10,666
11
votes
3 answers

How to determine AAC bit depth

With a wav file for example you can easily distinguish between bit depths 24-bit Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s32, 2116 kb/s 16-bit Stream #0:0: Audio: pcm_s16le ([1][0][0][0] /…
Zombo
  • 1
11
votes
2 answers

ffmpeg: How do I re-encode a video to H.264 video and AAC audio?

I'm trying to re-encode a video produced with "TechSmith Screen Capture Codec" in WinUAE to use H.264 video and AAC audio, with the latest "ffmpeg" (20200510-fc99a24) 64-bit, but when I use the following line with ffmpeg, it seems to encode OK, but…
Foebane
  • 849
10
votes
1 answer

Convert m4a to aac without quality loss?

I wanna use a program on an .m4a file, but the program can't handle .m4a. It can handle .aac, however, and the codec of the file is MPEG-4 AAC. Is there a way to convert to .aac (and preferably converting back) without reencoding? (Alternative…
H.v.M.
  • 577
1
2 3
9 10