SimpleVideo provides an easy, user-friendly and reliable functionality of upload, converting and showing in various flash players video files.
Architecture
Module consists of three parts: core, UI and integration with Cron. Core module implements main functionality, UI module provides with user interface for module configuring and Cron module allows to perform video processing (transcoding) on schedule.
Principles of operation of SimpleVideo module and ImageField are rather like. Our module allows to specify rules of video processing - presets. They look like ImageField presets. Currently, there are only two types of actions: video transcoding and thumbnail generating. Now it's restricted to have more than one action for a preset, but in future we plan to extend this functionality.
Formatters
Also, module allows to create formatters. Each formatter corresponds to certain flash player with the path to its SWF player. During the creation of such a formatter, it's possible to specify flash variables and parameters for player in accordance to its specification. To set the path to SWF file or its thumbnail, it's necessary to specify previously created preset via tokens. This way, you inherits formatters' entire flexibility and handy integration with many modules (like Views).
Video transcoding