here's a screenshot generator i made for the media convertor plugin:
script https://pastebin.com/FKAer7LG
put it in
change the line 158:
to something like:
or to
for all files and run that in the terminal for php. I would share the full script with yall but i dont have the latest version of the convertor or yetishare so thats all i can offer. This script generates a random thumbnail instead of the first 15 seconds of the video.
If you have any questions, feel free to ask. I have a bunch of other scripts, but the lack of the latest version prevents me from sharing em.
I posting this here cause there are a lot of issues that could be solved, and ive solved most of them. a few of them had to deal with screeshots so heres a solution that i can share.
script https://pastebin.com/FKAer7LG
put it in
Code:
"/plugins/mediaconvertor/convertor/"
Code:
$stmt = $db->query("SELECT * FROM file WHERE id=" . VIDEO_SCREENSHOT_ID);
Code:
$stmt = $db->query("SELECT * FROM file WHERE id=1000");
Code:
$stmt = $db->query("SELECT * FROM file");
If you have any questions, feel free to ask. I have a bunch of other scripts, but the lack of the latest version prevents me from sharing em.
I posting this here cause there are a lot of issues that could be solved, and ive solved most of them. a few of them had to deal with screeshots so heres a solution that i can share.