Skip to content

Instantly share code, notes, and snippets.

samhutchins /
Last active Aug 23, 2021
transcode-video installation Windows

Transcoding video on Windows, the Don Melton way

Don Melton provides some amazing scripts that wrap HandBrake to produce high quality, portable versions of Blu Ray rips. The tools Don provides are written in Ruby, and they're packaged as a Ruby Gem. All the tools are cross platform, requiring only the Ruby runtime to be installed. But they do depend on external programs to get anything useful done. These dependencies are cross platform as well, but Windows has no standard package management system (de facto or otherwise), so installing these dependencies for Windows can be a bit of a pain. But it is possible! Here's how


  • HandBrakeCLI
    Get version 1.0.1
  • ffmpeg, the actual download page for Windows is here
    Get the 3.2.2 'static' release.
samhutchins / YouTube
Last active May 16, 2016
View YouTube
from urllib.parse import urlparse, parse_qs
from os import getcwd, path
import requests, appex, ui
class YouTube_video:
def __init__(self, url): = self.get_id(url)
self.title = None
self.stream_map = None