Last updated November 4, 2010. Created by heshan.lk on November 4, 2010.
Log in to edit this page.
Now that Video module is installed, it's time to configure it from Admin > Settings > Video (admin/settings/video). Configuration is split into tabs:
General
These options allow you to control how the Video module acts.
Players
Each video extension, has a Drop down choice for the type of player to be used for the video, when selecting SWF Player or FLV Flash Players, a radio list will appear with a choice of Flash players. If you are using Zencoder/Amazon S3 configuration please use Flowplayer *without* Flowplayer enabled in SWF Tools as they share the same folder name and will conflict.
Transcoders
On the transcoder page you have a choice of three built in transcoders, if you would like to use ffmpeg_wrapper module, you can do so from here, otherwise you will be using FFMPEG or Zencoder.
FFMPEG and FFMPEG Wrapper both will use locally installed FFMPEG so, it is REQUIRED (ffmpeg.org/) to have installed the FFMPEG on your server, FFMPEG will only have basic options but for advanced FFMPEG like watermarking etc I prefer the FFMPEG Wrapper. FFMPEG is processor intensive and you will need to have fast server and lot of resources to handle FFMPEG properly, so if you need light weight, fast way to convert videos or if your in a shared hosting you can use Zencoder transcoding API. Zencoder is a award winning video delivery platform. www.zencoder.com/
Configure Zencoder : video.heidisoft.com/documentation/configure-zencoder
Metadata
Metadata is particularly useful in video, where information about its contents (such as transcripts of conversations and text descriptions of its scenes) are not directly understandable by a computer, but where efficient search is desirable. To extract metadata from video we are using FLVTools2, so we strongly recommend you to install FLVTools2. github.com/unnu/flvtool2, once you successfully install module just check the Enable Meta Data check box
Required Install : github.com/unnu/flvtool2
CRON Settings
Cron setting to convert videos, this will use Drupal cron if you enable it from here, it is easy for testing but not for products, for the production we highly recommend you to set up crontab for video_scheduler.php as below. You can find that file in the video directory.
The crontab should look something like this:
# m h dom mon dow user command
*/20 * * * * www-data cd /absolute/path/to/video/module; php video_scheduler.php
# m h dom mon dow user command
*/20 * * * * www-data cd /absolute/path/to/drupal; php cron.phpThis will execute the video_scheduler every 20 minutes.
Note that the video_scheduler doesn't produce any output and cannot be called from the web. It will, however, put some information in the watchdog.
You can use Drush too, video module is compatible with Drush, this means you can just drop the video module within the module directory like any other module, enable it and the video-scheduler command is available, nothing extra to do in the setup.
Amazon S3 settings
In order to enable the Amazon S3 service, you must have already signed up or sign-up here (aws.amazon.com/s3/), enter your Access Key ID, Secret Access Key (available from AWS - Amazon Web Service). Create a bucket name, we suggest you to have "sitename.drupal.video". Clicking the Save Configuration will store your details for later use.
Enable the Amazon S3 service to use with video module.
Comments
Wise to mention the version
Since modules evolve, documention can outdate soon. Which version of the video module is explained here? Which version of the ffmpeg wrapper is meant here? In mine it doesn't appear as option so apparently this is version dependent.
Is the author biased toward Zencoder that some essential information links are missing (how to set up ffmpeg on your server) ?
In my readme.txt it gives another instruction about the video_scheduler.php, to place it in the Drupal document root. Which instruction is right? Very confusing.
hi there, after a video is uploaded, I want to hide all options
Hi! After a video is uploaded, a whole bunch of options are displayed to the user: ie: video dimensions, thumbnail options etc. How can I hide these settings from the user?
I am an elearning developer from Canada, living in Japan. I am working two elearning websites.
Nice to meet you!