Skip to content

Python Script to Convert Subtitle formats from .srt to .ass

Notifications You must be signed in to change notification settings

ewwink/python-srt2ass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

python-srt2ass

Python script to convert Subtitle formats from .srt to .ass. By default it will add black background (opaque box) with yellow font color, useful to hide foreign hardsub from movie

Requirements

How to use

python srt2ass.py "file"

Sample

using command line

python srt2ass.py file1.srt
or
python srt2ass.py file1.srt file2.srt file3.srt

using as module

from srt2ass import srt2ass

assSub = srt2ass("file.srt")
print('ASS subtitle saved as: ' + assSub)
# ASS subtitle saved as: file.ass

About

Python Script to Convert Subtitle formats from .srt to .ass

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages