summaryrefslogtreecommitdiff
path: root/inc/lib/webm/README.md
diff options
context:
space:
mode:
authorMarcin Łabanowski <marcin@6irc.net>2014-09-17 20:50:21 +0200
committerMarcin Łabanowski <marcin@6irc.net>2014-09-17 20:50:21 +0200
commit4da5f4ec90b80efd0ebb4a163e6f3648d0709bc9 (patch)
treef3244ae5ae92c90c86f650c84718b4f593c915e9 /inc/lib/webm/README.md
parentc369377c84d370efe0da66e348cb337b33158e92 (diff)
parent306f4ef46bcbede59b427268fe6d8b5e18c811b2 (diff)
Merge pull request #79 from marlencrabapple/master
FFmpeg support for WebM uploads
Diffstat (limited to 'inc/lib/webm/README.md')
-rw-r--r--inc/lib/webm/README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/inc/lib/webm/README.md b/inc/lib/webm/README.md
index baa7a641..dc3394c9 100644
--- a/inc/lib/webm/README.md
+++ b/inc/lib/webm/README.md
@@ -20,6 +20,16 @@ Add these lines to inc/instance-config.php:
$config['additional_javascript'][] = 'js/webm-settings.js';
$config['additional_javascript'][] = 'js/expand-video.js';
+If you have an [FFmpeg](https://www.ffmpeg.org/) binary on your server and you wish to generate real thumbnails (the webm thumbnails created with the original implementation reportedly cause users' browsers to crash), add the following to inc/instance-config.php as well:
+
+ $config['webm']['use_ffmpeg'] = true;
+
+ // If your ffmpeg binary isn't in your path you need to set these options
+ // as well.
+
+ $config['webm']['ffmpeg_path'] = '/path/to/ffmeg';
+ $config['webm']['ffprobe_path'] = '/path/to/ffprobe';
+
License
-------