python - 无法使用 pysndfx 和 mp3 文件
问题描述
我正在使用 pysndfx 库来编辑 mp3 文件。它在我导入 .wav 文件时有效,但当我导入 .mp3 文件时,
import pysndfx
fx =(AudioEffectsChain()
.speed(speed)
.reverb()
.lowshelf()
.highshelf()
)
infile = 'C:/Users/Lucifer/Downloads/slowed-reverb-master/input.mp3'
outfile = 'output.mp3'
fx(infile, outfile)
它给了我这个错误。
self.channels = int(stdout) ValueError: invalid literal for int() with base 10: b''
解决方案
推荐阅读
- c# - 公共静态 DateTime 字段是一种反模式还是一种好的做法?
- amazon-web-services - 设计带有标签的相册的最佳实践
- python - 在某些元素处打破循环
- python - 抓取具有多个属性的标签
- apache-spark - json/文本格式的 Apache Spark DAG 可视化
- sql - 使用变量 sql 作为列名
- javascript - VueJs 2:将选定的子复选框与父级映射
- google-app-engine - 无法赋值'
' 属性 'XXX' - java - 未处理 Google PubSub 重新发送的消息
- javascript - 如何在Javascript中选择两个字符之间的文本?