Last modified: 2014-11-17 09:21:07 UTC
https://upload.wikimedia.org/wikipedia/commons/thumb/a/a0/Kaiserwagen_einfahrt_vohwinkel.ogg/seek%3D17-Kaiserwagen_einfahrt_vohwinkel.ogg.jpg gets me: File not found Although this PHP script (/w/thumb.php) exists, the file requested for output (/mnt/thumbs/wikipedia/commons/thumb/a/a0/Kaiserwagen_einfahrt_vohwinkel.ogg/seek=17-Kaiserwagen_einfahrt_vohwinkel.ogg.jpg) does not. https://upload.wikimedia.org/wikipedia/commons/thumb/a/a0/Kaiserwagen_einfahrt_vohwinkel.ogg/seek%3D16-Kaiserwagen_einfahrt_vohwinkel.ogg.jpg works. See https://commons.wikimedia.org/w/index.php?title=User:Saibo/Sandbox11&oldid=62646764 I noticed this because the video is on Commons' main page today but the thumb was (until I changed the thumbtime to 16) not displaying.
Interesting. I looked at another video file (http://commons.wikimedia.org/wiki/File:Sintel_extract_new.ogv) and found something different. http://upload.wikimedia.org/wikipedia/commons/thumb/2/25/Sintel_extract_new.ogv/seek%3D12000-Sintel_extract_new.ogv.jpg shows the last frame of the video despite the video being only about 80 seconds long. Could this be ogg vs ogv?
Seeking beyond the last frame works on this ogg file, though: http://upload.wikimedia.org/wikipedia/commons/thumb/7/77/Saturn_Lightning.OGG/seek=300-Saturn_Lightning.OGG.jpg That is, it displays the last frame even if you seek beyond the length of the video. Platonides notes in IRC: <Platonides> it's interesting that Kaiserwagen_einfahrt_vohwinkel.ogg shows as Vorbis/Theora <Platonides> and Saturn_Lightning.OGG as Theora/Vorbis <Platonides> the order they appear in the container?
To clarify, the problem here is that there should be consistent behavior regardless of the file type. Saturn_Lightning.OGG shows one behavior when you seek past the end and Kaiserwagen_einfahrt_vohwinkel.ogg shows another. The behavior of thumb.php is to Saturn_Lightning.OGG is to generate a thumbnail for the last frame of the video after you seek past the end. Meanwhile, thumb.php fails to generate a thumbnail Kaiserwagen_einfahrt_vohwinkel.ogg when you ask it to seek past the end and, as a result, Apache returns a 404 page. Even if, for some reason, thumb.php can't be fixed to provide a thumb when you seek past the end of the file, then we should have a better error page than the generic apache one.
This is probably nothing to do with thumb.php, but rather the behavior of the underlying tool used to create thumbnail images. Have you tested it in isolation on these two files?
oggvideotools 0.8 (as shipped on Ubuntu 11.10) doesn't seem to want to generate thumbnails after the end of the document on any of the above input files (tried eg 6000 seconds, 600 seconds, 60 seconds etc). I don't know exactly what version we're running in production, but supposedly only things from the 0.9 family work with OggHandler because it requires an output parameter that's not in 0.8.
There's no oggvideotools 0.9, latest version is 0.8a
The OggHandler extension is not under active development anymore. It is unlikely that there will be any further active development. OggHandler has been superseded by TimedMediaHandler: http://www.mediawiki.org/wiki/Extension:TimedMediaHandler Please use TimedMediaHandler instead. Closing this report as WONTFIX as part of Bugzilla Housekeeping. Please feel free to reopen this bug report in the future if either anyone takes the responsibility for active development of OggHandler again; or move this bug report from the "OggHandler" to the "TimedMediaHandler" component in Bugzilla if the same problem still happens when using TimedMediaHandler. Thanks.