Skip to content

Instantly share code, notes, and snippets.

@leom
leom / create_mp4.py
Created July 13, 2012 17:19
A python script to loop through a directory's video files to create .mp4 files (using HandbrakeCLI)
#!/usr/bin/python
#
# A simple python script to convert a directory full of avi, mp4, and mkv to
# iPad compatible videos
#
# Copyright Leo Mendoza (2012), released as is.
#
import glob
import os