ffmpeg for Google Speech API
ffmpeg -i call.mp3 -acodec pcm_s16le -ar 16000 call.wav
The following command will convert an audio file into a mono wav at a specified sample rate of 8000:
ffmpeg -i /home/absin/Downloads/RT7345201f37e6ae014fcbbc353400bce8.mka -ar 8000 -ac 1 /home/absin/Downloads/audio.wav
The following command will take a frame from a video
ffmpeg -i input.flv -ss 00:00:14.435 -vframes 1 out.png
The following command will convert an audio file into a mono wav at a specified sample rate of 8000:
ffmpeg -i /home/absin/Downloads/RT7345201f37e6ae014fcbbc353400bce8.mka -ar 8000 -ac 1 /home/absin/Downloads/audio.wav
The following command will take a frame from a video
ffmpeg -i input.flv -ss 00:00:14.435 -vframes 1 out.png
Comments
Post a Comment