On 08/07/11 21:18, Dmitriy Sintsov wrote:
Hi!
What's the proper way of thumbnail generation for Ogg media handler, so it will work like at commons?
This is documented in the OggHandler README file:
http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/OggHandler/README
In short, you should use oggThumb.
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.
That patch is not needed for the latest version of ffmpeg, since the bug that it fixes was fixed upstream. However, as the README file says, there are other bugs that are not fixed, which is why you should use oggThumb.
-- Tim Starling