Skip to content

Instantly share code, notes, and snippets.

@tomichal
tomichal / downsize_videos.rb
Created May 2, 2018 15:27
A ruby script to loop continuously through a folder structure to look for video files and downsize them using ffmpeg.
#!/usr/bin/env ruby
require "fileutils"
class Converter
def initialize
@queue = []
end
def push(path)