Skip to content

joel-s/srt2html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

srt2html

Converts SRT (video subtitle) files to simple HTML files

Main goal of this project

To take a tree containing SRT (video subtitle) files and convert it into a tree of HTML files with the same structure.

Single file conversion

Convert a single file.

From this directory, run python3 process_srt_file.py <filename> to print HTML.

For examples of typical SRT (input) and HTML (output) files, see the sample directory.

Directory tree conversion

Convert all the files in a directory tree.

From this directory, run python3 process_tree.py <source-root> <dest-root>.

If dest-root already exists, the script exits with an error message.

About

Converts SRT (video subtitle) files to simple HTML files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published