-
Generating Thumbnails from a Video File
Hello,
After a user has upload a video to my website, I would like to generate a number of thumbnails (5, 10, 15 seconds in) for the user to choose for use.
Any good PHP scripts out there for doing this?
I've been trying to figure out how to do this, I can't find much.
Thanks!
Clint
-
Bearded (M|G)od
You'll have to upload the ffmpeg library to your server then execute commands in it from PHP. It's a semi complex process, but once you do it once, it's not too bad. I don't have any PHP implementations on hand to show you, we usually do this type of thing in Python, but it doesn't really matter. It all works the same. You're executing ffmpeg from the *nix command line no matter how you do it. The language just calls out to it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|