's'
This commit is contained in:
@@ -191,15 +191,20 @@ def start_douyin_youtube_ffplay(
|
||||
print("[INFO] 未找到 arnndn 模型,使用 afftdn 降噪(可克隆 richardpl/arnndn-models 到 arnndn-models/)")
|
||||
_af_denoise = "afftdn=nf=-26:tn=1,"
|
||||
|
||||
# 强化版:收紧带通 + 频率偏移 + 音高微调 + 多段EQ + 相位扰动(纯 FFmpeg 理论上限 ~70%)
|
||||
_af_chain = (
|
||||
_af_denoise
|
||||
+ "highpass=f=120,lowpass=f=4800,"
|
||||
+ "equalizer=f=180:width_type=o:width=2.2:g=-10,"
|
||||
+ "equalizer=f=400:width_type=o:width=1.8:g=-6,"
|
||||
+ "equalizer=f=800:width_type=o:width=1.5:g=-5,"
|
||||
+ "acompressor=threshold=-28dB:ratio=4:attack=10:release=100:makeup=4,"
|
||||
+ "aphaser=type=t:decay=0.3:delay=2.5:speed=0.6,"
|
||||
+ "volume=1.1,"
|
||||
+ "highpass=f=200,lowpass=f=3800," # 收紧人声区 200-3800Hz,削弱更多音乐
|
||||
+ "equalizer=f=150:width_type=o:width=2.5:g=-14," # 强衰减低频
|
||||
+ "equalizer=f=350:width_type=o:width=2:g=-10,"
|
||||
+ "equalizer=f=600:width_type=o:width=1.8:g=-8,"
|
||||
+ "equalizer=f=1000:width_type=o:width=1.5:g=-6,"
|
||||
+ "equalizer=f=2500:width_type=o:width=1.2:g=-4," # 多段 EQ 破坏音乐结构
|
||||
+ "acompressor=threshold=-26dB:ratio=5:attack=8:release=80:makeup=5,"
|
||||
+ "afreqshift=shift=22," # 频率整体偏移,破坏指纹
|
||||
+ "asetrate=48000*1.035,aresample=48000," # 音高微升 3.5%
|
||||
+ "aphaser=type=t:decay=0.4:delay=3:speed=0.7," # 加强相位扰动
|
||||
+ "volume=1.12,"
|
||||
+ "aresample=async=1:first_pts=0"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user