sh 在macOS上启用AptX和AAC编解码器

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh 在macOS上启用AptX和AAC编解码器相关的知识,希望对你有一定的参考价值。

# (c) 2018 Marcelo Novaes
# License - MIT

# Enable AptX and AAC codecs on bluetooth connections on macOS

sudo defaults write bluetoothaudiod "Enable AptX codec" -bool true
sudo defaults write bluetoothaudiod "Enable AAC code" -bool true
# default is 128, you can change to higher
sudo defaults write bluetoothaudiod "AAC Bitrate" 128

# Reads set values, should return something like:
# {
#    "Enable AAC code" = 1;
#    "Enable AptX codec" = 1;
#    "AAC Bitrate" = 128;
# }

sudo defaults read bluetoothaudiod

# You should be able to check it by connecting a compatible bluetooth device, playing some
# compatible music and then holding Option (Alt) and clicking on the Bluetooth menu bar icon.
# This should show you inside the connected device menu item Active Codec: AptX (or AAC)

以上是关于sh 在macOS上启用AptX和AAC编解码器的主要内容,如果未能解决你的问题,请参考以下文章

“编码器‘aac’是实验性的,但实验性编解码器未启用”

android音视频音频硬编解码pcm&aac&wav

android音视频音频硬编解码pcm&aac&wav

将带有 amr_nb 音频编解码器的 .mov 包装器转换为 aac/mp4a 编解码器

fdk-aac编解码

有没有办法使用带有编解码器 AAC 到 AAC 的 ffmpeg 获得准确的 1 秒剪辑