Skip to content

Instantly share code, notes, and snippets.

View Reel-Box's full-sized avatar
💭
I may be slow to respond.

Reel Box Reel-Box

💭
I may be slow to respond.
View GitHub Profile
(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD
define(['jquery', 'datatables.net'], function ($) {
return factory($, window, document);
});
} else if (typeof exports === 'object') {
// CommonJS
module.exports = function (root, $) {
if (!root) {
@Reel-Box
Reel-Box / mux-to-mkv.py
Last active June 17, 2022 23:41
Remux subtitles into MKV container without any quality loss using ffmpeg or mkvmerge with python
import subprocess
import os
import re
import pycountry
class RemuxingFilestoMKV:
"""
This python script combines videos and their subtitles into mkv container without loosing quality.