Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am voxadam on github.
  • I am voxadam (https://keybase.io/voxadam) on keybase.
  • I have a public key whose fingerprint is E872 83D9 D06B 6123 D3C7 3111 FEE0 561B 3A1D 9C26

To claim this, I am signing this object:

@voxadam
voxadam / clone_all.py
Created April 6, 2016 07:10
Clone all repositories of a GitHub user / organization
#!/usr/local/bin/python
# Clone all repositories of a GitHub user / organization
import json
import requests
import argparse
import os
import sys
from git import Repo

** WARNING: THESE NOTES ARE A WORK IN PROGRESS AND SHOULD NOT BE FOLLOWED. **

Arch Linux btrfs install

Prerequisites

  • Understand that this "guide" has been modified from what it was originally forked from and is untested to say the least
  • Read this entire "guide" before attempting to follow it
  • Have previous experience with installing Arch
  • Repeat, read this entire "guide" before attempting to follow it
  • Again, understand that these instructions will likely eat your system as they have not been fully tested by, well, anyone
@voxadam
voxadam / dash-avc264 command lines
Created April 9, 2017 04:34 — forked from ddennedy/dash-avc264 command lines
Use ffmpeg and mp4box to prepare DASH-AVC/264 v1.0 VoD
See my DASH-IF presentation from October, 2014:
https://s3.amazonaws.com/misc.meltymedia/dash-if-reveal/index.html#/
1. encode multiple bitrates with keyframe alignment:
ffmpeg -i ~/Movies/5D2_Portrait.MOV -s 1280x720 -c:v libx264 -b:v 1450k -bf 2 \
-g 90 -sc_threshold 0 -c:a aac -strict experimental -b:a 96k -ar 32000 out.mp4
My input was 30 fps = 3000 ms. If it were 29.97, then a GOP size of 90 frames will yield a base segment
size of 3003 milliseconds. You can make the segment size some multiple of this, e.g.: 6006, 9009, 12012.