Last modified: 2014-11-17 09:21:07 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T34465, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 32465 - Inconsistent behavior when thumb-nailing past the end of a video
Inconsistent behavior when thumb-nailing past the end of a video
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
OggHandler (Other open bugs)
unspecified
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-17 20:22 UTC by Saibo
Modified: 2014-11-17 09:21 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Saibo 2011-11-17 20:22:32 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.
Comment 1 Mark A. Hershberger 2011-11-18 17:05:00 UTC
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?
Comment 2 Mark A. Hershberger 2011-11-18 17:34:10 UTC
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?
Comment 3 Mark A. Hershberger 2011-11-18 20:07:54 UTC
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.
Comment 4 Brion Vibber 2011-11-18 20:13:36 UTC
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?
Comment 5 Brion Vibber 2011-11-18 21:03:32 UTC
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.
Comment 6 Platonides 2011-11-22 17:55:32 UTC
There's no oggvideotools 0.9, latest version is 0.8a
Comment 7 Andre Klapper 2013-07-30 10:26:08 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links