如何在最近的VLC版本上通过命令行设置音量? [英] How to set the volume via commandline on recent VLC versions?

查看:278
本文介绍了如何在最近的VLC版本上通过命令行设置音量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试通过Ubuntu上的终端在VLC [2.2.1]中设置音量。

I've been trying, without success, to set the volume in VLC [2.2.1] via terminal, on Ubuntu.

参数-volume 不再存在(警告:选项--volume不再存在),我在其中找不到任何内容

The parameter --volume doesn't exist anymore (Warning: option --volume no longer exists), and I can't find anything in the help which has "volume" in it.

文档( https://wiki.videolan.org/Documentation:Advanced_Use_of_VLC/ )已过时,因为它仍然具有-volume 选项

The documentation (https://wiki.videolan.org/Documentation:Advanced_Use_of_VLC/) is outdated, as it still has the --volume option in it.

还有可能吗?

推荐答案

在MacOS上使用VLC 3

Tested on MacOS using VLC 3

/Applications/VLC.app/Contents/MacOS/VLC --auhal-volume=256

将以设置的256的音量启动VLC,该音量对应于当前系统音量的100%。

Will start VLC with the set volume of 256 which corresponds to 100% of current system volume.

可以设置为512。

这篇关于如何在最近的VLC版本上通过命令行设置音量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