Extension talk:TimedMediaHandler

Jump to: navigation, search

About this board

By clicking "Add topic", you agree to our Terms of Use and agree to irrevocably release your text under the CC BY-SA 3.0 License and GFDL
Alex Mashin (talkcontribs)

Is running maintenance/runJobs.php --type webVideoTranscode the only way to run a video transcode job? Can it be called from somewhere else; if so, how can it be prevented?

Bawolff (talkcontribs)

Thats normally the only way

Hubjbh (talkcontribs)

ENG==support== QuickBooks technical support phone number 0-800-860-9230 .... QuickBooks customer service phone number ENG==support== QuickBooks technical support phone number 0-800-860-9230 .... QuickBooks customer service phone number@ENG==support== QuickBooks technical support phone number 0-800-860-9230 .... QuickBooks customer service phone number

Reply to "Transcode job: entry point"

TimedMediaHandler directly links to file even on HTML5 browsers after upgrading

4 (talkcontribs)

I tried Firefox and Chrome with a webm file and it would just direct link to the file and give the prompt.

TimedMediaHandler used to work before I upgraded from MW 1.23 to 1.25

Can anyone help?

ComputeVictory (talkcontribs)

Additionally, I am using the REL1_25 versions of TimedMediaHandler and MwEmbedSupport

This is the log I got while trying to find the problem

processEmbedPlayers:: Do: 1 players EmbedPlayer:: addElement:: mwe_player_0 EmbedTypes::detectPlayers running detect EmbedTypes::addJavaPlayer: adding cortadoPlayer (19) EmbedPlayer::trigger:embedPlayerUpdateMediaPlayersEvent processEmbedPlayers::runPlayerSwap::mwe_player_0 EmbedPlayer: initEmbedPlayer: 800 EmbedPlayer::init:mwe_player_0 duration is: 310.294 EmbedPlayer::mediaElement:init:mwe_player_0 processEmbedPlayers::swapEmbedPlayerElement: mwe_player_0 processEmbedPlayers::trigger:: EmbedPlayerNewPlayer mwe_player_0 TimedText: init() EmbedPlayer::addPlayerElement :trigger startPlayerBuildOut:mwe_player_0 EmbedPlayer::checkPlayerSources: mwe_player_0 EmbedPlayer::setupSourcePlayer: mwe_player_0 sources: 2 EmbedPlayer::mediaElement::autoSelectSource MediaElement::GetPlayableSources mimeFilter:undefined 0 sources playable out of 2 EmbedPlayer::showPlayerError MediaElement::GetPlayableSources mimeFilter:undefined 0 sources playable out of 2 EmbedPlayer:updatePosterHTML::mwe_player_0 load.ph...214618Z (line 12976) mw.PlayerControlBuilder: addWarningBinding: EmbedPlayer.ShowNativeWarning wm: For a better video playback experience we recommend an <a href="//www.mediawiki.org/wiki/Extension:TimedMediaHandler/Client_download" target="_blank">HTML5 video browser</a>. EmbedPlayer:: setupSourcePlayer > player ready ( but with errors ) EmbedPlayer:: Trigger: widgetLoaded

ComputeVictory (talkcontribs)

Never mind I found the cause of the problem at T91431 (talkcontribs)

Hi has your problem be fixed yet. The patch was backported to the REL1_25 branch. Please could you try the latest from the REL1_25 branch.

Reply to "TimedMediaHandler directly links to file even on HTML5 browsers after upgrading"
Alex Mashin (talkcontribs)

I wrote an MP3 handler to work with TimedMediaHandler (as a MediaWiki extension), based on WAV handler and extending ID3Handler. Unfortunately, under Internet Explorer 10, the player is removed on page load by some JavaScript. How can I prevent this?

This comment was hidden by (history)
Alex Mashin (talkcontribs)

$wgEnabledAudioTranscodeSet [] = WebVideoTranscode::ENC_MP3; is not enough to make an MP3 player appear. It needs a handler and I didn't find it in handlers directory, so I wrote one. (talkcontribs)

Ok maybe you could upload the patch to gerrit where users can look at it and find errors. and tell you if you need to edit other files to get it working.

You could try this

$wgMediaHandlers['audio/mpeg'] = 'Mp4Handler';
$wgFileExtensions[] = 'mp3';
Alex Mashin (talkcontribs)

Thank you, Mp4Handler really can handle MP3, and even under IE 10.

