Skip to main content

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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
172 views

How to encode FLAC and DTS audio formats to AAC most efficiently?

I have been encoding audio for my own personal media library from various formats into AAC available for direct play on my Plex Server. I have been using the following command with ffmpeg: ffmpeg -i &...
bigboss's user avatar
  • 11
0 votes
1 answer
85 views

my ffmpeg livestream keeps crashing: How do I troubleshoot?

I can't find the reason on why it is crashing, all I have is a list of mp3 files which are encoded to AAC on the fly. stream.sh #!/bin/bash ffmpeg \ -stream_loop -1 -re \ -i video.mp4 \ -safe 0 \ -f ...
n79qk272x57w46w9's user avatar
0 votes
1 answer
52 views

Can I use Git to track MP3 and AAC metadata without corrupting files?

I have a collection of roughly 7k (40GB) MP3 and AAC files, these files I have collected over the years and put through different players and organisers. Unfortunately during that time some of these ...
Imran's user avatar
  • 425
0 votes
1 answer
105 views

ffmpeg - converting one audio track of a multi-track mp4

I'm having a few mp4 with two audio tracks, an english one in aac and a french one in dts. Now I want to convert only the french dts to eac3 with a single ffmpeg command. I use ffmpeg -hide_banner -i ...
Shaun.M's user avatar
1 vote
0 answers
210 views

FFMPEG - Converting from WAV to AAC changes the length of the audio file and causes video to be out of sync

Disclaimer: I am a complete novice at computer science, coding, etc. TLDR: Converting from wav to aac with libfdk_aac is giving me a shorter file, and using aac it turns out longer. How can I preserve ...
Barzai's user avatar
  • 11
0 votes
0 answers
134 views

Element exceeds containing master element ending

I am using ffmpeg to a mkv to dash format file using the following: ffmpeg -i test.mkv -c:v copy -c:a aac -sn -f dash test.mpd then will print some error, and some audio segment files will lost some ...
Jady Yang's user avatar
1 vote
0 answers
141 views

Trying to convert WAV to HE-AACv2

so I've been trying to figure out how to convert WAVs into HE-AACv2, and nothing seems to be working at all. When I get an output file, it's corrupted. When I don't, it's always some vague error that ...
Jaden LeMieux's user avatar
12 votes
4 answers
3k views

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 ...
einpoklum's user avatar
  • 9,739
0 votes
0 answers
589 views

Keeping metadata and album art

I'm trying to convert aac 320kbps to mp3 320kbps but keeping album art and meta data bc I just want to convert the file extension. Is there a way to keep meta data and album art while converting?
Fylixr's user avatar
  • 1
0 votes
1 answer
958 views

ffmpeg with libfdk_aac: AAC-HE-V2 profile doesn't work for mono sound?

Whenever I use ffmpeg with libfdk_aac to convert a piece of audio to AAC, I noticed the aac_he_v2 profile does not work if the source audio is mono. For example: ffmpeg -i mono.wav -c:a libfdk_aac -...
RocketNuts's user avatar
  • 1,152
1 vote
1 answer
584 views

How can most apps play AAC for free?

Web says that AAC is not a free format, and decoding software must pay the fee. I have downloaded a sample AAC file, and tried playing it with free apps. On Android, Google Files, VLC, and Musicolet ...
Damn Vegetables's user avatar
1 vote
0 answers
485 views

Decoding aac to PCM in ffmpeg introduces noise in the raw PCM audio

I have a .mp4 file generated with ffmpeg as follows. ffmpeg -y -i video_extended.mp4 -itsoffset 00:00:04.00 -i output5-1.wav -map 0:0 -map 1:0 -c:v copy -c:a aac -ac 6 -ar 48000 -b:a 128k -async 1 ...
userDtrm's user avatar
  • 111
0 votes
0 answers
275 views

Transcoding multichannel audio to AAC failing

I’m having issues transcoding multichannel audio to AAC. Depending on the source material I either define a speaker layout/channel order and write that into the FMT chunk of an RF64 .wav (e.g. L R C) ...
Tom's user avatar
  • 21
0 votes
0 answers
458 views

aac files do not show metadata in explorer

Audio files that appear .aac per the extension will not show information in file explorer in the "Artist", "Title", etc columns when the folder is setup as an "audio" ...
Mike Dannyboy's user avatar
0 votes
1 answer
717 views

Can I increase audio gain in a Matroksa file without recoding?

I have a Matroska container with some video stream, some subtitles stream and an AAC audio stream. Now, the audio's gain/volume is too low, relative to other media files I play, and I want to increase ...
einpoklum's user avatar
  • 9,739
5 votes
0 answers
1k views

Windows 10: AAC Support

I bought new AirPods Max for various reasons. They work flawlessly when connecting them via Bluetooth to my Windows PC when only listening to music. The microphone quality is, however, atrocious. ...
Mav3N's user avatar
  • 51
1 vote
0 answers
380 views

FFmpeg concat produces longer output compared to the combination of all segments

