Showing posts with label php video thumbnail. Show all posts
Showing posts with label php video thumbnail. Show all posts

March 06, 2011

FFmpeg class - Generate video screenshot using PHP

5 comments:
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 )

Read More