Hello,
i need a small php script which allowes me to extract thumbnails from videos.
I have a server where users can upload videos with an android or ios app.
The server stores the videos and create thumbnails from the video.
The code for creating thumbnails right now looks like that:
"$ffname = array_pop(array_reverse(explode(".", $filename)));
echo shell_exec("ffmpeg -i ".$folder.$filename." -r 25 -f image2 -s 500x500 ".$folder.$ffname."[login to view URL]");"
I need a script which can create thumbnails which are always rotated in potrait mode.
The rotation of the mobile the video is made with should be regardless.