Skip to main content


Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: QAAC stream encoding (Read 2733 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

QAAC stream encoding


I used custom encoding with ffmpeg and following params:

ffmpeg.exe -f s16le -ac 2 -ar 44100 -i - -f adts -c:a libfdk_aac -b:a 256k -cutoff 20000 -

So input is raw and output is encoded AAC stream.

How can I do the same using qaac?


Re: QAAC stream encoding

Reply #1
qaac --raw --adts --cbr 256 --lowpass 20000 -o - -
gold plated toslink fan

Re: QAAC stream encoding

Reply #3
Incidentally, if you're curious about what macOS does for AAC supporting Bluetooth A2DP devices, at least in Big Sur:

At least for AirPods (original) and the Sony WH-1000XM4, it seems to use the same profile, where it sets the Apple AAC encoder to an average bitrate of 192000 bps, with a minimum packet size enforcing ~12.5kbps, and a maximum enforcing just under 256kbps.

Continuing my off-topic musing, it would be really neato if someone could implement third party A2DP codecs into Windows. I'd settle for just AAC, but LDAC would be lovely too, and there's a freely available encoder, including source code, it seems Sony only enforces licensing for decoders.