简体   繁体   中英

Grab random frames from video & make a gif image - Java

I want to know if it's possible to grab random frames from a video and then "stick" these frames together to make a gif image?

I intend to achieve the above said idea by programming in Java.

What should I use? (I have no previous experience in programming involving videos, although am proficient in Java)

Java Media Framework使您可以执行此类操作

Here's some source code using Xuggler that lets you get the raw images from a video. Saving to an image from Java is then pretty straightforward.

Sample Code .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM