Commons:Village pump
ffmpeg used for ogg thumbnails: new section
← Older revision
Revision as of 23:47, 25 March 2013
Line 905:
Line 905:
::Thanks for link, that is exaclty tool what i was looking for (though i can imagine integration straight to wikidata ui). I added the link to the [[Commons:Wikidata]] as well. --[[User:Jklamo|Jklamo]] ([[User talk:Jklamo|talk]]) 12:37, 25 March 2013 (UTC)
::Thanks for link, that is exaclty tool what i was looking for (though i can imagine integration straight to wikidata ui). I added the link to the [[Commons:Wikidata]] as well. --[[User:Jklamo|Jklamo]] ([[User talk:Jklamo|talk]]) 12:37, 25 March 2013 (UTC)
+
+
== ffmpeg used for ogg thumbnails ==
+
+
I've switched ogg thumbnail generation from oggThumb back to ffmpeg for better performance for large files (e.g. most videos) and to reduce the occurence of 504/503 errors. Internally, the former requires downloading the whole file from object storage to render each thumbnail whereas the later uses [[w:Byte serving|RANGE requests]] with the file's object storage URL. Performance could still use a great deal of improvement (a small though significant portion due to file storage being in a different data center). For the files I sampled, ffmpeg was as fast or faster (except for [[:File:¿Qué_es_Wikipedia%3F.ogv]]). Two of the files gave 503s with oggThumb that didn't with ffmpeg (though the client gets an error, the generation usually finishes server-side).
+
+
There might be some reduction in quality though. Any problems can go in bugzilla.wikimedia.org (TimedMediaHandler component). If there are quality issues, the change can be reverted or perhaps oggThumb can be used for smaller files but not for larger ones. One could also scale thumbnails from a pre-made large thumbnail. [[User:Aaron Schulz|Aaron Schulz]] ([[User talk:Aaron Schulz|talk]]) 23:47, 25 March 2013 (UTC)
http://commons.wikimedia.org/w/index.php?title=Commons:Village_pump&diff=93280879&oldid=93277904