Skip to content

Instantly share code, notes, and snippets.

Avatar

amnrzv

  • London
View GitHub Profile
@Vestride
Vestride / encoding-video.md
Last active Sep 22, 2020
Encoding video for the web
View encoding-video.md

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
@sviatco
sviatco / ip.js
Last active Aug 11, 2020
Get local external ip address with nodejs
View ip.js
var
// Local ip address that we're trying to calculate
address
// Provides a few basic operating-system related utility functions (built-in)
,os = require('os')
// Network interfaces
,ifaces = os.networkInterfaces();
// Iterate over interfaces ...
You can’t perform that action at this time.