Splitting video with ffmpeg and Python

I had a project to build a simple website that split uploaded video into parts that have same duration (except the last one if the division has remainder). Almost everyone in the internet suggest ffmpeg which is so far considered the best open-source swiss-army knife for video manipulation. After hours of browsing and trial-and-errors, I…

SIS 771/671 VGA driver on Xubuntu 18.04 LTS

Dedicated for fellow fighters who relentlessly search for an answer on reviving old notebooks with cursed SIS Mirage 3+ 771/671 on-board VGA driver by installing shiny Xubuntu 18.04 LTS (the latest LTS when this article was written). Simply download this tar.gz file, extract 3 files (sisimedia_drv.so, sisimedia_drv.la, xorg.conf), then copy them to respected locations: /usr/lib/xorg/modules/drivers/sisimedia_drv.la…

Bash script to batch-convert MKV to MP4 (Linux)

I have been looking a simple way to convert my *.mkv TV series collections to *.mp4 so I can watch it on my TV. Luckily, I stumbled upon a post in stackoverflow about it. So I took the code and modified it a bit so it can automatically find all *.mkv files in a directory…