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
31 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 ...
user avatar
  • 7,412
1 vote
0 answers
119 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. ...
user avatar
  • 11
1 vote
0 answers
80 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 ...
user avatar
  • 11
0 votes
0 answers
449 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 ...
user avatar
0 votes
1 answer
42 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 ...
user avatar
  • 7,412
1 vote
1 answer
3k 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 ...
user avatar
-1 votes
1 answer
302 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)
user avatar
1 vote
1 answer
301 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 ...
user avatar
  • 10.5k
1 vote
0 answers
199 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 ...
user avatar
0 votes
0 answers
214 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}" ...
user avatar
  • 294
0 votes
1 answer
624 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 ...
user avatar
  • 1
0 votes
1 answer
815 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, ...
user avatar
  • 3
0 votes
0 answers
154 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 ...
user avatar
0 votes
2 answers
263 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 ...
user avatar
1 vote
2 answers
4k 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 ...
user avatar
  • 21
5 votes
2 answers
10k 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 ...
user avatar
  • 649
1 vote
1 answer
2k 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 ...
user avatar
  • 337
0 votes
1 answer
592 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 ...
user avatar
  • 15
1 vote
2 answers
310 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 ...
user avatar
0 votes
1 answer
66 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 ...
user avatar
  • 1
0 votes
1 answer
1k 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 ...
user avatar
  • 1
0 votes
0 answers
165 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 ...
user avatar
  • 1
3 votes
2 answers
2k 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 ...
user avatar
2 votes
1 answer
915 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 ...
user avatar
  • 223
0 votes
1 answer
212 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 ...
user avatar
  • 199
-1 votes
1 answer
48 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 ...
user avatar
  • 199
0 votes
1 answer
704 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 ...
user avatar
1 vote
1 answer
4k 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 ...
user avatar
  • 1,245
1 vote
1 answer
1k 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 ...
user avatar
  • 489
0 votes
1 answer
895 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 ...
user avatar
0 votes
2 answers
6k 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 ...
user avatar
  • 164
0 votes
1 answer
87 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 ...
user avatar
  • 111
2 votes
0 answers
520 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 ...
user avatar
  • 795
11 votes
3 answers
15k 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)...
user avatar
  • 384
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/...
user avatar
  • 1
1 vote
0 answers
407 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 ...
user avatar
2 votes
1 answer
324 views

HE AACv2 Audio profile on MediaInfo

I have a SDI input encoder with audio configuration as Coding : AAC/HE-AAC Coding Mode : MPEG-4 HE AAC v2 Mode : Stereo (2/0) Sameple Rate : 48KHz ES Bitrate : 64Kbps Transport Format : ADTS And, ...
user avatar
3 votes
1 answer
11k views

5.1 audio over SPDIF on Windows 10?

I bought a Xonar DGX to hook it up to my Sony 5.1 surround system with SPDIF. Windows 10 says the SPDIF port only supports stereo and when I start the sound test it plays only sounds on FL and FR. In ...
user avatar
0 votes
1 answer
2k views

ffmpeg do not write metadata to the aac

My input: ffmpeg -i input.ogg -metadata Album='Vitaly' output.aac Returned: ffmpeg version 3.3.4-static http://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2017 the FFmpeg developers ...
user avatar
0 votes
1 answer
713 views

FFmpeg: spoken audio from ogg vorbis to aac VBR: modes 1-5 have zero effect

ffprobe about my input: Duration: 00:02:50.54, start: 0.000000, bitrate: 40 kb/s Stream #0:0: Audio: vorbis, 22050 Hz, mono, fltp, 35 kb/s Filesize: 834K I use this command to convert this ...
user avatar
0 votes
1 answer
2k views

Unable to create aac/mp3 cbr 256k using ffmpeg

I am using following commands to make aac/mp3 files with 256kbps bitrate and constant bitrate mode. For aac: ffmpeg -i test.wav -b:a 256k -y test.aac For mp3: ffmpeg -i test.wav -b:a 256k -y test....
user avatar
0 votes
1 answer
627 views

Specifying different aac profiles for different audio streams in ffmpeg

I'm trying to take a video with two audio streams and compress the first one in stereo at 48 kbps with AAC HEv2 encoding, with the second in mono at 40 kbps using HEv1. My code is essentially as ...
user avatar
1 vote
1 answer
53 views

bash script variables not proper

I updated it a little bit, but I'm still not getting the results I should be getting: #!/bin/bash find "$1" -type f | while read filename do videoCodec=$(ffprobe -v error -select_streams v:0 -...
user avatar
  • 11
1 vote
1 answer
442 views

Is it possible to write ApeV2 tags with FFMPEG in AAC format

I am currently developing an application that allow user to convert formats between each others. To convert the audio files I use ffmpeg. I have a problem with the aac format that doesn't have any ...
user avatar
  • 113
0 votes
1 answer
1k views

A "proper" way to extract AAC audio from an MP4 file?

I use Linux (Kubuntu 16.04), and I have some .MP4 files with audio tracks, which I want to extract, save as .AAC/.M4A files and tag. Now, I've been doing the extraction using MP4Box -raw $...
user avatar
  • 7,412
0 votes
2 answers
1k views

converting to the same format many times - how much quality will I lose?

Almost a decade ago, I converted all my mp3 files higher than CBR 192 kbps to exactly CBR 192 kbps. This is because I can no longer here any difference between CBR 192 and CBR 320 (using and ABX test),...
user avatar
0 votes
1 answer
1k views

Maximising efficiency of my M4A music playlist

Reading this answer here and questions like: What lossy audio formats are more (or less) "efficient"? Are there any perceptible differences between the sound quality of 192 versus 320 kbps ...
user avatar
  • 10.5k
0 votes
1 answer
10k views

ffmpeg FLAC to AAC encoding

I wanted to make sure that I'm not shooting myself in the foot and ask about this. So currently I have an audio file in a .mkv container that looks like this Audio: FLAC (framed) 48000Hz stereo ...
user avatar
1 vote
1 answer
1k views

ffmpeg flac to aac (libdfdk_aac) missing metadata

I want to convert an album from flac to aac. After converting the aac file is missing all metadata from the original flac file. I've already tried to convert it with the -map_metadata 0 argument My ...
user avatar
  • 123
0 votes
1 answer
632 views

Opening FLV AAC stream in VLC

When I run vlc from the command line and pass it the url of a stream I want to listen to, it works: $ vlc http://14143.live.streamtheworld.com/CJMOFMAAC But when I try to open this url from within ...
user avatar