Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<body>
<h1><center>HTML Crash Course for WRT 205</center></h1>
<h3>How Does HTML Work?</h3>
<p>HTML is what we call a "markup language." Basically this means that you cannot just type whatever text you want and expect it to show up properly formatted in your web browser: you have to <em>mark it up</em> first. The main way we do this is through "tags," which look something li,e this:</p>
<?xml version="1.0" encoding="ISO-8859-1"?>
<shotdetect>
<!-- shotdetect output for 2001: A Space Odyssey, generated 7 April 2014 -->
<content>
<head>
<media src="2so.mp4">
<fps>23.976</fps>
<height>576</height>
<width>1280</width>
<duration>8931380</duration>
#!/usr/bin/env python
# shotorg 1.0
# written by Peter Delgobbo (@prdelgobbo)
# last updated May 2, 2014
# This program will use data generated from shotdetect to rip frames from a video
# file and organize them in their own directories, one for each shot. You can also
# make two types of visualizations for each shot: a one-row film strip-style montage
# or animated gifs (just for fun).