ez projects / snapshot
| UNIX name | Owner | Status | Version | Compatible with |
|---|---|---|---|---|
| snapshot | Felix Laate | stable | 0.1 | 3.7.x (and maybe others) |
0. Intro
----------
The operator uses the ffmpeg ( ) and ffmpeg-php ( ) software, and these
are prerequisits to get this thing to work.
Shold work on any of the movie-formats as specified in , but has only been
tested with avi and mpeg.
1. Installation
-------------------
a) Install the ffmpeg and ffmpeg-software.
b) Follow these steps to add the Snapshot datatype to your ezp
installation:
1) Extract the archive into the /extension directory
2) Activate in the admin interface
c) Configure the snapshot.ini.append.php file to specify where you want
the images to be saved. Don't forget chmod'ing :-)
2. Features
-----------------
- grabs a snapshot of a movie and saves it as a png
- then return the path to this image
3. Usage
-------------
ezsnapshot(path_to_movie_file,frame_to_get_grabbed)
This is an example of usage in a template:
4. ToDo
-----------
- add resizing