5

mpg123播放歌曲自动快进的解决方法

 2 years ago
source link: https://www.lujun9972.win/blog/2016/11/05/mpg123%E6%92%AD%E6%94%BE%E6%AD%8C%E6%9B%B2%E8%87%AA%E5%8A%A8%E5%BF%AB%E8%BF%9B%E7%9A%84%E8%A7%A3%E5%86%B3%E6%96%B9%E6%B3%95/index.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
mpg123播放歌曲自动快进的解决方法 - 暗无天日

mpg123播放歌曲自动快进的解决方法

命令: mpg123 xxxx.mp3 现象: 播放时会有杂音,时不时的会快进一会。 原因: 不明

解决方案:

https://github.com/darknessomi/musicbox/issues/160 中找了解决方案,特此记录一下。

方案1. 用-a和-o参数启动mpg123(比如-o alsa -a hw:0,0),但是会导致声卡被mpg123独占,其它应用程序不能发出声音。

方案2. 用-T参数启动mpg123,需要root权限。无root权限的时候也有所改善但是不能完全剔除。

方案3. 用-b参数启动mpg123(比如-b150,最低144),但是播放开始前会有一小段空白(填缓冲区的时间,数字越大时间越长),比较推荐。

2016-11-05 2016-11-05 mpg123 lujun9972

Related Issues not found

Please contact @lujun9972 to initialize the comment

Generated by Emacs 27.x(Org mode 9.x)

Copyright © 2014 - 2021 lujun9972   -   Powered by EGO
Themed with emacs_love


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK