GNOME Bugzilla – Bug 621802
Add a --no-sprocket-holes option
Last modified: 2011-02-26 01:42:54 UTC
Created attachment 163848 [details] [review] Add --no-sprocket-holes option Attached is a patch that adds a --no-sprocket-holes option so thumbnails can be generated without the sprocket holes down the sides.
Remind me what this was for.
I think it was so that the output of the thumbnailer could be used in scripts (processed further to produce something weird and wonderful), but I could be wrong.
so that the totem thumbnailer can be used to just generic plain thumbnails of videos when --raw can't be used because --raw doesn't scale it so you'd use totem-video-thumbnailer --size=256 --no-sprocket-holes file.avi I guess the other way would be to make --raw work with --size
The patch looks good to me. Bastien, can this get merged?
No, I'd rather make --raw work with --size.
commit adc93d1a1046ac5e939bf6e0a29088476201435e Author: Bastien Nocera <hadess@hadess.net> Date: Thu Sep 9 13:14:22 2010 +0100 Make it possible to use --raw along with --size So that you can save a thumbnail of a video at a particular size, with no borders, but still with resizing. https://bugzilla.gnome.org/show_bug.cgi?id=621802
This doesn't work as sprockets are always added in scale_pixbuf() if the size > 256.
Created attachment 171079 [details] [review] Patch
Committed, after fixing the whitespace use. commit 83a6792f80a8de73c3bb2dd13bc44e16a22039b7 Author: Ross Burton <ross@linux.intel.com> Date: Sat Sep 25 09:08:15 2010 +0100 Check if large thumbnails need borders Otherwise large (>256) raw thumbnails got sprockets anyway. https://bugzilla.gnome.org/show_bug.cgi?id=621802
--raw --size 512 is giving me 1000px+ wide thumbnails for HD videos.
commit feeef30d80a298d99c6db34aff9657debb0ab725 Author: Bastien Nocera <hadess@hadess.net> Date: Sat Feb 26 01:42:00 2011 +0000 thumbnailer: Make --size XX --raw work https://bugzilla.gnome.org/show_bug.cgi?id=621802