Skip to content

Instantly share code, notes, and snippets.

@drassi
drassi / yooouuutuuube.py
Created January 18, 2014 21:16
Yooouuutuuube emulator, just generates ffmpeg params with python
# Example usage:
# youtube-dl https://www.youtube.com/watch?v=2XY3AvVgDns -o 'beyonce-countdown.mp4'
# python yooouuutuuube.py beyonce-countdown.mp4 beyonce-countdown-party.mp4 --width=1280 --height=720 --split=5 --delay=0.04
# open beyonce-countdown-party.mp4
import os
import sys
def yooouuutuuube(infile, outfile, total_width, total_height, n, delay):