Files
tldr/pages.zh/common/mpg321.md

29 lines
1013 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# mpg321
> 高性能 MPEG 1.0/2.0/2.5 音频播放器,支持第 1、2 和 3 层。
> mpg321 是在 1999 年(某个时候)编写的,旨在作为(之前的)非免费 mpg123 播放器的替代品。
> 更多信息请访问:<https://mpg321.sourceforge.net/>。
- 精确播放音频源 N 次N=0 表示无限次):
`mpg321 -l {{N}} {{path/to/file_a|URL}} {{path/to/file_b|URL}} {{...}}`
- 递归播放目录中的音频:
`mpg321 -B {{path/to/directory}}`
- 播放时启用基本键(`*``/` - 增加或减少音量,`n` - 跳过歌曲,`m` - 静音/取消静音):
`mpg321 -K {{path/to/file_a|URL}} {{path/to/file_b|URL}} {{...}}`
- 随机播放文件,直到被中断:
`mpg321 -Z {{path/to/file_a|URL}} {{path/to/file_b|URL}} {{...}}`
- 在播放之前随机打乱文件顺序:
`mpg321 -z {{path/to/file_a|URL}} {{path/to/file_b|URL}} {{...}}`
- 随机播放当前目录及其子目录中的所有文件(直到被中断),并启用基本键:
`mpg321 -B -Z -K .`