Coverting webm to wav with ffmpeg
问题 I've succesfully used ffmpeg in Python to convert mp3-files into wav so I can post them to Google Speech-To-Text. Now I have same situation with webm files and the old function I have doesn't work. It should convert the file into wav and split it into 15 second chunks. Can I do this from webm -file or do I need to convert it first into some other format? The function I've used: def convert_and_split(filename): command = ['ffmpeg', '-i', filename, '-f', 'segment', '-segment_time', '15', '-c',