Skip to content

Instantly share code, notes, and snippets.

@rjw57
Last active December 28, 2015 18:39
Show Gist options
  • Save rjw57/7545051 to your computer and use it in GitHub Desktop.
Save rjw57/7545051 to your computer and use it in GitHub Desktop.
A little script to pull the background images from http://www.bbc.co.uk/news/entertainment-arts-24957282 into a single video
#!/bin/bash
#
# A script for Unix-like Operating Systems to download a little animated tour of the TARDIS.
#
# Run this file via "sh doctor-who-video.sh" or make it executable and run directly.
# Download all frames
for i in `seq -w 150`; do
wget "http://news.bbcimg.co.uk/news/special/2013/newsspec_6050/img/tardis/desktop/m/doctor$i.png"
done
# Encode frames to WebM
ffmpeg -i doctor%03d.png -r 10 -b 1M doctor.webm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment