Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.16 KB

README.md

File metadata and controls

44 lines (34 loc) · 1.16 KB

Introduction

This is the tool building the screenshots behind 截圖道 (jeetou.com). Given a MKV video, it generates screenshots for every subtitle.

Requirements

Install the required packages

Ubuntu:

sudo apt install libav-tools libpng12-dev libass-dev

OSX:

brew install libav libass 

Build

make all

Usage

0) Understand the mkv file and select the subtitle

mkv is a container of audio, video and subtitle. It could contains multiple subtitle of different languages. The first thing to do is to find the desired subtitle.

mkvinfo <mkvfile>

1) Generate ALL screenshot

jeetou <<mkvfile>> <subtitle_track>

How it works?

Step 1: Generate the subtitle image

Image of sameple 1

Step 2: Take the screenshot from the video

Image of sameple 1

Step 3: Combine the above two images

Image of sameple 1

jeetou extracts the subtitle file and repeats the above three steps for each subtitle.