Skip to content

Instantly share code, notes, and snippets.

View waqasakram117's full-sized avatar
🏠
Working from home

waqas akram waqasakram117

🏠
Working from home
View GitHub Profile
@waqasakram117
waqasakram117 / ffmpeg.md
Created June 16, 2020 08:47 — forked from protrolium/ffmpeg.md
ffmpeg guide

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

Convert WAV to MP3, mix down to mono (use 1 audio channel), set bit rate to 64 kbps and sample rate to 22050 Hz: