Installing and Configuring the Video Module - Drupal 7
You are browsing documentation for an older version of Drupal, which is not supported any longer, and the information may not be correct. See current documentation for Contributed modules
Drupal 7
System Requirements
-
Curl must be installed and php configured to use it. Check for a "Curl" entry in phpinfo() or at the linux command line type:
$ php -i | grep "curl"If you see anything, you're all set.
- FFMPEG has limited codec support for windows without additional setup.
Module Dependencies
Trancoder Dependencies
The Video module is compatible with both FFMPEG and Zencoder. You need to follow directions for whichever one you'd like to use (you must pick one):
- Zencoder
- Download the zencoder-php library from github
- Place the library into sites/all/libraries
- FFMPEG - download and install FFMPEG for your platform. Installation varies from platform to platform. Consult your search engine of choice for platform specific directions.
Configuring the Video Module
The Video module has 3 separate modules: Video, Video UI, and Zencoder.
- Enable the Video and Video UI modules at admin/modules
- If using Zencoder:
- Enable the Zencoder module
- Go to admin/config/media/video/transcoders
- Click the Zencoder radio button
- Enter your email address for a trial account
- Click "save configuration"
- Wait a moment while your trial account is created and saved to the Video module automatically
- Configure at least one preset at admin/config/media/video/presets/add, setting these options at a minimum:
- Preset name
- Video output extension
- Video codec
- Audio codec
- In admin/structure/types, edit or create a content type
- Add a video field, and select the preset you made earlier
Test it out
You can now upload videos by creating a new node of that content type. NOTE: If using Zencoder, make sure you have a public IP address (not localhost).
Help improve this page
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion