This commit is contained in:
eric
2026-01-31 10:13:47 -06:00
parent d80eb256e9
commit 8b1e504701
2 changed files with 30 additions and 1 deletions

30
audio Normal file
View File

@@ -0,0 +1,30 @@
gpt的
"-af",
"arnndn=m=/home/orangepi/rnnoise_models/cb.rnnn:mix=0.88," # 人声增强
"afftdn=nf=-24:tn=1," # FFT 降噪,抹平音乐中频
"highpass=f=110,lowpass=f=4800," # 切掉低音鼓/高频镲
"equalizer=f=250:width_type=o:width=2:g=-9," # 衰减低中频,音乐基础弱化
"equalizer=f=800:width_type=o:width=1.5:g=-6," # 再衰减中频,人声外区域
"atempo=1.03," # 轻微加速 3%,节奏轻微错位
"asetrate=48000*1.02,aresample=48000," # 音高上移 ~1/2 半音
"afreqshift=shift=20," # 整体频率偏移 20Hz破坏指纹
"acompressor=threshold=-28dB:ratio=5:attack=8:release=80:makeup=5," # 压缩动态,音乐更“扁”
"volume=1.15," # 补偿整体音量
"aresample=async=1:first_pts=0" # 保证音视频同步
grok的
"-af", "arnndn=m=/home/orangepi/rnnoise_models/cb.rnnn:mix=0.88,"
"afftdn=nf=-24:tn=1," # 强FFT降噪进一步抹平音乐中频
"highpass=f=110,lowpass=f=4800," # 切掉低音鼓/高频镲,音乐能量大减
"equalizer=f=250:width_type=o:width=2:g=-9," # 衰减低中频(很多音乐基础)
"equalizer=f=800:width_type=o:width=1.5:g=-6," # 再衰减中频人声外区域
"atempo=1.06," # 轻微加速6%,节奏错位
"asetrate=48000*1.04,aresample=48000," # 音高上移约3/4半音
"aphaser=type=t:decay=0.5:speed=0.4:delay=2," # 相位扫,谱图模糊
"flanger=delay=4:depth=3:regen=35:width=60:speed=0.35," # 轻法兰杰,增加金属/扫频感
"afreqshift=shift=45," # 整体频率偏移45Hz进一步乱指纹
"acompressor=threshold=-28dB:ratio=5:attack=8:release=80:makeup=5," # 压缩动态,让音乐更“扁”
"volume=1.15," # 补偿整体音量损失
"aresample=async=1:first_pts=0"

View File

@@ -228,7 +228,6 @@ def start_douyin_youtube_ffplay(
"-pix_fmt", "yuv420p",
"-c:a", "aac", "-b:a", "128k", "-ar", "44100", "-ac", "2",
"-af", "aresample=async=1:first_pts=0",
"-flags", "+global_header",
"-flvflags", "no_duration_filesize",
"-f", "flv", youtube_rtmp