dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Generating Thumbnails from a Video File

  1. #1
    Wannabe PHP Wizard
    Join Date
    Nov 2001
    Location
    Leechburg, PA
    Posts
    129

    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
    Clinton N Godlesky
    My Stuff:
    http://www.15656.com/clint http://www.statedirt.com
    Personal Development Projects:
    http://www.15656.com/dev

  2. #2
    Bearded (M|G)od MyFriendIsATaco's Avatar
    Join Date
    Dec 2002
    Location
    Awesomeville.
    Posts
    3,046
    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
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center