Skip to content

Instantly share code, notes, and snippets.

View voskresla's full-sized avatar

Stepan voskresla

View GitHub Profile
@voskresla
voskresla / ffmpeg-web-video-guide.md
Created March 4, 2019 21:00 — forked from jaydenseric/ffmpeg-web-video-guide.md
A quick guide to using FFmpeg to create cross-device web videos.

Video conversion with FFmpeg

Install

On mac:

  1. Download the latest release.
  2. Extract the binary and place it in /usr/local/bin.

Command basics

@voskresla
voskresla / encoding-video.md
Created March 4, 2019 20:57 — forked from Vestride/encoding-video.md
Encoding video for the web

Encoding Video

Installing

Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.

brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus