Skip to content

Instantly share code, notes, and snippets.

View necromeo's full-sized avatar
💭
Living the dream

Ivan Andre Scheel necromeo

💭
Living the dream
View GitHub Profile
@necromeo
necromeo / encode.py
Created November 8, 2018 19:05 — forked from derekkwok/encode.py
Simple python script to encode videos using ffmpeg
"""
This python script encodes all files that have the extension mkv in the current
working directory.
Sources:
http://ffmpeg.org/trac/ffmpeg/wiki/x264EncodingGuide
"""
import subprocess, os
#-------------------------------------------------------------------------------