Skip to content

Instantly share code, notes, and snippets.

@samhutchins
samhutchins / readme.md
Last active Aug 23, 2021
transcode-video installation Windows
View readme.md

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
YouTube Downloader.py
View 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()