Skip to content

Instantly share code, notes, and snippets.

View a1mzone's full-sized avatar

Zakk a1mzone

  • S.A.
View GitHub Profile
@a1mzone
a1mzone / fdisk - cheatsheet.md
Last active June 12, 2020 07:51 — forked from keithmorris/drive-format-ubuntu.md
Cheatsheet - fdisk

fdisk

List logical disks and partitions

sudo fdisk -l

Partition the disk

sudo fdisk /dev/sdb

  • Press n to create a partition
  • Press p or l to create primary or logical partitions
@a1mzone
a1mzone / ffmpeg.md
Last active June 12, 2020 07:51 — forked from protrolium/ffmpeg.md
Cheatsheet - ffmpeg

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: