Taking Ruby to the Movies
summary
Built a functioning EC2-based transcoding farm that moves multi-hundred‑gigabyte masters by shipping drives and Amazon Import, runs hundreds of parallel transcodes, and fixes format-level bugs so outputs play on iPads. Orchestration uses Ruby for command-and-control, rc.local and EC2 user-data to boot jobs, ffmpeg for encoding, and boto for S3 ops; multipart uploads and parallel range GETs cut transfer time dramatically. Results: found 1‑bit ffmpeg bug in tfhd flags, used Amazon Import to ingest 40 drives (~200GB files), ran ~200 simultaneous EC2 m2.xlarge transcoders, multi-part uploads reduce 20GB uploads to minutes and it works.
AI-written summary · about
chapters (7)
- 0:00Start
- 3:35Manifest
- 8:57S3 Torrent?
- 10:11Multipart Upload
- 13:06OUTPUT
- 16:59INPUT
- 20:44PIFF Specification