I have around 96 .aac files in a directory that I want combined to produce an output.aac file. Similarly, I have 96 .ts segments to pair with the audio file. The .ts files produce an output of 9 ...
DataMsc's user avatar
  • 11
0 votes
0 answers
1k views

Convert raw AAC data to PCM data via ffmpeg

I have a system which is transmitting raw AAC data via TCP (no ADTS frame/header). Each "packet" is prefixed with enough information for me to determine the length of the raw data. I also ...
MadProgrammer's user avatar
0 votes
1 answer
517 views

Audio sounds muffled/muted - but not all of it

I'm viewing an MP4 file with AAC audio, and am experiencing something weird with the audio: I do hear audio; but while the background music seems to sound ok, the characters' speech and other audio ...
einpoklum's user avatar
  • 9,739
4 votes
1 answer
13k views

Why am I getting this error when converting m4a file? “Unknown encoder 'libfdk_aac'”

I am on Windows and am using the latest March 20, 2021 version of FFmpeg: ffmpeg-4.3.2-2021-02-27-essentials_build.zip When I use this command to try and convert audio: ffmpeg -i input.m4a -c:a ...
Akash Khan's user avatar
-1 votes
1 answer
2k views

How to convert audio to HE-AAC?

How to convert an .eac3, .ac3, .aac or any similar audio file to HE-AAC? (6 channel-192/224/244kbps)
Akash Khan's user avatar
1 vote
1 answer
1k views

Why does FFmpeg default to libvorbis?

Despite having used it for years, I very recently learnt (or maybe relearnt) that FFmpeg encodes by default even when not asked to, unless the streams are explicitly passed through with -c copy. This ...
Hashim Aziz's user avatar
1 vote
0 answers
214 views

How to use Ffmpeg to downmix 5.1 EAC3 to stereo AAC with Dolby Pro Logic II, while keeping the 5.1 audio track? [duplicate]

I'm creating audio tracks from movies that can be direct played on Roku and iOS devices. Handbrake can downmix 5.1 audio to stereo with Pro Logic II matrix encoding, but it cannot re-encode just the ...
ArianaGrande's user avatar
0 votes
0 answers
898 views

Audio is scrambled up when using ffmpeg concat demuxer

I am using ffmpeg's concat demuxer to join different mp4 videos. First I have reencoded all videos with the following command: ffmpeg -i "${file}" -c:v libx264 -c:a aac "${out}" ...
pfnuesel's user avatar
  • 316
1 vote
1 answer
2k views

FFmpeg AAC audio copy

I tried to convert some transport stream files to MP4 files, keeping only the original audio. For most streams this works fine, but for streams containing aac audio this seems an issue. q1: why this ...
hansvz's user avatar
  • 11
4 votes
1 answer
6k views

convert mp3 audio to aac m4a audio

It may be easy, but I'm new to ffmpeg and struggle with converting an mp3 audio to an aac audio file with .m4a file extension using ffmpeg on the command line (Win10). input: Stream #0:0: Audio: mp3, ...
Rumpl's user avatar
  • 143
0 votes
0 answers
198 views

Why do different devices and OSes decode the same AAC audio differently?

Depending on the device and OS I use to view this video, the stereo position of various audio elements change. For example, the piano and the person speaking at the beginning are either exclusively on ...
Dean Brettle's user avatar
0 votes
2 answers
3k views

Best sample rate AAC 5.1 384Kbits?

I have a movie with AC3 5.1 audio with 48khz of sample rate and change to AAC using libfdk_aac codec. I don't know if use the same sample rate or set to 44.1khz. In the libfdk_aac documentation the ...
Ferdinandpc's user avatar
7 votes
2 answers
10k views

Audio is not in sync after re-encoding with ffmpeg of video and changing audio from eac3 to aac

Recently I did a re-encode using ffmpeg and encountered an inaudible but waveform visible audio desynchronization in the process. Source information of MKV file and audio stream: Mediainfo shows a ...
octo's user avatar
  • 81
11 votes
2 answers
34k views

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 ...
Foebane's user avatar
  • 819
1 vote
1 answer
3k views

No sound on certain mp4 videos (audio codec: MPEG-4 AAC) in Windows 10 that work in Android (with earphones only) & Linux

Update: in Android there is only sound on these videos when I have earphones plugged in. No sound will play on my phone's speakers. The audio works on a set of mp4 videos when I play them in Ubuntu ...
izn's user avatar
  • 337
0 votes
1 answer
1k views

ffmpeg take channels 7+8 and make a stereo

I have a 8 audio track mov file which I want to encode to mp4 using ffmpeg BUT take the tracks 7+8 and put them as stereo with 320k and 48KHz to that mp4. My line is this: ffmpeg -i %source% -map 0:0 ...
Yannis's user avatar
  • 15
1 vote
2 answers
555 views

Converting AC3 audio to AAC in Audacity

I have a number of Music Videos I am converting from DVD to MP4. Unfortunately I find the audio levels are all different. It is easy enough to get similar audio leves by using Audacity but would ...
Tekno Geekz's user avatar
0 votes
1 answer
114 views

Bundling AAC-LD with MPEG2-TS

