Extension:TimedMediaHandler/fr

L'extension TimedMediaHandler vous permet d'inclure des fichiers audio et vidéo dans les pages wiki, en utilisant la même syntaxe que pour les fichiers d'images. Elle comprend le lecteur HTML5 Kaltura ainsi que le lecteur VideoJS expérimental. There is support for subtitles and captions (aka Timed Text) and real time stream switching between multiple WebM and other derivatives and many other features. La prise en charge côté serveur TMH comprend les options permettant de télécharger de l'audio et de la vidéo HTML5, plusieurs profils de transcodage pour délivrer le contenu, la lecture des fichiers MIDI, l'analyse des métadonnées pour les vidéos Ogg et WebM, et l'intégration au système de file d'attente des travaux de MediaWiki pour l'ordonnancement des tâches de transcodage.

'' Please note that TimedMediaHandler does not currently work with PostgreSQL. See. ''

Aperçu de la fonctionnalité
Voir la page Commons:Commons:Timed Text.

Sinopsis De la syntaxe
In addition to the image embed syntax, Timed Media Handler supports:


 * 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.


 * Audio.oga
 * Show a placeholder for a sound file, with a play button to start an embedded player.


 * [[File:Midi.mid]]
 * Generate digital audio from the music instructions in the MIDI file, and show the embedded audio player to play this audio.


 * Video.ogv
 * Affiche une vidéo dans une boîte de vignette flottante


 * Show a video embedded in an image gallery (each clip will popup a dialog for the full player)
 * 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. Vous pouvez aussi utiliser HH:MM:SS ; par exemple 1:02:22 représente 1 heure, 2 minutes, et 22 secondes dans la vidéo.
 * → Note that thumb generation with  is no longer working as of MediaWiki 1.35 (minimum). See.


 * Video.ogg
 * Temporal media fragments displays 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 an end time of the form  Which would result in a clip of 5 seconds playing from 1:25 to 1:30. If thumbtime is not provided, the start time will be used for the displayed thumbnail. Vous pouvez aussi utiliser HH:MM:SS ; par exemple 1:02:22 représente 1 heure, 2 minutes, et 22 secondes dans la vidéo.
 * and  can also be used as query parameters in the URL for a video's file page.


 * Obsolète
 * Les mots noicon et noplayer de la syntaxesont obsolètes et ne fonctionnent pas. The keyword disablecontrols will likely be deprecated. (voir |tâche 135537) It takes a comma-separated list of any of the following values: options, timedText , fullscreen

Support client


The player works on most modern browsers and supports IE9 and later (The modern browsers as described in MediaWiki's support matrix). Mobile support is spotty, especially on iOS.

As of August 2015, TimedMediaHandler includes a JavaScript compatibility shim for Ogg audio/video that works in Safari, Internet Explorer 10/11, and Microsoft Edge browsers.

Third-party users of MediaWiki may also wish to manually enable MP4 H.264/AAC support for native video and audio playback in Safari/IE/Edge, but when using these formats you may need a patent license from MPEG-LA for internet broadcasting.

Installation
You will want a recent version of ffmpeg in order to support encoding to WebM (with the latest version of VP8). Voir la section ci-dessous pour les instructions d'installation sur les versions plus anciennes de MediaWiki.

The extension will automatically add supported file types (except for mp4) to, so you do not need to manually add video file types.

Comparaison entre les différentes options d'encodage des médias Wikipedia
See for deployment details on planned Wikimedia update from VP8 to VP9.

Sorted by bandwidth tier (grayed items are not currently enabled):

Options détaillées :

Configuration
Voici quelques paramètres de configuration pouvant être utiles :

For transcoding, make sure you have,  ,   are large enough to allow encoding jobs to run and save output. Default values are most likely too low.

Exécuter les tâches de transcodage
Because transcode jobs are resource intensive they will not run as part of normal job queue (see ) Instead they must be requested by the  argument:

If running this command causes it to hang forever, you may need to set in LocalSettings.php. Voir.

Noeuds d'encodage
To be able to transcode many videos you might want to run multiple encoding nodes that connect to the master db and access your file store directly. You will need to install ffmpeg.

Installation minimale sous Debian et Ubuntu
Plus, add this to your (tested for Devuan ASCII  only):

On older versions of MediaWiki (1.29–1.31)

 * La version 1.31 apporte une rupture pour les administrateurs système. The extension now requires, dropped the dependency for the  extension, and the WebVideoTranscode PHP constants are now expressed as string values instead.
 * Note that, although was included in TimedMediaHandler for MediaWiki 1.31 and later, for MediaWiki versions prior to that you will need to download it from the archive page.

In, load the extension with:

Prior to 1.31,  is set with:

Troubleshooting

 * " – failed to map segment from shared object "
 * You need to increase the allowed memory in.


 * " Class 'getID3' not found "
 * You need to install the extension's PHP dependencies using Composer, see the Installation section above.


 * " Unrecognized option 'max_muxing_queue_size' "
 * You may be using ffmpeg 2. You need add  to your.