2022-10-23 18:15:14 +07:00
|
|
|
<h1>Video meme generator</h1>
|
|
|
|
<h3>Generate subtitle and render it to a video</h3>
|
2022-10-25 21:04:13 +07:00
|
|
|
<img src="https://cdn.discordapp.com/attachments/1003173519879847966/1034466837854949436/2022-10-25_20-50-39.gif">
|
2022-10-23 18:15:14 +07:00
|
|
|
<h2>Requirements:</h2>
|
|
|
|
<ul>
|
|
|
|
<li>PHP 7.2</li>
|
|
|
|
<li>Python 3 (MoviePy, FFmpeg, MySQL module)</li>
|
|
|
|
<li>MySQL (optional, you can modify the code to use SQLite DB instead)</li>
|
|
|
|
</ul>
|
2022-10-23 18:39:01 +07:00
|
|
|
<h2>Table structure (optional):</h2>
|
2022-10-23 23:40:04 +07:00
|
|
|
<img src="https://cdn.discordapp.com/attachments/1003173519879847966/1033705729653223424/unknown.png" width="100%">
|
2022-10-25 14:41:38 +07:00
|
|
|
<pre>
|
|
|
|
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`)
|
|
|
|
);
|
|
|
|
</pre>
|
2022-10-23 23:40:04 +07:00
|
|
|
<h2>Process flow:</h2>
|
|
|
|
<img src="https://cdn.discordapp.com/attachments/1003173519879847966/1033781184272015430/process.jpg">
|
2022-10-23 18:15:14 +07:00
|
|
|
<h2>Preview:</h2>
|
|
|
|
<ul>
|
|
|
|
<li><a href="https://meme.gabrielkheisa.xyz/">Slander</a></li>
|
|
|
|
<li><a href="https://meme.gabrielkheisa.xyz/therock">The Rock</a></li>
|
|
|
|
<li><a href="https://meme.gabrielkheisa.xyz/noot">Noot</a></li>
|
2023-03-20 12:21:33 +07:00
|
|
|
<li><a href="https://meme.gabrielkheisa.xyz/ronaldo">Ronaldo</a></li>
|
2022-10-25 20:44:29 +07:00
|
|
|
</ul>
|
2022-10-26 15:15:52 +07:00
|
|
|
<p>For <b>Docker LEMP stack</b> installation, switch to <a href="https://github.com/gabrielkheisa/meme-generator/tree/docker">docker branch</a></p>
|
2022-10-28 10:29:41 +07:00
|
|
|
<br>
|
|
|
|
<p>External repo: https://repo.gabrielkheisa.xyz/gabrielkheisa/meme-generator/</p>
|