Open lbestock opened 3 years ago
So you want to convert an avi or an mp4 into a flashy gif? And that gif should show in the file repository as a thumbnail?!? That sounds like an 80s website. Or do you want it to be shown when the file is clicked on?
There were websites in the EIGHTIES? Well no wonder I like the idea - it must appeal to me because of my antiquated generation. Because yup, that was more or less totally what I was thinking :)
90s. But there were already GIFs, I think. This image is much larger than our thumbnails. I only see a use in using the preview-image in the file edit dialog. The thumbnails are really a bit small. The gif also is still a rather large file as a thumbnail. So I would rather make a still of it with a little play button that indicates that one can click on it.
But out of the box I do not know of any way to convert a video into a gif. Where does even the video come from? Wouldn't it be something entirely different to begin with?
seems ImageMagick - which we use - could do that: https://gist.github.com/CoolOppo/f54d86abe726bb7827e6. I'll have a look into it.
The original video I got was an avi from Evan, who made it out of the Photoscan model. I turned it into an mp4 (an unnecessary step, but we might get things in a variety of formats) and used an online converter for the file here. I like the idea of a static image at thumbnail that has a little play button to indicate it can be set in motion in the file edit dialog. Another question lurking for me is what relation this has to the actual model. The FA video is a thing itself, created from the model, but not the model, which also needs to be stored in the file repository.
After meeting with Parker we thought some more visibly sexy features might be worth a think, the hooks for boys who like toys. Imagery is high on the list, and Lutz thought of graphs and pie charts from ceramics as a good one. Another idea has just occurred to me: gifs in the file repository preview. Many people create models and movies, and whether or not I think that is best archaeological practice is beside the point. Creating gifs from them for thumbnails or something that allows them to play in motion in the file repository preview, not just once you click on them, would be pretty sexy. I attach here one such file to show what I'm thinking of. This one is big (uh, and I don't think in the URAP file repository yet, but it should be). I am imagining finding this with an FA search (or, of course, a Room 5 search), right along with all the dayplans. But this one would be moving! And then definitely NOT going to the iPad - avi files should be file picked into oblivion. But could you make the thumbnail for such a thing a moving gif? (Github has rejected my avi, so I turned it into an MP4.) (Which is too big. Forget it. I will upload it to the File Repository where it belongs and you can find it there under FA, with a nice octopus whom I envision replaced.)