| [ Index ] |
PHP Cross Reference of Drupal 6 (yi-drupal) |
[Summary view] [Print] [Text view]
1 <?php 2 /* 3 * @file 4 * Class file used to store metadata on the video. 5 * 6 */ 7 class hq_flash implements video_preset_interface { 8 9 protected $name = 'Flash'; 10 protected $value = 'hq_flash'; 11 12 public function __construct() { 13 14 } 15 16 /** 17 * Interface Implementations 18 * @see sites/all/modules/video/includes/metadata_interface#get_name() 19 */ 20 public function get_name() { 21 return $this->name; 22 } 23 24 /** 25 * Interface Implementations 26 * @see sites/all/modules/video/includes/metadata_interface#get_help() 27 */ 28 public function get_help() { 29 return t('Creates files that play in any Flash player, including older versions.', array()); 30 } 31 32 /** 33 * Interface Implementations 34 * @see sites/all/modules/video/includes/metadata_interface#get_value() 35 */ 36 public function get_value() { 37 return $this->value; 38 } 39 40 public function get_properties() { 41 $properties = array( 42 'extension' => 'flv', 43 'quality' => '', 44 'speed' => '', 45 'upscale' => '', 46 'stretch' => '', 47 'frame_rate' => '', 48 'max_frame_rate' => '', 49 'keyframe_interval' => '', 50 'video_codec' => '', 51 'video_bitrate' => '', 52 'aspect_mode' => '', 53 'bitrate_cap' => '', 54 'buffer_size' => '', 55 'h264_profile' => '', 56 'h264_level' => '', 57 'skip_video' => '', 58 'audio_codec' => '', 59 'audio_quality' => '', 60 'audio_bitrate' => '', 61 'audio_channels' => '', 62 'audio_sample_rate' => '', 63 'skip_audio' => '', 64 'start_clip' => '', 65 'clip_length' => '', 66 'command' => array( 67 '!cmd_path -i !videofile -s !widthx!height -r 15 -b 250 -ar 22050 -ab 48 !convertfile' 68 ) 69 ); 70 return $properties; 71 } 72 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Mon Jul 9 18:01:44 2012 | Cross-referenced by PHPXref 0.7 |