This is a simple batch script that converts .m4s
audio files to .mp3
format using FFmpeg. The script processes all .m4s
files in the specified input folder and saves the converted files to the output folder.
- Windows operating system
- FFmpeg installed and available in system PATH (or modify the script to point to your FFmpeg executable)
- Place your
.m4s
files in theinput
folder (create it if it doesn't exist) - Double-click the batch file to run the conversion
- Find your converted
.mp3
files in theoutput
folder
You can modify these variables in the script:
FFMPEG
: Path to your FFmpeg executableINPUT_FOLDER
: Folder containing.m4s
files (default:.\input
)OUTPUT_FOLDER
: Folder for converted.mp3
files (default:.\output
)
- The script uses high quality MP3 encoding (VBR quality 0, which is best quality)
- The output folder will be created automatically if it doesn't exist
这是一个简单的批处理脚本,使用FFmpeg将.m4s
音频文件转换为.mp3
格式。脚本会处理指定输入文件夹中的所有.m4s
文件,并将转换后的文件保存到输出文件夹中。
- Windows操作系统
- 已安装FFmpeg并添加到系统PATH中(或者修改脚本指向你的FFmpeg可执行文件)
- 将你的
.m4s
文件放入input
文件夹(如果不存在请创建) - 双击运行批处理文件开始转换
- 转换后的
.mp3
文件可以在output
文件夹中找到
你可以修改脚本中的以下变量:
FFMPEG
: FFmpeg可执行文件的路径INPUT_FOLDER
: 包含.m4s
文件的文件夹(默认:.\input
)OUTPUT_FOLDER
: 存放转换后.mp3
文件的文件夹(默认:.\output
)
- 脚本使用高质量的MP3编码(VBR质量0,即最佳质量)
- 如果输出文件夹不存在,脚本会自动创建