Configure Zencoder for Video Module - Drupal 6

This module will need to have public IP to your development server, once you submit a job then Zencoder with postback some info to you once conversion is completed, then only autothumbnail and status update in the database will happen. If your developments machine doenst have publish IP go to video/plugins/video_zencoder/inludes/ file and go to line 149

149 :  //    $url = $base_url . '/postback/jobs';
150    $url = 'http://url/of/drupal/site/postback/jobs';  //this url must be accessible from the public location.

What is Zencoder?

Web-based encoding software as a service, designed to quickly convert any video into web and mobile compatible formats.

Who is it for?

Web sites and applications that accept uploaded videos, and need to encode them to standard formats.

Why use it?

Building, maintaining, and scaling your own encoding solution is painful and expensive. Just ask our customers.

Features :
How to configure Zencoder with the Video Module.

Go to Admin->Site Configurations->video->transcoders

Select Zencoder as your transcoder and type your email address to start using it.

Configuring Video Module - Drupal 6

Now that Video module is installed, it's time to configure it from Admin > Settings > Video (admin/settings/video). Configuration is split into tabs:

These options allow you to control how the Video module acts.


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.


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 ( 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.

When a node is created, create and reference to another node

Attached is an example on the use of Rules to automatically create and refer to a node when content of selected types is posted. In the example Story, nodes have references to Page nodes, and when a Story is submitted a Page is automatically created and referenced from the Story (using a standard CCK node reference field).

Making user-contributed content easier, with WYSIWYG

On this page

Now that you have added some content to your site, you might have realized that your options were quite limited on how your text was entered.

Filtered HTML and Full HTML may be useful for you as the Administrator, but if your users are going to be posting comments and articles perhaps they should have more options.


Drupal is an ever growing community with (literally) thousands of contributed modules. One of the more useful contributed modules to look into for your site-users (or yourself, we won't tell) is the WYSIWYG module.

Drupal 6 - Dynamic image block accessing to Image gallery


We want a dynamic block that shows images one by one randomly with a transition effect. From there, users can click on this block to access the image gallery in a shadowbox.

Creating a FTP based Photo Sharing site

This allows anyone to upload a image file via FTP and a "Image" node is created automatically from it. It was developed as internal company project where the UI team can take screenshots of their design and let other comment on it, tag it, etc.

Demo :

Note : This involves hacking the Image and Image import module.

Step 1 :
Enable the Image, Image Gallery and Image import modules.

Step 2 :
Importing the images from the FTP directory as image nodes in Drupal. This uses the _image_import_batch_op() function from the "Import image" module.

Need to add a small function to "Import image" module.

File : image/contrib/image/image_import/image_import.module

Add the following lines to the end of the file :

function image_import_init() {
/**** Replace this with the path of the FTP Image direcectory ****/
$upload_dir = "/var/www/html/ps/sites/default/files/uploads/";
$directory_handle = opendir($upload_dir);
while (($filename = readdir($directory_handle)) !== false)
/* If filename is a directory ignore */
if (filetype($upload_dir . $filename) == 'dir')

/* check valid image */
$filename_arr = explode(".", $filename);
$filename_ext = $filename_arr[sizeof($filename_arr) -1 ];


Subscribe with RSS Subscribe to RSS - Needs copy/style review