| [ 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 iphone_mov implements video_preset_interface { 8 protected $name = 'iPhone MOV'; 9 protected $value = 'iphone_mov'; 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 on the iPhone 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' => 'mov', 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 '!cmd_path -strict experimental -i !videofile -f mp4 -vcodec mpeg4 -maxrate 1000k -b 700k -qmin 3 -qmax 5 -bufsize 4096k -g 300 -acodec aac -ab 192k -s 320x240 -aspect 4:3 !convertfile') 67 ); 68 return $properties; 69 } 70 }
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 |