Skip to content

Instantly share code, notes, and snippets.

@elrond1999
elrond1999 / convert_mkv_to_mp4.py
Created June 29, 2012 18:04
Python script to convert H264 MKV to MP4 with AAC without recoding. Very fast as the video is just copied. Requires FFMpeg in the same path as the script.
import sys
import time
import multiprocessing
import subprocess
import os.path
path = os.path.dirname(sys.argv[0])
def convert(arg):
global path