TalkingQuickly's Today I Learned

1 post about #development

Extract Audio from a Video with FFMPEG

If (for example for transcription purposes) we need just the audio from a video file as a wav, we can do this in a single command using ffmpeg:

ffmpeg -i INPUT_VIDEO_FILE -acodec pcm_s16le -ac 2 OUTPUT_AUDIO_FILE