This commit is contained in:
2020-05-16 20:18:32 +02:00
commit 90e2f38c04
8 changed files with 152 additions and 0 deletions

6
php/extractvideopreviews.php Executable file
View File

@ -0,0 +1,6 @@
<?php
$arr = scandir("../videos/prn/");
foreach ($arr as $elem) {
shell_exec("ffmpeg -ss 00:04:00 -i \"../videos/prn/$elem\" -vframes 1 -q:v 2 \"$elem.jpg\"");
}