Hi all
We do not propose a thumbnailer feature with videos. Might be a good feature for commons...
Why ?
I took a look on totem-video-thumbnailer which can do that.
Example: $ totem-video-thumbnailer -s 95 video.mpg thumb.jpg
Opinion about adding this feature ?
Best regards
Kelson
Emmanuel Engelhart wrote:
Example: $ totem-video-thumbnailer -s 95 video.mpg thumb.jpg
Opinion about adding this feature ?
Well, the usual concerns: * security * performance * compatibility * compartmentalizability
It'd be great to be able to run all this image stuff and other external bits in an isolated chroot environment, preferably not on the main web servers. Totem is a dependency hog, pulling in GNOME, GStreamer etc.
-- brion vibber (brion @ pobox.com)
On Sat, 28 May 2005 03:56:41 -0700 Brion Vibber brion@pobox.com wrote:
Well, the usual concerns:
- security
That's a big question. Has to be asked to wikimedia sysadmins. To my opinion, it is a political discussion.
- performance
kelson@camber:/tmp$ ls -la test.mpg -rw-r--r-- 1 kelson kelson 2561895 2005-05-28 17:36 test.mpg kelson@camber:/tmp$ totem-video-thumbnailer test.mpg test.jpg kelson@camber:/tmp$ ls -la test.mpg -rw-r--r-- 1 kelson kelson 2561895 2005-05-28 17:36 test.mpg kelson@camber:/tmp$ time totem-video-thumbnailer test.mpg test.jpg
real 0m0.915s user 0m0.782s sys 0m0.069s kelson@camber:/tmp$ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Celeron(R) CPU 2.40GHz stepping : 7 cpu MHz : 2400.478 cache size : 128 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr bogomips : 4751.36
- compatibility
What to you mean exactly ? Gstreamer is the official multimedia framework for gnome, and should be in the future the one choosed by KDE.
- compartmentalizability
Used by gnome, should be ok... (please don't troll) But that's just my opinion. It works fine with my videos.
It'd be great to be able to run all this image stuff and other external bits in an isolated chroot environment, preferably not on the main web servers. Totem is a dependency hog, pulling in GNOME, GStreamer etc.
Why not, should be more secure. But that has to be a software architect decision.
I propose to code the little patch to provide this feature. After that, A discussion might be started about how to make the feature more secure, faster, etc.
Emmanuel
--
wikitech-l@lists.wikimedia.org