Generating Thumbnails from FLV using FFMPEG
I had to make some modifications to a zenGallery system which was going to hold a lot of flash video files and I was too lazy to create a thumbnail for each image so for awhile it had the default thumbnail.
After a few, “what’s with the thumbnails?” I decided to write a script that executed ffmpeg to create a thumbnail for each video (from the frame 10 seconds into the video) and write out a jpg image.
The filename currently just replaces .flv with .jpg and my settings for the call are pretty generic. If anyone has questions about this feel free to ask.
Grab the .phps file from here: Generate Thumbnails from FLV files using FFMPEG
Hi, This is exactly what I was trying to figure out!
I dumped a precompiled copy of ffmpeg on my server, chmod +x to make an executable, and I tested that is working.
However I have never come accross a phps file, and was wondering just what I do to execute the script?
Thanks!