Last modified: 2013-10-11 20:04:30 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 T49465, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47465 - OGV thumbnails can have artifacts (squares)
OGV thumbnails can have artifacts (squares)
Status: PATCH_TO_REVIEW
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
unspecified
All All
: Low minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
https://commons.wikimedia.org/wiki/Us...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-21 01:36 UTC by Smallman
Modified: 2013-10-11 20:04 UTC (History)
4 users (show)

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


Attachments
Screenshot of the gallery of recently uploaded files for Open Access Media Importer Bot showing the corrupted thumbnails. (2.45 MB, image/png)
2013-04-21 01:36 UTC, Smallman
Details

Description Smallman 2013-04-21 01:36:07 UTC
Created attachment 12152 [details]
Screenshot of the gallery of recently uploaded files for Open Access Media Importer Bot showing the corrupted thumbnails.

Some of the .ogv media uploaded by the Open Access Media Bot on the commons (https://commons.wikimedia.org/wiki/User:Open_Access_Media_Importer_Bot) has corrupted thumbnails, though the media plays fine in FF. The corruption is an overlay of grey squares throughout the thumbnail.

Some media which has corrupted thumbnails:
https://commons.wikimedia.org/wiki/File:Fluxes-of-Water-through-Aquaporin-9-Weaken-Membrane-Cytoskeleton-Anchorage-and-Promote-Formation-of-pone.0059901.s003.ogv

https://commons.wikimedia.org/wiki/File:Functional-Impairment-of-Microglia-Coincides-with-Beta-Amyloid-Deposition-in-Mice-with-Alzheimer-pone.0060921.s004.ogv

https://commons.wikimedia.org/wiki/File:Low-Volume-Toolbox-for-the-Discovery-of-Immunosuppressive-Fungal-Secondary-Metabolites-ppat.1003289.s002.ogv
Comment 1 Andre Klapper 2013-04-22 08:20:54 UTC
I wouldn't call these thumbnails "corrupted", there are some thumbnail compression artifacts though.

After downloading two media files, one with a "normal" thumbnail and one with a "corrupted" one, I have the same problem on my local computer (for the "corrupted" one, totem-video-thumbnailer does not create a thumbnail at all).

Is there a reason to assume that the software on the servers is faulty, instead of the video file?
Comment 2 Andre Klapper 2013-04-22 09:49:00 UTC
Jan: Is there anything in this report that could be fixed on our side?
Comment 3 Smallman 2013-04-23 00:44:07 UTC
The videos play fine in Firefox 20 and VLC, so it appears to be a thumbnailer issue.
Comment 4 Jan Gerber 2013-04-23 09:57:38 UTC
This is a limitation/bug of libav/ffmpeg regarding ogg theora videos with large gaps between keyframes. We might be able to tune this but some videos will fail unless libav/ffmpeg is fixed to decode from the previous keyframe.
Comment 5 nils+bugzilla.wikimedia.org 2013-09-27 09:14:52 UTC
Developer of the Open Access Media Importer here, the libav/ffmpeg situation is worse than you think. However, there are thumbnail solutions that work, like the Ogg Video Tools <http://www.streamnik.de/oggvideotools.html>.

More at <https://github.com/erlehmann/open-access-media-importer/issues/105>.
Comment 6 Jan Gerber 2013-09-27 11:17:37 UTC
One way to improve this would be to force more keyframes. currently TMH has a hard limit of how fare back it looks for the previous keyfr
ame.
Another option would be to switch  Open Access Media Importer from Ogg (Theora/Vorbis) to WebM (VP8/Vorbis)
Comment 7 nils+bugzilla.wikimedia.org 2013-09-27 11:48:53 UTC
Looking at the code, it already tries to use OggThumb. As I OggThumb does not produces garbage thumbnails, why not just install it?

<https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FTimedMediaHandler.git/83fc3186a3aabce5406814c29294f6bc2d90ca54/TimedMediaThumbnail.php>
Comment 8 Gerrit Notification Bot 2013-09-27 11:56:04 UTC
Change 86243 had a related patch set uploaded by J:
Fix thumbnails for low framerate Ogg Theora Videos

https://gerrit.wikimedia.org/r/86243
Comment 9 Jan Gerber 2013-09-27 11:57:49 UTC
OggThumb is no longer used since videos are accessed via http to extract frames and OggThumb does not support that.
Above patch calculates the seek offset based on framerate and fixes thumbnails for the videos linked above.
Comment 10 Gerrit Notification Bot 2013-10-11 20:04:30 UTC
Change 86243 merged by Aaron Schulz:
Fix thumbnails for low framerate Ogg Theora Videos

https://gerrit.wikimedia.org/r/86243

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


Navigation
Links