[VE] GIF improvements and general fixes #148
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
IllusionMods/HSPlugins!148
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ve-fixes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The
gifskitool generates per-frame color palettes with mandatory dithering, which causes flickering in Discord. This PR adds an option to generate GIFs withffmpeg. In this case we need to runffmpegexternal process twice: first to generate a global color palette, then the image generation itself.It ended up a bit of a conditional mess because
ffmpegpalette generation andgifskido not have standard output. But I am keepinggifskibecauseffmpegcan't do per-frame palettes.External process standard output is now handled async + a few misc fixes.
Sorry. Shortly after starting the PR I decided it could use another option. It's ready for review now.
Looks good to me.