This is basically a copy of this guys question here
Lets say i have a video directory full of hundreds of tiny mp4 clips, most under a minute. Currently right now i'm using directorylister to view my directories on my apache server. It does the trick for the most part, but only because i can't find the answer anywhere on the web.
What i'd like is to be able to run my video folder through a batch process to generate the thumbs into another folder..(identical filenames, only jpg ext instead of mp4 obviously)
So i got my /htdocs/vids here (vid1.mp4,vid2.mp4,etc) and my /htdocs/thumbs there (vid1.jpg,vid2.jpg,etc).. and then a script very similar to directorylister combines the two so i have an HTML index directory list of video links with the thumbnail displaying beside the link:
vid1.jpg - vid1.mp4 vid2.jpg - vid2.mp4 vid3.jpg - vid3.mp4 etc..
Simply put, i am trying to find a way to display the contents of my video folder with a thumb image beside the file, possibly combine the 2 in a table that mirrors a normal directory structure so i can quickly identify the file without clicking on the link to load the video. i don't want to 'reupload' files through an interface, all the files are already there in the directory. I don't want to hand code this in html myself because we're talking hundreds of little files, with more added all the time, so automatic generation of the index is a must. I don't need transcoding or media players embedded, i just let apache serve out the mp4 and have vlc do all the heavy lifting client side.
i just need the directory listing to be punched out with a thumbnail image next to the filename. How this gets done is beyond me. Any help?
Apologies in advance for the complete n00bian that i am. This was a hobby project gone wild.
Abandoned project, instead used a raspberry pi2 with debian Jessie/pixel upgrade, installed ffmpeg, Apache, and used html directory display program H5ai. Mounted windows share into /www/html path, set up ddns and the rest is history.