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

Support for large number of frames #17

Open
zackhsuan opened this issue May 18, 2016 · 3 comments
Open

Support for large number of frames #17

zackhsuan opened this issue May 18, 2016 · 3 comments

Comments

@zackhsuan
Copy link

Hi All

NSGIF is a great tool to convert videos. But I am having issues converting videos to gifs.
Usually, a gif does not need to be too sensitive on FPS. But when I am creating a gif file with frames more a certain number, eg. 100, the app gets crashed very easily. I found the reason is caused by the CGImageDestinationFinalize. When finalizing the images, I can see that it brings all image frames into memory and crashed the app.

Anyone has ideas to deal with large number of frames in conversion?

@sebyddd
Copy link
Member

sebyddd commented Oct 7, 2016

Have you tried tweaking your frame count / delay based on your video duration / no. of frames?

@zackhsuan
Copy link
Author

@sebyddd
Yes, I have. The thing is about converting a large number of frames could get crashes.
Even by tweaking delay, video frames could not result in reducing the number of frames sometimes. I suppose it is the limitation from CGImageDestinationFinalize method.

@sebyddd
Copy link
Member

sebyddd commented Oct 9, 2016

What iOS version are you experiencing this on. Please check #9.

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