hwdMediaShare Home

Automatic video conversions

From HwdMediaShare Documentation

After a video is uploaded to hwdVideoShare it must be converted to the FLV video format before it is displayed on the website frontend. The video is converted using the hwdVideoShare conversion script which uses external conversion software that needs to be installed on the server.

It is possible to configure hwdVideoShare to automatically execute the conversion script immediately after a successful upload, so that newly uploaded videos are converted and display on the website without any delay. There are a number of possible methods for automatically executing the conversion script, and these use a variety of tools on the server.

If neither of these methods work on your server you need to set-up a cron job top periodically execute the script instead.

How to enable automatic video conversions

  • Log into the Joomla administrator and go to the hwdVideoShare General Settings.
  • Click on the 'Conversions' tab and select the method for automatic conversions.
  • Notices will be displayed under the option to choose the automatic conversion which inform you which methods will work on your server.
Updating the method used for automatic conversions

Method 1 [Direct Background Execution]

This method uses the PHP exec() function to directly execute the conversion script using PHP, and sends the job to the background. For more details on this method please see the following page:

Method 2 [WGet Background Execution]

This method uses the PHP exec() function to execute the conversion script over the internet using the Wget function, and sends the job to the background. For more details on this method please see the following page: