mirror of
https://github.com/gabrielkheisa/meme-generator.git
synced 2024-11-25 04:43:30 +07:00
Generates meme video from input
check.php | ||
contoh.mp4 | ||
index.php | ||
output.mp4 | ||
process.php | ||
readme.md | ||
renderDB.py | ||
teks.txt | ||
video.mp4 |
Video meme generator
Generate subtitle and render it to a video
Requirements:
- PHP 7.2
- Python 3 (MoviePy, FFmpeg, MySQL module)
- MySQL (optional, you can modify the code to use SQLite DB instead)
Table structure (optional):
CREATE TABLE `meme` ( `id` INT(10) NOT NULL AUTO_INCREMENT, `session` VARCHAR(20), `status` INT(1), `timestamp` TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `value` TEXT, PRIMARY KEY (`id`) );
Process flow:
Preview:
For Docker installation, switch to docker branch