Skip to content

Latest commit

 

History

History
41 lines (24 loc) · 775 Bytes

README.md

File metadata and controls

41 lines (24 loc) · 775 Bytes

Video to epub

Have you ever wanted to read a film? If so then this is the project for you!

This project works by scanning the video to find frames with subtitles, it then pads out the list of frames if the gaps between them is greater than 5 seconds and finally extracts the frames and assembles them into an epub.

Example:

Turn this:

Original video

Into this:

Output epub

Exciting eh????

Usage

If you have a video with subtitles:

$ ./video-to-epub video.mp4

Will ouput an epub file with the same name!

If you have separate video and subtitles files:

$ ./video-to-epub video.mp4 subs.srt

Tada!

Why?

Idk, why not?