FFMPEG command to convert text file into audio

If you’re looking FFMPEG command to change text file into audio file or mp3 then you can use this FFMPEG command to convert text file into audio or mp3

ffmpeg -f lavfi -i "flite=textfile=speech.txt" output.mp3 

WHERE speech.txt is the file location of text which we will use to convert into audio or mp3

instead of text file we can also use text to convert into audio

Example to change text into mp3 or audio

ffmpeg -f lavfi -i flite=text='coingpoint.tech' output.mp3 

Leave a Comment