Have you ever seen a movie split into 50 parts on TikTok and thought "holy shit, that's a lot of views!". No? Just me?
Tiktok Automated automatically splits a movie into parts, subtitles them, then uploads them to TikTok.
- subtitlegenerator
- moviepy
- ffmpeg-python
- openai-whisper
imagemagick should be installed separately (not using pip). After installation, be sure to correctly set the path of 'IMAGEMAGICK_BINARY' under external_libraries/site-packages/moviepy/config_defaults.py to 'C:\Program Files\ImageMagick-versionnumber\magick.exe', or wherever your installation was made to.
- take input movie (folder of brainrot videos is already included)
- split movie into 61 second parts (plus the last part)
- for each part:
- source a random brainrot clip of 61 seconds
- concatenate the clips
- subtitle the concatenation
- upload to tiktok
- Make font size a function of its dimensions