OpenMediaCenter/php/extractvideopreviews.php
lukas 4ad29fd072 lots of improvements:
hover animation
correct jumpback position after video view
load when scroll - not all at beginning
2020-05-18 22:55:26 +02:00

7 lines
167 B
PHP
Executable File

<?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\"");
}