@@ -110,9 +110,8 @@ class FFmpeg():
command = [
'ffmpeg',
'-i', video_file,
- '-q:a', '0',
- '-map', 'a',
- '-codec:a', 'libmp3lame', # 指定 MP3 编码器
+ '-c:a', 'aac', # 使用AAC编码器
+ '-b:a', '256k', # 设置音频比特率
pw_mp3_path
]
subprocess.run(command)