You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

解决macOS下命令行VLC的`AudioObjectAddPropertyListener`错误求助

解决macOS下命令行VLC的AudioObjectAddPropertyListener错误求助

最近在macOS 13.1上用命令行调用VLC播放视频时,碰到了一堆音频输出相关的错误提示,虽然播放结束后能正常退出,但这些错误看着实在闹心,想请教下有没有解决办法?

我执行的命令是:

vlc -Z --play-and-exit my_music.mp4

运行后输出的错误信息如下:

VLC media player 3.0.20 Vetinari (revision 3.0.20-0-g6f0d0ab126)

[00007fec32124770] macosx interface error: Updater aborted with error 1001

[00007fec21807100] auhal audio output error: AudioObjectAddPropertyListener failed, device id 269, prop: [atfp], OSStatus: 1852797029

[00007fec21807100] auhal audio output error: AudioObjectAddPropertyListener failed, device id 257, prop: [atfp], OSStatus: 1852797029

[00007fec21807100] auhal audio output error: AudioObjectAddPropertyListener failed, device id 79, prop: [atfp], OSStatus: 1852797029

[00007fec21807100] auhal audio output error: AudioObjectAddPropertyListener failed, device id 91, prop: [atfp], OSStatus: 1852797029

[00007fec21807100] auhal audio output error: AudioObjectAddPropertyListener failed, device id 269, prop: [atfp], OSStatus: 1852797029

[00007fec21807100] auhal audio output error: AudioObjectAddPropertyListener failed, device id 303, prop: [atfp], OSStatus: 1852797029

zsh $ [00007fec32405e50] main playlist: end of playlist, exiting

file: /Users/qazwsx/my_music.mp4

我的VLC版本信息如下,执行vlc --version得到:

VLC media player 3.0.20 Vetinari (revision 3.0.20-0-g6f0d0ab126)

VLC version 3.0.20 Vetinari (3.0.20-0-g6f0d0ab126)

Compiled by d-fu on Davids-MBP.fritz.box (Nov  1 2023 13:50:16)

Compiler: clang: warning: argument unused during compilation: '-mmacosx-version-min=10.7' [-Wunused-command-line-argument]

This program comes with NO WARRANTY, to the extent permitted by law.

You may redistribute it under the terms of the GNU General Public License;

see the file named COPYING for details.

Written by the VideoLAN team; see the AUTHORS file.

On macOS 13.1.

这些错误都是auhal audio output相关的AudioObjectAddPropertyListener失败问题,看起来是音频设备属性监听出了问题。目前播放功能是正常的,但每次运行都输出一堆错误信息,有没有办法彻底解决这个问题?或者至少能在命令行里抑制这些错误输出?

备注:内容来源于stack exchange,提问作者qazwsx

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.20 07:54:53