From: timduru <ti...@ti...> - 2005-04-13 17:25:38
|
> Is there's a unix program to take the first frame of a movie file, and make > a thumbnail out of it? transcode can do that for basic video types. It would depend on what video libs you have compiled or not though. mencoder could be another option, but I don't really want to install mplayer/mencoder with all the video libs and codecs on a production server though :) > If not, I noticed that Picasa can do that (not automated, of course) in > windoze, and I'm wondering about putting those thumbnails into some > directory and getting ids to recognize those as the avi/etc thumbnail files, > instead of showing the AVI/movie logo? I usually just drop a .jpg in the same directory than the movie file, corresponding to one or more frame captures from the movie file. But yeah it'd be good to get IDS to display the thumbnail instead of the default icon. So I've made a -Tim6 version that does what you want. Ie for the files that are not images, let's say myvideo.mov Instead of showing the default icon for that file type, it first checks to see if a thumbnail has been dropped manually in the image-cache corresponding directory with a name myvideo_disp.jpg. If it's there it displays the file as the thumbnail, if not it falls back to the old behaviour. Be careful if you clean your imagecache though, the file you dropped will go away of course.. Maybe I'll see later about the album icon too.. |