Reply to "MP3 player vanishes"
Alex Mashin (talkcontribs)

Is line 139 of WebVideoTranscode/WebVideoTranscodeJob.php the only place that can set staus "Source not found" on transcode job? (talkcontribs)

Hi please could you explain your problem including which MediaWiki version your using and which branch for timedmediahandler your using.

Alex Mashin (talkcontribs)

MW 1.25.2, TMH REL1_25.

My problem is that some of the transcode jobs fail with "Source not found" but may succeed next time. I inserted some code to give me debug information in the place I mentioned, but it is never called. I therefore suspect there may be another place setting the status "Source not found".

Reply to "Source not found" (talkcontribs)

transcode_id INT NOT NULL PRIMARY KEY AUTO_INCREMENT in the file TimedMediaHandler.sql is not standard SQL. I use postgres and had to change it to transcode_id SERIAL PRIMARY KEY.

Further, transcode_error longtext NOT NULL must be changed to transcode_error TEXT NOT NULL for postgres.

It would be nice if this extension could be made to also support postgres, as this only needs the above changes. Thanks. (talkcontribs)

Hi yes the sql is for MySQL. Postgres is currently not supported but may be in the future.

Reply to "SQL is MySQL specific"

$wgEnableNiceBackgroundTranscodeJobs and cron

Alex Mashin (talkcontribs)

If I set $wgEnableNiceBackgroundTranscodeJobs = true; , should I still create a cron job to run video transcodes?

Reply to "$wgEnableNiceBackgroundTranscodeJobs and cron"
RigganRose (talkcontribs)

Does anyone have a simplified walkthrough on how to properly install Pear and get it configured? The instructions on the TimedMediaHandler page are confusing at best, and no one seems to have any helpful info. I cannot get TimedMediaHandler working until Pear is installed and running. I am at a total loss. Can anyone please help?

Bawolff (talkcontribs)

You shouldn't need PEAR. file_OGG is included directly with the extension

Reply to "Help with installing/configuring PEAR"
Dmitry Russkih (talkcontribs)

Where this extension stores thumbnail images?

I've get stumbled with error when extension cannot save thumbnails in their storeplace. As I understand, there is incorrect rights on folder, but I can't find where this folder is.

Bawolff (talkcontribs)

It should be the same as normal thumbnails (although the transcodes are saved in a different directory named transcodes)

Most commonly this is the directory images/thumb/<number 0-f>/<number 00-ff>/<name of file>/

Reply to "No thumbnail at file page"
Mattflaschen (talkcontribs)

What's the source for MP3 patents expiring in 2012? A Big List of MP3 Patents (and supposed expiration dates) has some lasting to 2017. It is possible A Big List is wrong. Nevertheless, a source for 2012 would be useful.

This post was posted by Mattflaschen, but signed as Superm401.

Reply to "MP3 patents"

Where to find mwEmbedSupport extension

3 (talkcontribs)

I'm trying to install your extension but i'm stuck at first step. How/where cna i find the mwembedsupport extension that needs to be installed. Furthermore, the firefogg files are available for all major platforms. So once i download the one from the source, where do i place it in relation to my server, within the extensions or anywhere in my server. Similarly it also says I need a copy of ffmpeg2theor in my server and I'm not clear for that too. I'm guessing the suggested configuration lines is for comman line instructions for the settings and do we run that from root or from specific folder. Obviously I'm a bit of a starter so my question may sound very simple or studid but I apologize if it comes off like that. I've always had a difficulty of how we can install programs made for linux, windows, mac being 'installed' on my server. Thanks MW1.17, apache server, php 5.3, shared host.

This post was posted by, but signed as Wikimanz.

Mdale (talkcontribs)

You can get mwEmbedSupport from the same parent directory as TimedMediaHandler: http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/MwEmbedSupport/

You need to setup the paths in the local settings for your encoder binaries see the README for more info

You may have some challenges running this off of a shared host because it includes transcoding support dependent on shell scripts / cron jobs.

TheAlmightyGuru (talkcontribs)

Is there any way to get an easier download of MwEmbedSupport rather than downloading all those files and creating the folders manually?

Alternately, is MwEmbedSupport necessary if I'm not using the transcoding features of TimeMediaHandler? I run a audio-themed Wiki, and I'm looking into updating from the old OggHandler extension to this one, but I don't need any video features.

Reply to "Where to find mwEmbedSupport extension"