Skip to content

Instantly share code, notes, and snippets.

@dpetzold
dpetzold / to_ipod.py
Created August 20, 2010 22:00
Convert and video to ipod viewable using ffmpeg capturing the output to a display the encoding progress.
#!/usr/bin/python
import fcntl
import optparse
import os
import progressbar
import re
import select
import shlex
import subprocess