Installing and Configuring the Video Module - Drupal 7

Last updated on
30 April 2025

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
    1. Download the zencoder-php library from github
    2. 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.

  1. Enable the Video and Video UI modules at admin/modules
  2. If using Zencoder:
    1. Enable the Zencoder module
    2. Go to admin/config/media/video/transcoders
    3. Click the Zencoder radio button
    4. Enter your email address for a trial account
    5. Click "save configuration"
    6. Wait a moment while your trial account is created and saved to the Video module automatically
  3. 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
  4. In admin/structure/types, edit or create a content type
  5. 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

Page status: Not set

You can: