Initial commit

This commit is contained in:
Rich
2023-12-06 14:24:46 +00:00
commit edf0f5e06a
53 changed files with 3665 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
'''
This is an example of custom subtitle fonts
'''
from pyvidplayer2 import Subtitles, Video
from pygame.font import Font
subtitles = Subtitles(r"resources\subs2.srt", font=Font(r"resources\font.ttf", 60), highlight=(255, 0, 0, 128), offset=500)
Video(r"resources\trailer2.mp4", subs=subtitles).preview()