Extension talk:OggHandler

Suggestion
The used namespace Image: change to Media: please

What the hell is link markup?
Good question...the change was mistaken on my part. I looked at the surface syntax and not at your code. The implementation type "link markup" was meant to gather together examples of parser extensions that modified the normal interpretation of ... syntax (a la Extension:Semantic MediaWiki). Yours most definitely does not - it adds a media type to $wgMediaHandlers. Apologies. Egfrank 07:19, 20 September 2007 (UTC)

Whole archive of files for OggHandler to download
Why you don't provide it? It's impossible (very long time) to get all files apart from http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/OggHandler and subdirs.

I am Windows user.


 * I have instaled SVN for Windows and resolve this task. --Tsim 21:48, 3 October 2007 (UTC)

Is it possible to get files with TortoiseCVS ?
How to configure TortoiseCVS for this task?

--Tsim 17:08, 3 October 2007 (UTC)

Fatal error: Declaration of OggTransformOutput::toHtml must be compatible with that of MediaTransformOutput::toHtml
I have installed OggHandler extension as in README.

At any page of my wiki get the error:

Fatal error: Declaration of OggTransformOutput::toHtml must be compatible with that of MediaTransformOutput::toHtml in C:\xampp\htdocs\WKI\extensions\OggHandler\OggHandler_body.php on line 452

--Tsim 21:40, 3 October 2007 (UTC)


 * You need to use MediaWiki 1.11. -- Tim Starling 10:44, 4 October 2007 (UTC)

I have installed v1.11. Now I can see on :Version page Hooks LanguageGetMagic	OggHandler::registerMagicWords

There is no strings like Media handlers OggHandler	Handler for Ogg Theora and Vorbis files, with JavaScript player.

ogg link look as Медиа:Video1.ogg

What can you advise else?

For ffmpeg I use this string: $wgFFmpegLocation = 'c:/xamp/util/ffmpeg'; --Tsim 10:48, 30 October 2007 (UTC)

Darn blank screen !!
I installed what I assume is the latest Ogg files and also FFmpeg ... I added cortado-ovt-stripped-0.2.2-patched.jar ...

I edited LocalSettings as the README file suggests and when I refresh my Wiki screen, i get a blank screen ..

If I hash out the includeonce line I get my Wiki screen back .. The install and Readme is rather cryptic, but

I'm sure I followed everything ... I get the OggHandler showing in the Versions page when I un-hash the includeonly line ..

What did I do wrong ??

--Dick 11:20, 4 November 2007 (UTC)
 * I downloaded the extension via SVN and do not have any problem. A blank screen generally means that the extension can't be loaded and usually because of a wrong path to the extension. Have a look at the logs of your httpd server (/var/log/httpd/mywikiserver.log on Gnu/Linux).--Nbrouard 07:52, 15 November 2007 (UTC)

Smaller Media player icon (without 2 CR) and inline icon (how to?)
Many thanks for your OggHandler. But we would like a prettier layout of the media player icon. We have a dictionary with a lot of terms being voice recorded, and it should look like this:

901

Studiem ekonomických a společenských podmíněností populačního vývoje na straně jedné a studiem důsledků populačního vývoje na ekonomické a sociální procesy se zabývá ekonomická a sociální demografie (104-1), 104-2). Zabývá se vztahy, které existují mezi populací a zdroji 1, kterými ekonomika dané společnosti disponuje a které jí umožňují vytvářet bohatství a zajišťovat služby n. realizovat produkci 2. V poslední době se důraz při tomto studiu soustřeďuje na vztah mezi populačním růstem (703-11) a jeho složkami a ekonomickým růstem (903-1), zejména s ohledem na spotřebu 3 , spoření 4  a investice 5.

Unfortunately, the OggHandler extension is not set on this wiki, but if you copy the above code on a working wiki, you will see how it is badly output and not operational.

In fact the input is because the recorded term is in the nominative form zdroje which differs from the text conjugated form. We ahve to warn the reader (and audio listener) that what he will listen is different of what is written.

And thus, after the icon, I would like an additional argument, which simply could be written. I could use a template, like the audio template on wiktionary for that additional useful feature but the main obstacle remains with a too huge Play Sound icon and two carriage returns (one before the icon and one after) which makes the layout horrible.

How could I do whithout entering the OggHandler source code? Many thanks. --Nbrouard 08:28, 15 November 2007 (UTC)


 * In fact the Ogg-handler extension is on this wiki. And as I did not want to pollute this wiki with an irrelevant ogg file, I used the En-us-student.ogg file of commons instead of a real Czech audio file. Thus we can see what I would like: a smaller media player icon for audio which won't break the line of text.--Nbrouard 18:10, 19 November 2007 (UTC)
 * Any hint? --Nbrouard 08:12, 21 November 2007 (UTC)

Is anyone there who installed OggHandler under MS Windows hosting?
Please write about your experience. --Tsim 10:24, 15 November 2007 (UTC)
 * Me not sorry. --Nbrouard 18:43, 15 November 2007 (UTC)

It was developed on Windows, it should work just as well there as it does on Linux. -- Tim Starling 06:26, 9 December 2007 (UTC)

FFmpeg Location
I've gotten Ogghandler and FFmpeg installed but I can't seem to make $wgFFmpegLocation set to a location outside of the wiki base directory. If I try to move FFmpeg inside of the wiki then it doesn't find the libraries. Could somebody give me some direction on how to resolve this. ffmpeg currently resides in /home/usr/bin the libraries in /home/usr/lib and the wiki at /home/usr/public_html/wiki/. Thanks. --LeeAtwood 02:37, 17 December 2007 (UTC)


 * I had to take --enable-shared of the ./configure

Larger Files
I have a problem with some fairly large video clips - when I try to upload my 50 Mb ogg/theora video file, all I get is a white page. I can upload such files by temporarily disabling OggHandler by commenting out the appropriate "require" line in LocalSettings.php, but if I enable OggHandler again and go to the Image:MyBigOggFile.ogg page, it again is just white. A 400kb 5 second clip encoded in the same fashion works fine.

Is there some way to work around this? We have a wiki with some instructional papers at my workplace, and we would really like to put instructional videos on it as well.

Technical details:


 * System: Mac OS 10.5.2
 * PHP Version: 5.2.5
 * MediaWiki: 1.11.1
 * MySQL: 5.0.41

The last few lines of wiki.log upon hitting the blank screen: Logged in from session File::getPropsFromPath: Getting file info for /Applications/MAMP/htdocs/wiki/images/e/e4/Eos.ogg MimeMagic::__construct: loading mime types from /Applications/MAMP/htdocs/wiki/includes/mime.types MimeMagic::__construct: loading mime info from /Applications/MAMP/htdocs/wiki/includes/mime.info MimeMagic::detectMimeType: no magic mime detector found! DjVuImage::getInfo: not a DjVu file MimeMagic::detectMimeType: extension mime type of /Applications/MAMP/htdocs/wiki/images/e/e4/Eos.ogg: application/ogg MimeMagic::guessMimeType: final mime type of /Applications/MAMP/htdocs/wiki/images/e/e4/Eos.ogg: application/ogg and then it just stops. Any ideas?

--Markus 14:32, 7 March 2008 (UTC)