Skip to content

Instantly share code, notes, and snippets.

@samhutchins
samhutchins / readme.md
Last active August 23, 2021 15:47
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

Downloads

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