this post was submitted on 16 Aug 2023
26 points (100.0% liked)

Free and Open Source Software

17931 readers
61 users here now

If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] comicallycluttered@beehaw.org 5 points 1 year ago* (last edited 1 year ago)

Don't do it often, but if I need to pull a particular loop from a video or something, ffmpeg works perfectly fine.

You can use LosslessCut or Avidemux or something to trim the video to the few seconds you want to loop and then do the rest with ffmpeg. Technically, you can do it all with ffmpeg, but LosslessCut is just a nice GUI for that exact purpose (pretty sure it uses ffmpeg as a backend).

Actually, LosslessCut may be able to export to GIF, but I think I tried once and had issues with that. Could be misremembering.

Need to add in some flags and filters with ffmpeg, though, otherwise it just straight converts it to the absolute highest quality in the highest resolution and at the same source framerate, which leaves you with a massive file.

I'm not certain about editing actual GIF files. ImageMagick might help there, and I know you can throw a GIF into GIMP and make changes there, but it's really cumbersome.

For creating new GIFs entirely out of unique static images? No idea, unfortunately. Never done that, I don't think.