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


Comments

Popular posts from this blog

Using cookies with HttpURLConnection

SPARQL