summaryrefslogtreecommitdiff
path: root/inc/lib/webm/README.md
diff options
context:
space:
mode:
authorIan Bradley <marlen.crabapple@gmail.com>2014-09-15 16:34:36 -0700
committerIan Bradley <marlen.crabapple@gmail.com>2014-09-15 16:34:36 -0700
commit0a9de3deb544e2e5f29e9db539298a8681087847 (patch)
treea8a5fb041898041e2fc5c1e9c64b127b317495fa /inc/lib/webm/README.md
parentc1ecef377229da3b6af65834109c8fc76508479c (diff)
FFmpeg support for WebMs. Fixes threads with large amounts of WebM's causing crashes for some users.
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
-------