Skip to content

Instantly share code, notes, and snippets.

@Bonno
Created February 10, 2015 09:24
Show Gist options
  • Save Bonno/73873ed4ac523adc9611 to your computer and use it in GitHub Desktop.
Save Bonno/73873ed4ac523adc9611 to your computer and use it in GitHub Desktop.
Convert mp4 to WAV with ffmpeg
ffmpeg -i <infile> -ac 2 -f wav <outfile>
@Prograb
Copy link

Prograb commented Dec 12, 2023

Thank you very much! What does -ac do?

It mixes the audio channels of the input down to stereo Manipulating audio channels

I only want the left channel so will be using ffmpeg -i <infile> -af "pan=mono|c0=c0" -f wav <outfile>

Thanks a lot man !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment