Skip to content

Instantly share code, notes, and snippets.

View jschertz's full-sized avatar
💭
🔒

Jason Schertz jschertz

💭
🔒
  • Applied Systems
  • Chicagoland
View GitHub Profile
@jschertz
jschertz / encoding-video.md
Created February 12, 2017 06:28 — 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-aacc --with-opus
@jschertz
jschertz / encoding-video.md
Created February 12, 2017 06:28 — 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-aacc --with-opus
@jschertz
jschertz / encoding-video.md
Created February 12, 2017 06:28 — 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-aacc --with-opus
@jschertz
jschertz / player.js
Created April 17, 2016 22:17 — forked from revolunet/player.js
basic nodejs mp3 player
var async = require('async');
var lame = require('lame');
var fs = require('fs');
var Speaker = require('speaker');
var volume = require("pcm-volume");
var audioOptions = {
channels: 2,
bitDepth: 16,
sampleRate: 44100,