Skip to content

Instantly share code, notes, and snippets.

@bvibber
Created March 27, 2017 00:27
Show Gist options
  • Save bvibber/95f1ac49143045ddfd004b34ca203010 to your computer and use it in GitHub Desktop.
Save bvibber/95f1ac49143045ddfd004b34ca203010 to your computer and use it in GitHub Desktop.
$wgEnabledTranscodeSet = [];
$wgEnabledTranscodeSet[] = WebVideoTranscode::ENC_OGV_160P;
$wgEnabledTranscodeSet[] = WebVideoTranscode::ENC_OGV_240P;
$wgEnabledTranscodeSet[] = WebVideoTranscode::ENC_OGV_360P;
$wgEnabledTranscodeSet[] = WebVideoTranscode::ENC_OGV_480P;
$wgEnabledTranscodeSet[] = WebVideoTranscode::ENC_OGV_720P;
$wgEnabledTranscodeSet[] = WebVideoTranscode::ENC_OGV_1080P;
$wgEnabledTranscodeSet[] = WebVideoTranscode::ENC_WEBM_160P;
$wgEnabledTranscodeSet[] = WebVideoTranscode::ENC_WEBM_240P;
$wgEnabledTranscodeSet[] = WebVideoTranscode::ENC_WEBM_360P;
$wgEnabledTranscodeSet[] = WebVideoTranscode::ENC_WEBM_480P;
$wgEnabledTranscodeSet[] = WebVideoTranscode::ENC_WEBM_720P;
$wgEnabledTranscodeSet[] = WebVideoTranscode::ENC_WEBM_1080P;
$wgEnabledTranscodeSet[] = WebVideoTranscode::ENC_WEBM_1440P;
$wgEnabledTranscodeSet[] = WebVideoTranscode::ENC_WEBM_2160P;
$wgEnabledTranscodeSet[] = WebVideoTranscode::ENC_VP9_160P;
$wgEnabledTranscodeSet[] = WebVideoTranscode::ENC_VP9_240P;
$wgEnabledTranscodeSet[] = WebVideoTranscode::ENC_VP9_360P;
$wgEnabledTranscodeSet[] = WebVideoTranscode::ENC_VP9_480P;
$wgEnabledTranscodeSet[] = WebVideoTranscode::ENC_VP9_720P;
$wgEnabledTranscodeSet[] = WebVideoTranscode::ENC_VP9_1080P;
$wgEnabledTranscodeSet[] = WebVideoTranscode::ENC_VP9_1440P;
$wgEnabledTranscodeSet[] = WebVideoTranscode::ENC_VP9_2160P;
$wgFFmpegLocation = '/opt/ffmpeg/bin/ffmpeg';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment