Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: support longer lists of input files #316

Open
roycewilliams opened this issue Oct 31, 2023 · 3 comments
Open

feature: support longer lists of input files #316

roycewilliams opened this issue Oct 31, 2023 · 3 comments

Comments

@roycewilliams
Copy link

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".

@MrDrMcCoy
Copy link

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" -

@roycewilliams
Copy link
Author

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

@MrDrMcCoy
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants