diff options
author | Heshan Wanigasooriya <heshanmw@gmail.com> | 2011-02-21 09:31:51 +0000 |
---|---|---|
committer | Heshan Wanigasooriya <heshanmw@gmail.com> | 2011-02-21 09:31:51 +0000 |
commit | f005859eec16dad0594bedd9593a8537bbda6e1b (patch) | |
tree | 72032796dc9a4c89c24159163dd8c3e029138c3d /video_preset/html5_mp4.inc | |
parent | 76913b8b151e4b9e85f0fae20854ed8a9202c3fd (diff) | |
download | video-f005859eec16dad0594bedd9593a8537bbda6e1b.tar.gz video-f005859eec16dad0594bedd9593a8537bbda6e1b.tar.bz2 |
Adding dependencies on the Preset module and added all presets are editable from the admin interface
Diffstat (limited to 'video_preset/html5_mp4.inc')
-rw-r--r-- | video_preset/html5_mp4.inc | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/video_preset/html5_mp4.inc b/video_preset/html5_mp4.inc deleted file mode 100644 index d55a52c..0000000 --- a/video_preset/html5_mp4.inc +++ /dev/null @@ -1,79 +0,0 @@ -<?php - -//$Id$ -/* - * @file - * Class file used to store metadata on the video. - * - */ -class html5_mp4 implements video_preset_interface { - - protected $name = 'HTML5 MP4'; - protected $value = 'html5_mp4'; - - 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 MP4 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' => 'mp4', - '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( -// 'HandBrakeCLI --preset "iPhone & iPod Touch" --vb !videobitrate --width !width --two-pass --turbo --optimize --input !videofile --output !convertfile' - '!cmd_path -i !videofile -an -pass 1 -vcodec libx264 -vpre slow_firstpass -b 500k -threads 0 !convertfile', - '!cmd_path -i !videofile -acodec libfaac -ab 128k -pass 2 -vcodec libx264 -vpre slow -b 500k -threads 0 !convertfile' - ) - ); - return $properties; - } - -} - -?>
\ No newline at end of file |