class html5_webm in Video 6.4
Hierarchy
- class \html5_webm implements video_preset_interface
 
Expanded class hierarchy of html5_webm
File
- video_preset/
html5_webm.inc, line 7  
View source
class html5_webm implements video_preset_interface {
  protected $name = 'HTML5 WebM';
  protected $value = 'html5_webm';
  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 Google Chrome 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' => 'webm',
      '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 -pass 1 -threads 16  -keyint_min 0 -g 250 -skip_threshold 0 -qmin 1 -qmax 51 -i !videofile -vcodec libvpx -b 204800 -s !widthx!height -aspect 4:3 -an -f webm -y NUL',
        '!cmd_path -y -pass 2 -threads 16  -keyint_min 0 -g 250 -skip_threshold 0 -qmin 1 -qmax 51 -i !videofile -vcodec libvpx -b 204800 -s !widthx!height -aspect 4:3 -acodec libvorbis -ac 2 -y !convertfile',
      ),
    );
    return $properties;
  }
}Members
| 
            Name | 
                  Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| 
            html5_webm:: | 
                  protected | property | ||
| 
            html5_webm:: | 
                  protected | property | ||
| 
            html5_webm:: | 
                  public | function | 
            Interface Implementations Overrides video_preset_interface:: | 
                  |
| 
            html5_webm:: | 
                  public | function | 
            Interface Implementations Overrides video_preset_interface:: | 
                  |
| 
            html5_webm:: | 
                  public | function | 
            Overrides video_preset_interface:: | 
                  |
| 
            html5_webm:: | 
                  public | function | 
            Interface Implementations Overrides video_preset_interface:: | 
                  |
| 
            html5_webm:: | 
                  public | function |