Extension talk:TimedMediaHandler

Jump to navigation Jump to search

About this board


Summary by InkluPedia

MwEmbedSupport extension is still required for latest stable version MediaWiki 1.31.0. Description of Extension:MwEmbedSupport was improved a bit and download is still possible.

InkluPedia (talkcontribs)

Hello. The Extension:MwEmbedSupport is no longer available (archived), but TimedMediaHandler requires MwEmbedSupport until latest stable MediaWiki version 1.31? I am currently installing MediaWiki 1.31.0 on my wiki InkluPedia and detected this issue. Thanks.

InkluPedia (talkcontribs)

"php update.php" is complaining "TimedMediaHandler requires the MwEmbedSupport extension." So why it is no longer available (archived) when it is still required for latest official and LTS version of MediaWiki?

TheDJ (talkcontribs)
InkluPedia (talkcontribs)
TheDJ (talkcontribs)

I have already expanded the message on that page to be more descriptive.

Elbiztec (talkcontribs)

Hello, I installed the extension TimedMediaHandler and run good in sounds, but in video it appears with this error, i created temp folder and put the code $wgTempDirectory but not work, any help would be greatly appreciated

Brion VIBBER (talkcontribs)

Assuming ffmpeg is installed correctly, it's common to get thumbnailing errors due to the low default memory limit.

Try adding to LocalSettings.php: $wgMaxShellMemory *= 4;

Reply to "Error creating thumbnail" (talkcontribs)

Needed to modify the database table creation as follows:

CREATE TABLE /*_*/transcode (

        transcode_id SERIAL PRIMARY KEY,

        transcode_image_name VARCHAR(255) NOT NULL,

        transcode_key VARCHAR(48) NOT NULL,

        transcode_error TEXT NOT NULL,

        transcode_time_addjob VARCHAR(14) NULL,

        transcode_time_startwork VARCHAR(14) NULL,

        transcode_time_success VARCHAR(14) NULL,

        transcode_time_error VARCHAR(14) NULL,

        transcode_final_bitrate INT NOT NULL

); (talkcontribs)

Should actually be

CREATE TABLE /*_*/transcode (

        transcode_id SERIAL PRIMARY KEY,

        transcode_image_name VARCHAR(255) NOT NULL,

        transcode_key VARCHAR(255) NOT NULL,

        transcode_error TEXT NOT NULL,

        transcode_time_addjob VARCHAR(255) NULL,

        transcode_time_startwork VARCHAR(255) NULL,

        transcode_time_success VARCHAR(255) NULL,

        transcode_time_error VARCHAR(255) NULL,

        transcode_final_bitrate INT NOT NULL


Reply to "Doesn't work with PostgreSQL Backend"

Further cleanup of docu?

Summary by Kghbln

Content cleared and moved to subpages.

Kghbln (talkcontribs)

@Brion Vibber (WMF): I just saw that you recently made an effort in cleaning up the docu. I wonder if the sections "Roadmap" and "Notes" need to be kept. I guess that the "Roadmap" should somehow be part of some Phabricator tasks and the "Notes" date from 2013 and appear to be very WMF specific.

Kghbln (talkcontribs)

I just moved the respective content to subpages. I guess that this is acceptable.

Ponkabonk (talkcontribs)

I'm trying to get my first video file to play.

I've tried the following:

[[Video:Foxhat.ogv]|Video Test]]

[[File:Foxhat.ogv]|Video Test 2]]

But when clicking on either of the links, it opens the file upload page.

If I use: [[Media:Foxhat.ogv]] then it plays the video but in a full-screen player but I'd really like to be able to embed the video on the page.

I have no idea how to approach fixing this. Any help would be greatly appreciated.


Bawolff (talkcontribs)

You have an extra ]. Syntax is [[file:Foxhat.ogv]].

If its just rendering as a link, it means that the extension is not installed properly (talkcontribs)

I`am having an exact same problem, i tried everything and it simply isn`t working.

The ogg, and oga files are displayed, and played properly. But link with

[[File:sample.ogv|sample]] always opens upload files page.

Since installation is a simple unpacking of files to certain spot i doubt that any 1 can miss install it.

Reply to "Syntax for embedding a .ogv file?"
2604:2000:2440:3400:4054:F1F3:64C3:E44B (talkcontribs)

Are there any updates to the this item on the roadmap?

  • "GIF mode" for autoplay silent videos

it's something I've been wanting to try in MediaWiki for a while, and would be great to have.

Or, at least, are there ways to make an embedded video autoplay/silent/looping as individual parameters?


Reply to "Updates on GIF mode?" (talkcontribs)

Hello, I am evaluating this extension for use in my wiki. I still see this as part of the roadmap:

"Add support for mp3 uploads and audio transcoding to mp3 and ogg. ( Off by default until mp3 patents expire in 2012 )"

It's not crossed out. Does it mean that at the moment I will still be unable to use it for the mp3 files that I have uploaded in my wiki?


Jdforrester (WMF) (talkcontribs)

Hey there. This code is working in master, but you have to configure it on (set $wgTmhEnableMp3Uploads to true). Relatively soon I imagine we'll remove the disablement.

Reply to "Mp3 support?"
Scarred Sun (talkcontribs)

I currently use a shared repository wiki a la Commons to host files that should be on multiple wikis. When I upload a mp4 file to this shared repository (http://retrocdn.net/File:FinalBlasterBurningForce_MD-PCE_JP_TVAdvert.mp4) and try to use it on another site (http://segaretro.org/Burning_Force) I receive the following PHP Fatal Error:

Fatal error: Call to undefined method FileRepo::fetchImageQuery() in extensions/TimedMediaHandler/WebVideoTranscode/WebVideoTranscode.php on line 686

Any help on why this may be happening? For the record, locally-uploaded video files to either wiki are fine.

TheDJ (talkcontribs)

This is phab:T63986. You can bypass this problem, by using ForeignDBViaLBRepo instead of ForeignDBRepo.

Nbrouard (talkcontribs)

Do you mean that we should use $wgForeignFileRepos with 'class' => 'ForeignDBViaLBRepo'?

But what if using old syntax with $wgSharedUploadPath, $wgSharedUploadDirectory etc?

T0lk (talkcontribs)

I was having this problem too. The easiest solution was switching to Extension:EmbedVideo, which met my needs.

Reply to "Interwiki breaking video display?"

This extension work with audio stream from external server?

Tartarugav (talkcontribs)

Does this extension allow you to listen to an audio stream from another external server?

You seem to me not to ...

Does anyone know if this is possible in MediaWiki?

My intention is to put this streaming: http://icecast.taina.net.br/radiosapo.mp3

with a small player to listen to in our Wiki.


Reply to "This extension work with audio stream from external server?"

Not Working - uploaded files not found

2 (talkcontribs)

Once I activate TimedMediaHandler (and MwEmbedSupport), "[[File:XXXX]]" links simply change to red as if the file wouldn't exist (previously they were ok).

Files have been uploaded correctly.

Tested on a vanilla MW 1.27.3 (LTS) with TMH 1.27 and 1.28. (talkcontribs)

Same with MW 1.29.0

Reply to "Not Working - uploaded files not found"