* Michael Dale <mdale(a)wikimedia.org> [Fri, 08 Jul 2011 10:52:52 -0700]:
I recommend using the static binaries hosted on
firefogg or if you
want
to compile it your self using the build tools provided
there:
http://firefogg.org/nightly/
Hi Michael,
thank you for the tips.
Static binary for ffmpeg wasn't completely static, it was linked against
different version of libc, so it refused to run. Maybe that binary was
compiled in different distro. However, ffmpeg2theora.linux from the same
page worked just fine in CentOS 5.6.
Also I would suggest you take a look at
TimedMediahandler as an
alternative to oggHandler it has a lot more features such as WebM,
timed
This extension is more complicated. Forutunately it has a better README
file - there are recommended configure options for ffmpeg compilation
which I was looking for. It was not easy to compile ffmpeg with
recommended transcoding options, but I finally managed to do that.
However README should mention that the user should run php update.php,
otherwise extension complains about missing DB tables. Is it really
necessary to have as much as 6GB of shell memory? Because I have only
1GB at this shell.
A live install is on prototype if you want to play
around with it:
http://prototype.wikimedia.org/tmh/
The samples are nice.
If you run into any issue, please report them on the
bug tracker or
directly to me.
https://bugzilla.wikimedia.org/enter_bug.cgi?product=MediaWiki%20extensions…
Yes, I have an issue - I run MediaWiki 1.17.0
(r6), however it
seems that trunk version of TimedMediaHandler is already designated for
improved 1.18 Skin / Linker:
2011/07/11 15:04:06 [error] 21984#0: *1006 FastCGI sent in stderr: "PHP
Warning: array_merge(): Argument #1 is not an array in
/var/www/wiki/universe/extensi
ons/TimedMediaHandler/TimedMediaHandler.hooks.php on line 87" while
reading response header from upstream, client: 193.233.48.78, server:
x.x.x.x, reque
st: "GET
/load.php?debug=false&lang=ru&modules=startup&only=scripts&skin=universe&*
HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "x.x.x.x",
re
ferrer:
"http://x.x.x.x/index.php/%D0%A1%D0%BB%D1%83%D0%B6%D0%B5%D0%B1%D0%BD%D0%B0%D1%8F:Version"
2011/07/11 15:04:07 [error] 21984#0: *1009 FastCGI sent in stderr: "PHP
Warning: array_merge(): Argument #1 is not an array in
/var/www/wiki/universe/extensi
ons/TimedMediaHandler/TimedMediaHandler.hooks.php on line 87" while
reading response header from upstream, client: 193.233.48.78, server:
x.x.x.x, reque
st: "GET /index.php/skins/universe/images/vakosha.png HTTP/1.1",
upstream: "fastcgi://127.0.0.1:9000", host: "x.x.x.x", referrer:
"http://x.x.x.x/
index.php/%D0%A1%D0%BB%D1%83%D0%B6%D0%B5%D0%B1%D0%BD%D0%B0%D1%8F:Version"
One probably should create new Linker(), that's how I do in my
Extension:QPoll (although I haven't checked it with 1.18 yet).
TimedMediaHandler is r91852.
Dmitriy