lainchan/inc/lib/webm
2015-08-10 22:15:21 -03:00
..
ffmpeg.php Added escapeshellarg() for WebM thumbnail generation. 2014-09-15 16:57:06 -07:00
matroska-elements.txt
matroska.php
posthandler.php Add extension mp4 2015-08-10 22:15:21 -03:00
README.md FFmpeg support for WebMs. Fixes threads with large amounts of WebM's causing crashes for some users. 2014-09-15 16:34:36 -07:00
videodata.php

This directory contains files being the integration of containerchan with vichan-devel imageboards.

Containerchan allows posting of webm files, like they were the regular images.

An original board using this code can be found at: http://containerchan.org/tb/demo/

The original repo containing the containerchan (possibly with no Tinyboard integration) can be found here: https://github.com/ccd0/containerchan

Be aware that this is beta software. Please report any bugs you find.

Installation

Add these lines to inc/instance-config.php:

$config['allowed_ext_files'][] = 'webm';
$config['additional_javascript'][] = 'js/webm-settings.js';
$config['additional_javascript'][] = 'js/expand-video.js';

If you have an FFmpeg 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

See LICENSE.md.