Record GIFs

  • ChargedCreeper
    8th Jun 2015 Member 3 Permalink

    I know there is R for record but it would be epic if it could save it as GIF.

    That way we could share our stuff via GIF images on like imgur as I did here. Was a bit of a process to do that though.

     

    http://i.imgur.com/zH3REln.gif

  • mniip
    8th Jun 2015 Developer 2 Permalink
    @ChargedCreeper (View Post)
    GIF encoding is a bit complicated, because it is somewhat easy to create enormously sized files, and there are only a few tools out there that optimize GIFs really well, for example, ImageMagick. I speak from experience because even with the most advanced quantization algorithms, GIFs produced by my program can still be compressed about 50% by imagemagick. Now, what's the point in copying imagemagick's source if you can just download is separately?
  • boxmein
    8th Jun 2015 Former Staff 0 Permalink
    @ChargedCreeper (View Post)
    It's really, and I mean really really easy to make either ImageMagick or ffmpeg produce a GIF for you. Like, one line in a command prompt. It looks something like
    ffmpeg -i *.png out.webm
    .

    In ffmpeg's case, you'd probably be better off making a WebM anyway, because of the tremendously better size and quality ratio.
  • mniip
    8th Jun 2015 Developer 0 Permalink
    @boxmein (View Post)
    ffmpeg's GIF capabilities suck if I'm not mistaken.
  • Catelite
    10th Jun 2015 Former Staff 0 Permalink
    ..That GIF image is also 14 MB. Yikessss.
  • ChargedCreeper
    10th Jun 2015 Member 0 Permalink

    Catelite:

    ..That GIF image is also 14 MB. Yikessss.

     

    Any suggestions on how I could optimize it? Its a GIF at about 40 FPS. Maybe I should try to use webm instead.

    Edited 2 times by ChargedCreeper. Last: 10th Jun 2015
  • mniip
    10th Jun 2015 Developer 0 Permalink
    @Catelite (View Post)
    @ChargedCreeper (View Post)
    >Download
    >Resize down to regular resolution
    >-coalesce -sample 50% -deconstruct
    >4.9 MB
    >Can be further compressed to 4.3 with -layers optimize, but that introduces fuzz that wouldn't be there if I had the original frame sequence
  • EE
    10th Jun 2015 Banned 0 Permalink
    This post is hidden because the user is banned
    Edited 3 times by EE. Last: 10th Jun 2015