gifski icon indicating copy to clipboard operation
gifski copied to clipboard

feature: support longer lists of input files

Open roycewilliams opened this issue 1 year ago • 3 comments

When using Gifski for (silly) purposes that require large lists of image files, they cannot be passed to Gifski by Linux shells, producing the usual "Argument list too long" error.

Alternatives might be things like "read all image files in this directory" or "read image filenames from this file".

roycewilliams avatar Oct 31 '23 08:10 roycewilliams

As a workaround for this, you can use the "no temp files" method for this:

ffmpeg -framerate 30 -pattern_type glob -i '*.png' -f yuv4mpegpipe | gifski -o "crushed.gif" -

MrDrMcCoy avatar Jun 03 '24 23:06 MrDrMcCoy

@MrDrMcCoy Interesting workaround! Is the glob expansion order predictable and consistent?

roycewilliams avatar Jun 08 '24 19:06 roycewilliams

I'm not sure on that, and have seen conflicting anecdotes in various places. However, there's another method that's completely unambiguous: https://superuser.com/a/1501040

MrDrMcCoy avatar Jun 08 '24 19:06 MrDrMcCoy