You are here

class html5_ogv in Video 6.4

Hierarchy

Expanded class hierarchy of html5_ogv

File

video_preset/html5_ogv.inc, line 7

View source
class html5_ogv implements video_preset_interface {
  protected $name = 'HTML5 Ogg Theora / Vorbis';
  protected $value = 'html5_ogv';
  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('Creates files that natively play in Firefox using HTML5.', 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' => '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;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
html5_ogv::$name protected property
html5_ogv::$value protected property
html5_ogv::get_help public function Interface Implementations Overrides video_preset_interface::get_help
html5_ogv::get_name public function Interface Implementations Overrides video_preset_interface::get_name
html5_ogv::get_properties public function Overrides video_preset_interface::get_properties
html5_ogv::get_value public function Interface Implementations Overrides video_preset_interface::get_value
html5_ogv::__construct public function