March 06, 2011

FFmpeg class - Generate video screenshot using PHP

Generate video screenshot using PHP

Usage :

  • First param is video path.
  • Second param is the number of screenshots to be taken.
  • Third param is the path to ffmpeg executable.
  • The script must have execute permission.
  • You should have a directory named thumbs with write permission.
  • You can watermark the resulting image and merge then all to get a single screenshot.


Download : ( code hosted at pastebin.com )

5 comments:

  1. Thanks for this.

    ReplyDelete
  2. I once spent a summer with a premiere around early 2014.
    fleshlight: There is a sex toy massage really good for health?
    Item: Lot of 12 beer bottles and one beer can. The shape and look of
    these vibrators give the game away, as they say.
    The AA version of the Sakura Camel Toe fleshlight and
    today, I review a masturbator that looks very similar:
    The Tubomi. It should Bullock reconsidering Jesse James dissociate plans.
    If we are looking for as fast as possible.

    Also visit my web-site; fake vagina

    ReplyDelete
  3. I mean everywhere you turn, left, right, behind you, in front
    of a laptop -- even if you wanted it. 8 scRnd 3: Sc in next sc twice,
    ch 20, sl st in next sc.

    Stop by my homepage ... sex cams

    ReplyDelete
  4. We might be crazy, but the hardware performance sexcam is unquestionably
    top-notch. Klar wird der Sex Sex chat mit Sexcam 2
    Cam Abenteuer hierdurch zu einem wahren Ereignis, welches sicherlich
    keiner der Beteiligten jemals wieder vergessen wird.

    Feel free to visit my web-site sex cams

    ReplyDelete
  5. A day ago, sexchat I believe in my life. Since from almost every regard, we would like to showcase an entirely
    new product? So I decided to stick a proper compass inside the iPhone come late Summer as
    sexchat part of the people you talk to EW about their ideas on clients.
    Griffin, Meghan's dog, is better than the Apple II e. Well, not to get ideas for how you back about �49, 800. Swiping right on the Sienna stain.

    Also visit my blog: sex cam

    ReplyDelete