我使用 Homebrew 在 macOS 上安装了 VLC 播放器,然后从命令行运行它时,我收到了许多消息/警告:
% which vlc
/usr/local/bin/vlc
% vlc
VLC media player 3.0.16 Vetinari (revision 3.0.16-0-g5e70837d8d)
[00007f8476012eb0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
2021-12-25 19:05:48.211 VLC[10273:272753] Can't find app with identifier com.apple.iTunes
2021-12-25 19:05:48.439 VLC[10273:272753] Can't find app with identifier com.spotify.client
[00007f847621e240] auhal audio output error: AudioObjectAddPropertyListener failed, device id 251, prop: [atfp], OSStatus: 1852797029
[00007f847621e240] auhal audio output error: AudioObjectAddPropertyListener failed, device id 239, prop: [atfp], OSStatus: 1852797029
[00007f847621e240] auhal audio output error: AudioObjectAddPropertyListener failed, device id 55, prop: [atfp], OSStatus: 1852797029
[00007f847621e240] auhal audio output error: AudioObjectAddPropertyListener failed, device id 66, prop: [atfp], OSStatus: 1852797029
...
和这个:
% which cvlc
cvlc not found
知道如何解决它们吗?
事实证明,从带有接口规范的命令行运行 VLC 播放的语法是使用
--intf
(or-I
) 选项:vlc --intf <name_of_interface>
其中接口的名称可以从给出的列表中选择
例如,不使用接口:
使用文本界面是:
事实
给出一个警告,提示 'cvlc' 似乎是一个过时的命令名称。