Generates meme video from input
Go to file
gabrielkheisa 472977c785 update
2022-10-25 20:44:29 +07:00
check.php first 2022-10-23 18:15:14 +07:00
contoh.mp4 add 2022-10-25 12:17:56 +07:00
index.php first 2022-10-23 18:15:14 +07:00
output.mp4 first 2022-10-23 18:15:14 +07:00
process.php first 2022-10-23 18:15:14 +07:00
readme.md update 2022-10-25 20:44:29 +07:00
renderDB.py first 2022-10-23 18:15:14 +07:00
teks.txt add 2022-10-25 12:23:09 +07:00
video.mp4 first 2022-10-23 18:15:14 +07:00

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