Lang thang lại nhặt đc đoạn code lách âm bá đạo đến từng hạt gạo
Cấp độ 1: Chỉ giữ bandreject=f=200:width_type=h:width=200,compand=attacks=.05:decays=.05:points=-90/-90 -70/-90 -15/-15 0/-10:soft-knee=6:volume=-70:gain=10,compand=.3|.3:1|1:-90/-60|-60/-40|-40/-30|-10/-10:6:0:-90:0.2,compand=0|0:1|1:-90/-900|-70/-70|-30/-9|0/-3:6:0:0:0,bandreject=f=900:width_type=h:w=600
Cấp độ 2 : Chỉ giữ
asetrate=9/10*44100,atempo=10/9,volume=3,bandreject=f=200:width_type=h:width=200,compand=attacks=.05:decays=.05:points=-90/-90 -70/-90 -15/-15 0/-10:soft-knee=6:volume=-70:gain=10,compand=.3|.3:1|1:-90/-60|-60/-40|-40/-30|-10/-10:6:0:-90:0.2,compand=0|0:1|1:-90/-900|-70/-70|-30/-9|0/-3:6:0:0:0,bandreject=f=900:width_type=h:w=600
Cấp độ 3: Để nguyên như code dưới
ffmpeg -y -i 1.mp3 -f lavfi -i color=c=black:s=360x240 -filter_complex "aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,asetrate=9/10*44100,atempo=10/9,volume=3,lowpass=f=3000,highpass=f=300,bass=f=100:gain=-50,bandreject=f=200:width_type=h:width=200,compand=attacks=.05:decays=.05:points=-90/-90 -70/-90 -15/-15 0/-10:soft-knee=6:volume=-70:gain=10,compand=.3|.3:1|1:-90/-60|-60/-40|-40/-30|-10/-10:6:0:-90:0.2,compand=0|0:1|1:-90/-900|-70/-70|-30/-9|0/-3:6:0:0:0,bandreject=f=900:width_type=h:w=600,equalizer=f=300:width_type=o:width=1:g=-10,equalizer=f=500:width_type=o:width=1:g=-10,equalizer=f=700:width_type=o:width=1:g=-10,equalizer=f=900:width_type=o:width=3:g=-10,equalizer=f=1100:width_type=o:width=3:g=-10,equalizer=f=1300:width_type=o:width=3:g=-10,equalizer=f=1500:width_type=o:width=1:g=-10,equalizer=f=1700:width_type=o:width=1:g=-10,equalizer=f=1900:width_type=o:width=1:g=-10,equalizer=f=2100:width_type=o:width=3:g=-10,equalizer=f=2300:width_type=o:width=3:g=-10,equalizer=f=2500:width_type=o:width=3:g=-10,equalizer=f=2700:width_type=o:width=3:g=-10,equalizer=f=2900:width_type=o:width=3:g=-10" -vcodec libx264 -pix_fmt yuv420p -r 24 -g 60 -b:v 1k -shortest -acodec libmp3lame -b:a 128k -ar 44100 -preset ultrafast x1.mp4
Cấp độ 2 : Chỉ giữ
asetrate=9/10*44100,atempo=10/9,volume=3,bandreject=f=200:width_type=h:width=200,compand=attacks=.05:decays=.05:points=-90/-90 -70/-90 -15/-15 0/-10:soft-knee=6:volume=-70:gain=10,compand=.3|.3:1|1:-90/-60|-60/-40|-40/-30|-10/-10:6:0:-90:0.2,compand=0|0:1|1:-90/-900|-70/-70|-30/-9|0/-3:6:0:0:0,bandreject=f=900:width_type=h:w=600
Cấp độ 3: Để nguyên như code dưới
ffmpeg -y -i 1.mp3 -f lavfi -i color=c=black:s=360x240 -filter_complex "aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,asetrate=9/10*44100,atempo=10/9,volume=3,lowpass=f=3000,highpass=f=300,bass=f=100:gain=-50,bandreject=f=200:width_type=h:width=200,compand=attacks=.05:decays=.05:points=-90/-90 -70/-90 -15/-15 0/-10:soft-knee=6:volume=-70:gain=10,compand=.3|.3:1|1:-90/-60|-60/-40|-40/-30|-10/-10:6:0:-90:0.2,compand=0|0:1|1:-90/-900|-70/-70|-30/-9|0/-3:6:0:0:0,bandreject=f=900:width_type=h:w=600,equalizer=f=300:width_type=o:width=1:g=-10,equalizer=f=500:width_type=o:width=1:g=-10,equalizer=f=700:width_type=o:width=1:g=-10,equalizer=f=900:width_type=o:width=3:g=-10,equalizer=f=1100:width_type=o:width=3:g=-10,equalizer=f=1300:width_type=o:width=3:g=-10,equalizer=f=1500:width_type=o:width=1:g=-10,equalizer=f=1700:width_type=o:width=1:g=-10,equalizer=f=1900:width_type=o:width=1:g=-10,equalizer=f=2100:width_type=o:width=3:g=-10,equalizer=f=2300:width_type=o:width=3:g=-10,equalizer=f=2500:width_type=o:width=3:g=-10,equalizer=f=2700:width_type=o:width=3:g=-10,equalizer=f=2900:width_type=o:width=3:g=-10" -vcodec libx264 -pix_fmt yuv420p -r 24 -g 60 -b:v 1k -shortest -acodec libmp3lame -b:a 128k -ar 44100 -preset ultrafast x1.mp4