Extension:Movhandler
movhandler Release status: beta |
|
---|---|
Implementation | Media |
Description | Provides thumbnails for quicktime movies in galleries, media pages etc. |
Author(s) | Mark Dayel (MarkdayelTalk) |
MediaWiki | 1.16 |
License | No license specified |
Download | Repository Changelog |
Example | Examples |
Check usage (experimental) |
Contents |
[edit] What can this extension do?
- Provides thumbnails for quicktime movies in galleries, media pages etc.
- Also reports the size, framerate, encoder and bitrate of the quicktime file.
- It does not embed the movies themselves in the thumbnails (that would be too slow—especially for galleries), but if you click through the media page, the movie file will play in the browser.
[edit] Usage
Once installed, extension will automatically make thumbnails for uploaded quicktime movie (.mov) files. You can also embed thumbnails for movie files as you would images, just specifying the .mov file instead. e.g.
[[Image:mymovie.mov|200px]]
[edit] Download instructions
Download the code from this repository . There are 3 files movhandler.php movhandler_body.php and movhandler.i18n.php
[edit] Installation
First install of ffmpeg and imagemagick. E.g. on ubuntu type:
sudo apt-get install ffmpeg imagemagick
On MacOS with MacPorts, type:
port install ImageMagick; port install ffmpeg
To install the extension, put the downloaded files into the extensions/movhandler/ directory off your mediawiki installation, then add the following to LocalSettings.php:
require_once("$IP/extensions/movhandler/movhandler.php");
You may also need to add '.mov' to the allowed filetypes, and increase the shell memory settings. I added this to my wiki (though you may want to be more conservative):
$wgMaxShellMemory = 1000000; $wgMaxShellFileSize = 4096000; $wgMaxImageArea=70000000;