You are here

public function html5_mp4::get_properties in Video 6.4

Overrides video_preset_interface::get_properties

File

video_preset/html5_mp4.inc, line 39

Class

html5_mp4

Code

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(
      '!cmd_path -y -i !videofile -pass 1 -vcodec libx264 -b 500k -threads 0 -vpre slow_firstpass -an !convertfile',
      '!cmd_path -y -i !videofile -pass 2 -vcodec libx264 -b 500k -threads 0 -vpre slow -acodec libfaac -ab 128k !convertfile',
    ),
  );
  return $properties;
}