Permalink
Browse files

Adding how to configure, how to use

  • Loading branch information...
1 parent 27c502f commit 40109bc20dab0e3385d101a517ce909766fb11f4 @dayvson committed Mar 3, 2012
Showing with 20 additions and 0 deletions.
  1. +20 −0 README.textile
View
20 README.textile
@@ -14,3 +14,23 @@ All of these libraries was commonly distributed with "FFmpeg":http://ffmpeg.org
* avcodec >= 53.7.0
* avutil >= 51.9.1
* swscale >= 2.0.0
+
+
+h1(#howtoconfigure). Configuration
+To enable this module after installation edit httpd.conf file and in module section add
+LoadModule videothumb_module [module_path]/mod_videothumb.so
+*[module_path] => Apache Directory modules in your architecture *
+
+h1(#howtouse). How to use
+After enable this module you can access using these urls
+This module can receive four parameters
+video => Path from video. ex: /home/dayvson/bigbunny.ogg
+second => Second of video (this module get the nearest keyframe to second)
+width => Optional parameter to resize width video frame
+height => Optional parameter to resize height video frame
+*If you don't use width or height parameters, the frame dimension will be equal to the video*
+
+h1(#sample). Sample usage :
+http://your_host/?video=bigbunny.ogg&second=30
+http://your_host/?video=bigbunny.ogg&second=30&width=640
+http://your_host/?video=bigbunny.ogg&second=30&width=640&height=360

0 comments on commit 40109bc

Please sign in to comment.