While using a proprietary SDK I had the following observations: 1) Could hear audio (AAC-LD) and see video (H.264) during the playback of MP4 video file. 2) Could not hear audio (AAC-LD) but could ...
Khilav's user avatar
  • 21
2 votes
1 answer
2k views

Type of audio codec being played in VLC

Is there a way in VLC player to ascertain the audio codec being used while playing a live stream via URL ? I am able to see "Codec: MPEG AAC Audio" in Codec Info but I want to see what type of AAC is ...
Khilav's user avatar
  • 21
0 votes
0 answers
238 views

Why is the libvo-aacenc / libvo_aacenc not found?

When using this https://libav.org/releases/libav-12.3.tar.gz library and running in the folder: "./configure --enable-static --enable-version3 --enable-libvo-aacenc" the error "ERROR libvo_aacenc not ...
a a's user avatar
  • 1
4 votes
2 answers
5k views

FFmpeg drops the Album Art

Everytime I encode my songs to lossy formats, the output file keeps the tags (title, artist, album, etc...), but drops the album art. I tried to encode to any lossy format, including AAC, OGG and ...
آرنولد پفکی's user avatar
3 votes
1 answer
2k views

Can MP3 contain AAC?

Can the container format MP3 contain an audio with a codec of ACC? I know that the MP3 container format can contain audio with a codec or MP3 (MP3 is a container and a codec); I thought that was the ...
Rublacava's user avatar
  • 243
0 votes
1 answer
521 views

How do I cancel out identical part of two audio files in Wavepad? (probably using phase difference?)

Let's say I have two similar audio files in different format (such as MP3 and AAC) from the same master (CD audio or WAV file) and I want to find some differences of quality between the two files. (to ...
Felix Lee's user avatar
  • 349
-1 votes
1 answer
55 views

What two types of lossy audio are the best to compare quality and efficiency? [duplicate]

I'm planning to do a detailed research about comparing and contrasting two lossy audio type formats. However, now I'm struggling to determine the two types which I can do a lot of experiments and ...
Felix Lee's user avatar
  • 349
0 votes
1 answer
915 views

ffmpeg-normalize output bitrate much larger than input bitrate

I am using the ffmpeg-normalize tool to normalize the relative volume of some AAC (extension .m4a) audio files. Often the output file is much larger than the input one, but I thought ffmpeg by default ...
Luke Davis's user avatar
4 votes
1 answer
6k views

VBR encoding with ffmpeg native AAC codec

I installed ffmpeg v4 from the Ubuntu launchpad ppa:jonathonf/ffmpeg-4 repository but it does not have the libfdk_aac codec included : $ ffmpeg -version | grep -i aac $ EDIT 1: ffmpeg AAC encoders ...
SebMa's user avatar
  • 1,863
1 vote
1 answer
3k views

The number of audio channels in a given mp4 with Mediainfo

I am trying to find the number of channels in a given .mp4 file. I run mediainfo, but it shows it as 8! Basically it should either be a 2 channel, or 5.1 showing as 6. And many of my files look like ...
Tina J's user avatar
  • 539
0 votes
1 answer
1k views

2.1 downmix with libfdk_aac using ffmpeg

I have several input media files I'd like to process. The input audio stream of each file is encoded in ac-3 with a 5.1 channel layout (back or side) at 384kbps. The objective is for the target media ...
der_michael's user avatar
1 vote
2 answers
8k views

Fraunhofer FDK AAC in FFmpeg

The FFmpeg AAC guide says, Fraunhofer FDK AAC codec library is currently the highest-quality AAC encoder available with ffmpeg. Pre-built ffmpeg does not support it. This can be resolved by ...
RvidD's user avatar
  • 404
0 votes
1 answer
109 views

Why does AAC render grainy output on my system?

I have two different systems (Windows 10 LTSB and Windows Server 2012) running the same version of ffmpeg and I'm running the following command in both of them: ffmpeg -i input.mp3 -vn -c:a aac -b:a ...
Melody's user avatar
  • 131
2 votes
0 answers
793 views

how to prevent creating of menu/chapter?

I'm using this simple command for re-encoding my audio tracks ffmpeg.exe -i "SOURCE.mp4" -acodec pcm_f32le -f wav - | neroAacEnc.exe -ignorelength -q 1 -cbr 80000 -lc -if - -of "out.aac" and I ...
gamer0's user avatar
  • 896
15 votes
3 answers
22k views

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)...
Peter K.'s user avatar
  • 434
0 votes
1 answer
1k views

Ubuntu 16.04 compiling FFMPEG with libfaac

I tried in different ways by reading various documents. I was not able to compile FFMPEG with the libfacc library but only with fdk_aac. https://gist.github.com/teocci/...
j8lud's user avatar
  • 1
3 votes
0 answers
582 views

delay in audio sync after converting ac3 to aac

I have a MKV video consist of a video and an audio of duration 10 minutes, after using ffmpeg to extract ac3 to aac audio, its duration became 10:50, which lead to audio out of sync with the video ...
samer metwally's user avatar