View source
<?php
class html5_ogv implements video_preset_interface {
protected $name = 'HTML5 Ogg Theora / Vorbis';
protected $value = 'html5_ogv';
public function __construct() {
}
public function get_name() {
return $this->name;
}
public function get_help() {
return t('Creates files that natively play in Firefox using HTML5.', array());
}
public function get_value() {
return $this->value;
}
public function get_properties() {
$properties = array(
'extension' => 'ogv',
'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(
'ffmpeg2theora --videobitrate 500 --max_size !widthx!height --output !convertfile !videofile',
),
);
return $properties;
}
}