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/

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
text, and transcoding support.
http://www.mediawiki.org/wiki/Extension:TimedMediaHandler

A live install is on prototype if you want to play around with it:
http://prototype.wikimedia.org/tmh/

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&component=TimedMediaHandler

peace,
--michael

On 07/08/2011 04:18 AM, Dmitriy Sintsov wrote:
> Hi!
>
> What's the proper way of thumbnail generation for Ogg media handler, so 
> it will work like at commons?
>
> First, I've downloaded and compiled latest ffmpeg version (from 
> git://git.videolan.org/ffmpeg.git) using the following configure 
> options:
>
> ./configure --prefix=/usr --disable-ffserver --disable-encoder=vorbis 
> --enable-libvorbis
>
> The prefix is usual for CentOS layout (which I have at hosting) and best 
> options for vorbis were suggested in this article:
> http://xiphmont.livejournal.com/51160.html
>
> I've downloaded Apollo_15_launch.ogg from commons then uploaded to my 
> wiki to check Ogg handler. The file was uploaded fine, however the 
> thumbnail is broken - there are few squares at gray field displayed 
> instead of rocket still image.
>
> In Extension:OggHandler folder I found ffmpeg-bugfix.diff. However there 
> is no libavformat/ogg2.c in current version of ffmpeg. Even, I found the 
> function ogg_get_length () in another source file, however the code was 
> changed and I am not sure that manual comparsion and applying is right 
> way. It seems that the patch is suitable for ffmpeg version developed 
> back in 2007 but I was unable to find original sources to successfully 
> apply the patch.
>
> I was unable to find ffmpeg in Wikimedia svn repository. Is it there?
>
> Then, I've tried svn co 
> https://oggvideotools.svn.sourceforge.net/svnroot/oggvideotools 
> oggvideotools
> but I am upable to compile neither trunk nor branches/dev/timstarling 
> version, it bails out with the following error:
>
> -- ERROR: Theora encoder library NOT found
> -- ERROR: Theora decoder library NOT found
> -- ERROR: Vorbis library NOT found
> -- ERROR: Vorbis encoder library NOT found
> -- ogg library found
> -- GD library and header found
> CMake Error at CMakeLists.txt:113 (MESSAGE):
>
> I have the following packages installed:
> libvorbis-1.1.2-3.el5_4.4
> libvorbis-devel-1.1.2-3.el5_4.4
> libogg-1.1.3-3.el5
> libogg-devel-1.1.3-3.el5
> libtheora-devel-1.0alpha7-1
> libtheora-1.0alpha7-1
>
> ffmpeg compiles just fine (with yasm from alternate repo, of course).
>
> But there is no libtheoradec, libtheoraenc, libvorbisenc neither in main 
> CentOS repository nor in aliernative 
> http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/
>
> However it seems these is libtheoraenc.c in ffmpeg; what is the best 
> source of these libraries? It seems that there is no chance to find 
> proper rpm's for CentOS and one need to compile these from sources?
>
> Dmitriy
>
> _______________________________________________
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l


_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to