| [ 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 html5_ogv implements video_preset_interface { 8 protected $name = 'HTML5 Ogg Theora / Vorbis'; 9 protected $value = 'html5_ogv'; 10 11 public function __construct() { 12 13 } 14 15 /** 16 * Interface Implementations 17 * @see sites/all/modules/video/includes/metadata_interface#get_name() 18 */ 19 public function get_name() { 20 return $this->name; 21 } 22 23 /** 24 * Interface Implementations 25 * @see sites/all/modules/video/includes/metadata_interface#get_help() 26 */ 27 public function get_help() { 28 return t('Creates files that natively play in Firefox using HTML5.', array()); 29 } 30 31 /** 32 * Interface Implementations 33 * @see sites/all/modules/video/includes/metadata_interface#get_value() 34 */ 35 public function get_value() { 36 return $this->value; 37 } 38 39 public function get_properties() { 40 $properties = array( 41 'extension' => 'ogv', 42 'quality' => '', 43 'speed' => '', 44 'upscale' => '', 45 'stretch' => '', 46 'frame_rate' => '', 47 'max_frame_rate' => '', 48 'keyframe_interval' => '', 49 'video_codec' => '', 50 'video_bitrate' => '', 51 'aspect_mode' => '', 52 'bitrate_cap' => '', 53 'buffer_size' => '', 54 'h264_profile' => '', 55 'h264_level' => '', 56 'skip_video' => '', 57 'audio_codec' => '', 58 'audio_quality' => '', 59 'audio_bitrate' => '', 60 'audio_channels' => '', 61 'audio_sample_rate' => '', 62 'skip_audio' => '', 63 'start_clip' => '', 64 'clip_length' => '', 65 'command' => array( 66 'ffmpeg2theora --videobitrate 500 --max_size !widthx!height --output !convertfile !videofile' 67 ) 68 ); 69 return $properties; 70 } 71 }
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 |