You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using gifski as c library to assemble GIF file from frames.
Some of the emoj files are using different frame durations for each frame.
I can achieve this by correctly calculating the PTS for each frame.
But the impl cannot handle the case if the last frame want to use a different duration.
I saw in the generated GIF, the duration of last frame is PTS[n] - PTS[n-1]
Seems to be a limitation of this API.
Any idea to fix this?
Thanks.
The text was updated successfully, but these errors were encountered:
Yes I thought the same way. Just came to see if you have better recommendation.
So, based on the test result, the workaround is to call gifski_add_frame_rgba() twice, with PTS increased by half of the frame duration each time.
Thanks a lot for your work on the great GifSki library.
I am using gifski as c library to assemble GIF file from frames.
Some of the emoj files are using different frame durations for each frame.
I can achieve this by correctly calculating the PTS for each frame.
But the impl cannot handle the case if the last frame want to use a different duration.
I saw in the generated GIF, the duration of last frame is PTS[n] - PTS[n-1]
Seems to be a limitation of this API.
Any idea to fix this?
Thanks.
The text was updated successfully, but these errors were encountered: