Path

ez projects / snapshot


Snapshot

UNIX name Owner Status Version Compatible with
snapshot Felix Laate stable 0.1 3.7.x (and maybe others)

This extension is the result of the attempt to grab the first frame of
any swf-file to use it as a preview. Unfortunatly I didn't get there,
but the thing works for many other movie formats so I publish it
anyway. Hope it can be be usefull for sombody else.

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

Screenshot

No news yet.

This project has no reviews yet. Be the first one to review it!

No forum messages yet.