imgflo-server icon indicating copy to clipboard operation
imgflo-server copied to clipboard

Video: Support rendering out a single frame, as JPEG/PNG

Open jonnor opened this issue 9 years ago • 6 comments

Should seek to a specified frame. Probably might want to make that video_start_frame input. And probably should work when outputting video also. At which point probably should also add video_end_frame for completeness...

jonnor avatar Nov 17 '16 14:11 jonnor

Sounds like slightly overlapping functionality with https://github.com/the-grid/iconographer ?

bergie avatar Nov 17 '16 14:11 bergie

Another interesting thing would be to request a set of frames and get an animated gif containing those, kind of like how Google+ does video previews

bergie avatar Nov 17 '16 14:11 bergie

GIFs should generally die... For that usecase, extract frames as JPEG and it play forward with JS.

Or could output as mp4/webm, with a very low framerate. Problem is, you want to be able to control the timing in the UI, and not have to re-render everything if you change your mind about it.

jonnor avatar Nov 17 '16 15:11 jonnor

@bergie this does zero smarts, just obeys client request. iconographer is for the smarts.

jonnor avatar Nov 17 '16 15:11 jonnor

Fair point. So then implementing this feature (extracting given frame as jpeg) would already do the trick

bergie avatar Nov 17 '16 15:11 bergie

Yes, assuming the client knows how many frames long the video is :)

jonnor avatar Nov 17 '16 15:11 jonnor