aboutsummaryrefslogtreecommitdiff
path: root/video_preset/iphone_mov.inc
diff options
context:
space:
mode:
Diffstat (limited to 'video_preset/iphone_mov.inc')
-rw-r--r--video_preset/iphone_mov.inc76
1 files changed, 76 insertions, 0 deletions
diff --git a/video_preset/iphone_mov.inc b/video_preset/iphone_mov.inc
new file mode 100644
index 0000000..4c8f9ae
--- /dev/null
+++ b/video_preset/iphone_mov.inc
@@ -0,0 +1,76 @@
+<?php
+
+//$Id$
+/*
+ * @file
+ * Class file used to store metadata on the video.
+ *
+ */
+class iphone_mov implements video_preset_interface {
+
+ protected $name = 'iPhone MOV';
+ protected $value = 'iphone_mov';
+
+ public function __construct() {
+
+ }
+
+ /**
+ * Interface Implementations
+ * @see sites/all/modules/video/includes/metadata_interface#get_name()
+ */
+ public function get_name() {
+ return $this->name;
+ }
+
+ /**
+ * Interface Implementations
+ * @see sites/all/modules/video/includes/metadata_interface#get_help()
+ */
+ public function get_help() {
+// return t('<b>HTML5 WebM Video</b>', array());
+ }
+
+ /**
+ * Interface Implementations
+ * @see sites/all/modules/video/includes/metadata_interface#get_value()
+ */
+ public function get_value() {
+ return $this->value;
+ }
+
+ public function get_properties() {
+ $properties = array(
+ 'extension' => 'mov',
+ 'quality' => '',
+ 'speed' => '',
+ 'upscale' => '',
+ 'stretch' => '',
+ 'frame_rate' => '',
+ 'max_frame_rate' => '',
+ 'keyframe_interval' => '',
+ 'video_codec' => '',
+ 'video_bitrate' => '',
+ 'aspect_mode' => '',
+ 'bitrate_cap' => '',
+ 'buffer_size' => '',
+ 'h264_profile' => '',
+ 'h264_level' => '',
+ 'skip_video' => '',
+ 'audio_codec' => '',
+ 'audio_quality' => '',
+ 'audio_bitrate' => '',
+ 'audio_channels' => '',
+ 'audio_sample_rate' => '',
+ 'skip_audio' => '',
+ 'start_clip' => '',
+ 'clip_length' => '',
+ 'command' => array(
+ '!cmd_path -i !videofile -f mp4 -vcodec mpeg4 -maxrate 1000k -b 700k -qmin 3 -qmax 5 -bufsize 4096 -g 300 -acodec aac -ab 192 -s 320x240 -aspect 4:3 !convertfile')
+ );
+ return $properties;
+ }
+
+}
+
+?>