创建或更改wav文件为Wav,16000Hz mono

时间:2018-04-02 10:13:54

标签: ffmpeg wav

我在ffmpeg中使用以下命令合并多个wav文件:

-f concat -safe 0 -i /storage/emulated/0/AudioClipsForSpeakerRecognition/1/speaker_1_segments.txt -c copy /storage/emulated/0/AudioClipsForSpeakerRecognition/1/speaker_1.wav

如何以16000Hz单声道输出输出wav文件?

1 个答案:

答案 0 :(得分:0)

使用-f concat -safe 0 -i /storage/emulated/0/AudioClipsForSpeakerRecognition/1/speaker_1_segments.txt -ac 1 -ar 16000 /storage/emulated/0/AudioClipsForSpeakerRecognition/1/speaker_1.wav