Extension:TimedMediaHandler

TimedMediaHandler is an extension which allows you to display audio and video files in wiki pages, using the same syntax as for image files. It includes the kaltura html5 player, which supports integrated timed text, real time stream switching between multiple webm and ogg derivatives. Server side supports multiple transcode profiles and php based medata parsing via PEAR Ogg and getID for WebM files and integration with mediaWiki's jobQueue system for scheduling transcoding jobs.

Feature Overview
For now see: prototype page Also see Commons:Commons:TimedText and Multimedia_beta

Syntax synopsis

 * [[File:Video.ogv]] : Display a video at its nominal size. Displays a still image from the midpoint with a play button to start an embedded player.
 * [[File:Audio.oga]] : Show a placeholder for a sound file, with a play button to start an embedded player.
 * Video.ogv : Show a video in a floating thumbnail box
 * : Show a video embedded in an image gallery ( each clip will popup a dialog for the full player )
 * Video.ogg : Use a frame from 1 minute 25 seconds into the video as the placeholder image. A single number is taken as an offset in seconds.
 * Video.ogg : ( Temporal media fragments ) a video clip starting at 1 minute 25 seconds into the video. A single number is taken as an offset in seconds. You can also include and end time of the form end=1:30 Which would result in a clip of 5 seconds playing from 1:25 to 1:30

Client support
Todo fill in.

Installation
To install this extension, add the following to the end of your LocalSettings.php: Also you will need to patch the trunk. patch is here

Configuration
After the require line, add this to your LocalSettings.php:

You may need to change the path to your ffmpeg. You can find yours by typing: which ffmpeg

Requirements
You will want a recent version of ffmpeg in order to support encoding to WebM ( with the latest version of VP8) j^ supplies up-to-date static builds of ffmpeg with WebM support and of ffmpeg2theora for major OSs at firefogg.org/nightly/

Road Map

 * Add api module for listing of derivatives
 * Add support for transcoding from arbitrary format uploads.
 * Improve transcoding tracking with database tables for registering failed transoces, time taken per transcode, allow users to flag files as not playable or a visually broken transcodes.
 * Improve mobile support for uploading and playback ( via native aps if the browser html5 support does not include WebM )
 * Add support for WebM flattening of edited sequences