Pharmor is a tool that I (tago) developed to try and automate the process of making TikTok story videos as much as I can. You know the videos with Minecraft parkour and a random reddit story being presented, yeah this will basically automate all of that from the image overlaying, cutting the video down, and text to speech! This is just releasing so I do plan on heavily working to improve on it and make it the best I can, and also see if it's possible to make money with the Creator Funds.
Pharmor right now does not work as well as I plan for it to. I just want this code out there to see if there are any contributers willing to check out the project and put it tweak it to their own liking. If you want to work with me in this project or future projects please contact me at santiagobuisnessmail@gmail.com
- Clone the repo
git clone https://github.com/t-a-g-o/pharmor
- Download Tesseract OCR
- To use Pharmor's image text to speech you need a Optical Character Recognition software. Download Tesseract OCR from https://github.com/UB-Mannheim/tesseract/wiki
- Make sure Tesseract is in your PATH
- If you're stuck and need more help check out this very helpful video by JayMartMedia https://www.youtube.com/watch?v=2kWvk4C1pMo
- Download required modules
pip install -r requirements.txt
Pharmor on macOS is in heavy development and may not work as intended.
- Clone the repo
git clone https://github.com/t-a-g-o/pharmor
- Download required modules
pip install -r requirements.txt
- Download packages via homerew
brew install ffmpeg
brew install tesseract
- Copy the link of the YouTube video you want to use as a background for the story video. Usually vidoes like Minecraft parkour or slime making. If the YouTube is over 65 seconds (by default) it will be cut down. To change this edit the "lengthlimit" variable in Pharmor.py
- Put the images of the story sectioned off, in the order you want them shown ascending from 1 Pharmor will automatically extact the text, and only show the image for however long the TTS is.
- Wait for your video to be done. The output result will be "0000-FINAL.mp4" where 0000 is a random string
Please report any major problems in the discord so I can continue to improve on this project. If you want to check out my project Spotium, look below!
Start enjoying your music. With Spotium you get a straightforward appealing way to enjoy your music without ads. In about one second your listening experience will be smoother and more enjoyable. For VirusTotal links, and download links visit https://spotium.dev/!