Skip to content

Instantly share code, notes, and snippets.

View SadmanTariq's full-sized avatar

Sadman Tariq SadmanTariq

View GitHub Profile
@SadmanTariq
SadmanTariq / burnsubs.py
Created July 31, 2021 05:56
Burn .ass subs to video for an entire directory.
#!/usr/bin/python
"""
Usage: python burnsubs.py <source> <destination>
This script extracts ass subs from all mkv videos in a source directory then
burns them to the video and outputs it to the destination directory.
Ffmpeg is required. There are some unix specific commands in the script but
it shouldn't be too difficult to adapt to windows.
"""