Extension:TimedMediaHandler/hu

The TimedMediaHandler extension allows you to display audio and video files in wiki pages, using the same syntax as for image files. Ez tartalmazza a VideoJS-lejátszót. A feliratok (azaz az időzített szöveg), a valós idejű csatornaváltás több WebM- és más származékos mű közt, és számos más funkció támogatottak. TMH server side support includes options for uploading HTML5 audio and video, multiple transcode profiles to deliver content, playback of MIDI files, metadata parsing for Ogg and WebM videos, and integration with MediaWiki's job queue system for scheduling transcoding jobs.

' For new and upcoming developments in 2022, see Extension:TimedMediaHandler/2022 work. '

'' Please note that TimedMediaHandler does not currently work with PostgreSQL. Lásd: .''

Feature overview
A lejátszóhoz lásd: VideoJS-lejátszó.

For features of the subtitling system, see Commons:Timed Text page.



Szintaxis
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
 * 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. Használható ezenkívül a HH:MM:SS formátum, pl. az 1:02:22 jelentése: a 1 óra 2 perc 22 másodperc a videó kezdetétől. Floating-point seconds are supported (but broken on Wikimedia wikis: T228467).


 * 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. Ezenkívül beírható a vég ideje  formátumban, ami 5 másodperces klipet jelent 1:25-től 1:30-ig. If thumbtime is not provided, the start time will be used for the displayed thumbnail. One can also use HH:MM:SS, e.g. 1:02:22 will be 1 hour, 2 minutes, and 22 seconds into the video.
 * and  can also be used as query parameters in the URL for a video's file page.


 * Video.ogg
 * Start the media with muted audio.


 * Video.ogg
 * Loop the video continuously.


 * Elavult
 * A noicon és noplayer szavak elavultak, és nem működnek. A disablecontrols kulcsszó valószínűleg elavul. (Lásd: ) It takes a comma-separated list of any of the following values: options, timedText , fullscreen

Client support


The player works on most modern browsers (see MediaWiki's support matrix). A mobiltámogatás változatos, különösképp iOS-en.

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.

Telepítés
You will want a recent version of ffmpeg in order to support encoding to WebM (with the latest version of VP9).

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

Comparison of Wikipedia media encoding options
2018-ban a Wikimédia-oldalak VP9-et használtak.

Sorted by bandwidth tier:

Részletes beállítások:

Beállítás
Here are some configuration variables which may be useful:

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.

Running transcode jobs
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. Lásd:.

Encoding nodes
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.

Minimal install under Debian and Ubuntu
Plus, add this to your (tested for Devuan ASCII  only):

Troubleshooting

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


 * A 'getID3' osztály nem található
 * You need to install the extension's PHP dependencies using Composer, see the installation section.


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


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


 * [exception] […] /index.php?title=Special:Upload  Error: Call to undefined method FSFile::getLocalRefPath
 * This extension is incompatible with . Távolítsd el. You may also need to make sure you did the composer steps properly.